Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

2
votes
0answers
155 views

Fixing ffmpeg latency accrued over time

I have ffmpeg/ffserver running in the following setup: 10.1.2.2 captures from video capture cards (16 channels) and streams them to an ffserver as mpeg1video 10.1.1.1/10.1.2.1 (two NICs) hosts the ...
1
vote
1answer
92 views

ffmpeg udp audio livestream

Having trouble getting the following command to stream audio through udp, is there a parameter missing? ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f mpegts udp://10.255.255.255:10000?pkt_size=1316 The ...
1
vote
1answer
148 views

Why does FFmpeg decode a raw YUV420p video?

Why does FFmpeg decode a raw video in the YUV420 planar 8 bits pixel format, when it's also encoding the video using the same YUV420p pixel format? I've ran a couple benchmark tests encoding only raw ...
0
votes
0answers
57 views

Ffmpeg Convert Speed

I convert movie(720p to m720p) with ffmpeg slow preset. I have two server. Having E-1230-processor. 7 frames per second can process. I have tried with Amazon Web Services EC2. There is the same speed. ...
1
vote
1answer
79 views

FFmpeg -map 0 fails with error “Number of stream maps must match number of output streams”

I'm trying to use Ubuntu's ffmpeg to convert a file to MKV while copying all the video and subtitle streams, but converting all the audio streams to AC3. Using this command: ffmpeg -i input.mkv -map ...
1
vote
1answer
452 views

ffserver configuration to handle a large webm stream

I'm setting up an ffserver for CCTV streams with 16 cameras - all the individual channels are streaming well with a config like: <Feed 0.ffm> File /tmp/0.ffm FileMaxSize 5M ACL allow 10.1.2.2 ...
0
votes
1answer
78 views

What does ffserver's AVOptionVideo cpu-used option do?

I can't find this anywhere, but most ffserver config files I see have it included - what does this do: AVOptionVideo cpu-used 0
2
votes
0answers
100 views

Multiple effect overlays with FFmpeg

This subject was discussed here before but my problem is a little different. I have a transparent tiff sequence with sequential numbers that I wish to overlay on top of another tiff sequence in order ...
3
votes
1answer
144 views

How do you combine multiple ffserver streams into a grid in real time?

I'm trying to set up a CCTV system with ffmpeg/ffserver/zoneminder and want a nice looking 4x4 grid without all the Java applet borders and window dongles on it, just a full screen 4x4 grid. I've ...
2
votes
0answers
90 views

Installing ffmpeg (namely fdk-aac) on cPanel server causes issues with perl threads

Basically, I'm trying to install FFMPEG on a cPanel server. I'm able to get everything installed and working (tested using ffmpeg -v) except for libfdk-aac. I can do the git clone and everything ...
1
vote
0answers
32 views

Concatenate two files with ffmpeg

How can I concatenate http://dl.dropbox.com/u/16285637/video/out1.ts with http://dl.dropbox.com/u/16285637/video/out2.ts without too much quality loss ? I have tried the following command, whose ...
3
votes
0answers
324 views

FFMPEG Fade In Watermark Only

I'm trying to watermark a video using FFMPEG and would like the watermark to fade in. The following code adds the watermark however the fade in effect is applied to the entire video and not just the ...
1
vote
1answer
76 views

How can I fit a video to a certain size, but don't upscale it with FFmpeg?

I need to fit videos to 640x360 (the maximum my phone's player can handle), while also preserving aspect ratio, but I also want the video to be unchanged if it is smaller than 640x360 (no point in ...
3
votes
3answers
567 views

Live streaming using FFMPEG

This is rather a simple question, but I cannot find the answer. I need to stream from a capture device to a server, and then have FFMPEG on the server re-code the stream suitable for HLS. But how do ...
2
votes
1answer
220 views

how to record/stream multiple audio output from a single input?

This is the command I am currently using to stream live audio under the Raspbian distro: ffmpeg -f alsa -ac 1 -i hw:1 -ar 44100 -f flv rtmp://10.255.11.53/ The functionality I am looking for is ...
1
vote
0answers
50 views

ffmpeg cpu stuck at 99%

I get this sometimes when using ffmpeg Stream mapping: Stream #0:0 -> #0:0 (mjpeg -> mjpeg) Press [q] to stop, [?] for help Input stream #0:0 frame changed from size:559x1425 fmt:yuvj420p ...
0
votes
0answers
18 views

FFMPEG: How to convert 1080p to mp4 without losing quality [duplicate]

I download a lot of 1080p video files and have to convert them to mp4 to stream to my TV. When I do the conversion the quality is horrible, the videos are barely viewable. How can I convert them ...
0
votes
0answers
72 views

If I want to create a GUI for FFMPEG for screencasting then what do I need to learn? [closed]

I use FFMPEG all the time for recording my actions on Ubuntu 12 and Fedora 17. I dont like using command line much. If I want to create a GUI which will allow me to record, pause the recording, or ...
0
votes
1answer
93 views

Overlay frame number with ffmpeg starting at 1

I managed to encode a video using ffmpeg and to overlay each frame with the frame number using the drawtext filter. My problem was that using the "text=%{n}" option resulted in the first frame being ...
0
votes
1answer
91 views

Using FFmpeg filter without video conversion

Does anyone have an idea of how I can put an image mask over the video without changing the audio & video codec? I'm making different media files for testing purposes and I want control over my ...
2
votes
0answers
190 views

how I do streaming with raspberry by rtp?

I want to cast my webcam by rtp with raspberry pi. I've tried this: ffserver -f /etc/ffserver.conf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 –f rtp ...
0
votes
1answer
114 views

FFMpeg won't encode to Webm when adding a watermark using -vf

I am successfully adding an overlay with x264 and -vf with this command: WORKING x264 ENCODE WITH WATERMARK: ffmpeg -i /private/youtube/$i -acodec aac -ac 2 -strict experimental -vf ...
0
votes
1answer
110 views

How to make FFmpeg continuously write progress on one line

When encoding FFmpeg prints a new line every second with the progress, example frame= 31 fps=0.0 q=0.0 size= 152kB time=00:00:00.72 bitrate=1726.3kbits/s frame= 59 fps= 57 q=0.0 size= ...
1
vote
1answer
370 views

Explanation of x264 tune

Running this command ffmpeg -i a.mp4 -tune b c.mp4 reveals the possible tune values for x264 and in turn FFmpeg [libx264 @ 0000000002167100] Possible tunes: film animation grain stillimage ...
0
votes
1answer
433 views

How can I set a h.264 profile level with ffmpeg?

I have a movie (m4v/h.264/AAC) which plays fine on my Mac but I recently discovered that it wont play on my Apple TV3. After looking at the properties of this movie file I see that it has a profile ...
0
votes
0answers
105 views

Linux - Increase volume for HD mp4 files

I am converting videos using ffmpeg. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when converting ...
2
votes
0answers
260 views

Streaming mp4 with ffmpeg

I need to create a feed that has two streams - webm and mp4 - so that it can be compatible on all HTML5 video players. The webm stream works perfectly. However, when trying to access the mp4 stream, ...
2
votes
0answers
93 views

Use FFMPEG for Video to Frames, then Frames to Video with Original Sound

Is there a way to use FFMPEG to decompose a video into individual image files, and then reassemble those image files into a video with the audio from the original video in sync with the new video ...
1
vote
1answer
107 views

FFmpeg split video doesn't start at 0 seconds

When splitting video, it's not starting from the 0th second. I followed the syntax I read in many posts, e.g.: ffmpeg -ss 00:00:00 -t 00:00:15 -i 'Wildlife.wmv' '1.wmv' ffmpeg -i 'Wildlife.wmv' -ss ...
0
votes
0answers
285 views

MP4Box h264 merge video files

I combine video with mp4box. Merge video corrupted.The first video correctly but others are corrupt. Sound properly, the video is corrupted. I know very little english :) Sorry... MP4Box merge code: ...
2
votes
1answer
177 views

What's the ffmpeg command to extract WAV from mpegts pcm-bluray audio?

So I've tried but I can't seem to find the right ffmpeg options to extract the pcm_bluray audio from a mpegts and output a WAV. Here's ffmpeg's info on the source file: Input #0, mpegts, from ...
0
votes
1answer
93 views

FFMPEG Conversion Options

So, I've got some video files I want to convert so they match the formatting on another video file. I've got the format data (from ffprobe) for the video I want to match but I'm not sure how to use ...
4
votes
1answer
239 views

FFmpeg - unable to play stream

I used the following command to attempt to stream from a file with ffmpeg: ffmpeg -re -i GunGrave\ -\ 03\ -\ Rain.webm -c copy -f asf rtmp://127.0.0.1:8090/test.asf This produced the following ...
3
votes
0answers
186 views

Accurate and reliable movie editing with avconv

I'm trying to perform movie editing in an automated way with avconv. It is made in two steps: extract some parts of an input movie: concatenate the parts to form an output movie: I tried some ...
1
vote
1answer
204 views

How do i convert a transparent .mov-file to an mp4 file overlayed on a background-image using FFMPEG

I'm trying to convert a mov file with the following specs: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov': Metadata: major_brand : qt minor_version : 537199360 ...
1
vote
0answers
26 views

How do i convert a transparent .mov-file to an mp4 file overlayed on a background-image using FFMPEG [duplicate]

I'm trying to convert a mov file with the following specs: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov': Metadata: major_brand : qt minor_version : 537199360 ...
1
vote
1answer
60 views

How do I create a bat file to convert video files in a folder using ffmpeg

I would like to create a bat file that will go to a certain folder that contains video files, look for any files that are not .avi and convert them to .avi using ffmpeg. I don't need, and don't want, ...
0
votes
1answer
176 views

ffmpeg - connection refused

I'm attempting to stream from a file, using the following command: ffmpeg -re -i video.webm -c copy -f webm rtmp://localhost:8090/stream However, I get the following error: TCP connection to ...
0
votes
1answer
116 views

ffmpeg Live Input MP4 Error

Currently I have a mic and a webcam connected to my computer. I am running ffmpeg on CentOS 6.3. When I try to record a video without audio by: ffmpeg -y -f video4linux2 -t 15 -s 640x480 -r 25 -i ...
1
vote
1answer
338 views

FFMpeg convert jpeg images to video

I'm attempting to take a set of images taken at 1-second intervals to form a timelapse video. I figured this would be easy with ffmpeg, but i'm running into cryptic errors. All the images are yuv420 ...
3
votes
3answers
380 views

ffplay - how to play together separate video and audio files

So I am able to transcode separate video and audio files into one movie file, like so: ffmpeg -ss 0 -lowres 0 -r 24 -i dcp/picture.mxf -vf "xyz2rgb" -i mov/sound.wav -ac 2 -ab 256k -vb 3000k -t 10 -y ...
0
votes
1answer
324 views

Converting from MXF to MPEG format with FFmpeg

We're trying to convert .mxf video to .mpeg on ffmpeg-0.9.2 and looks like 0.9.2 version doesn't support .mxf conversion to .mpeg. We don't want to switch on latest 0.11 version of ffmpeg as the ...
1
vote
1answer
205 views

Using CRF and setting a maximum bitrate with x264 in FFmpeg

I am trying to transcode a video to H.264/MP4. I am using the crf = 20 option but according to the requirements I also want to limit the maximum bitrate to 3 MBit/s. I was trying to cheat though it ...
3
votes
2answers
266 views

Using FFmpeg to locate moov atom

I have a library of videos, all of which should have been adjusted for web-streaming by putting the moov atom ahead of the rest of the video. This allows playback to begin before the client has ...
3
votes
1answer
114 views

iPhone recorded videos getting rotated on Windows systems

I am recording videos on iPhone and uploading them to my Linux server. Users can see these videos on website. If users are seeing videos on mac or iDevices the video is looking fine but when users are ...
1
vote
1answer
103 views

ffmpeg doesn't use maximum cpu power

I purchased two new cpus E5-2650: 8c * 16t per core = 128 * 2 = 256 - max number of threads but it looks like ffmpeg doesn't use maximum power of cpu even though i'm running it with -threads 0. ...
0
votes
1answer
267 views

How to force the first frame to be key-frame?

I want to encode after seeking to a certain position, and i want to make the first frame a key-frame, here the command i used: ffmpeg -ss 300 -i howimet.mp4 -acodec libfaac -ar 48000 -ab 128k -ac 2 ...
0
votes
1answer
56 views

Create zero-length file with custom extension

For a class I am creating a custom codec called .utah. The whole idea is to immerse ourselves in a large and unfamiliar code base. So far this has been very fun, and to start we have created a .utah ...
0
votes
1answer
139 views

FFmpeg can't convert MOV to FLV

When i try to convert a .mov file to .flv i get this type of output. I get error Invalid sample format '(null)' Error opening filters!. When I convert .avi or .mp4 I get no errors. I'm on ...
1
vote
1answer
166 views

How to fetch frames from a video without losing some of them?

I created an AVI file from 30 PNG images, 15 frames/second: ffmpeg -i %02d.png -r 15 video.avi But when I tried to get the images back from the AVI: ffmpeg -i src.avi %02d.png I only got 19 ...

1 2 3 4 5 14