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

9
votes
0answers
5k 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, ...
3
votes
0answers
313 views

How to merge MP4 files with different bitrates?

I want to merge two or three MP4 videos with MPEG-4 AVC video codec and MP3 (sometimes MP3 Surround) audio codecs. Both audio and video can have different bitrate. If it will be possible, without ...
3
votes
0answers
1k views

create video from jpg images using ffmpeg

I want to make short timelapse video using ffmpeg under ubuntu 12.04 LTS. I have a folder containing all images with names DSC_0000.jpg DSC_0001.jpg and so on. I found this question ffmpeg: create a ...
3
votes
0answers
1k views

FFMPEG webcam stream to Youtube drops frames

I need to do a live videostream on Youtube using a Logitech HD Pro Webcam C920. My OS is Fedora 20, and the command I am trying to use is: ffmpeg -f v4l2 -i /dev/video0 -flags +global_header -ac 1 ...
3
votes
0answers
129 views

Combine/concatenate multiple MP4 files, making each file into a chapter

I am looking to use handbrake to combine 43 short mp4 files into one larger file. However, I want to ensure that the start of each file is recognized as a chapter. I'd be using vlc to play the file.
3
votes
0answers
681 views

ffmpeg minimal requirements configuration for encoding and decoding h264 files

I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264. So far my command line configuration is : ./configure --disable-yasm --disable-everything ...
3
votes
0answers
194 views

Why is the resulting file unplayable when I use FFMPEG to convert a MP4 video to ASF?

I want to convert an .mp4 file to an .asf file, but I need to keep the size of the file below 150 mb (the server I need to upload the file to can only take files under 150 mb). Basically I want to ...
3
votes
0answers
114 views

FFmpeg streaming: problems with device name

I'm trying to stream web camera and microphone in Windows using FFmpeg. First, I get my devices names (to specify -i parameter in streaming command) using a command like this: ffmpeg -list_devices ...
3
votes
0answers
179 views

FFmpeg & iPhone: don't display audio language button

I'm creating an MP4 file with FFmpeg 1.1.1, using life and aevalsrc to generate some test video and audio: ffmpeg -f lavfi -i life -f lavfi -i aevalsrc=0 -frames:v 750 life.mp4 If I play it on an ...
3
votes
0answers
344 views

Ffmpeg sync error, first image showing really fast

I want to converting my images with mp3 to videos... but first slide is showing up really fast. I want to each slide duration 5-7 seconds or so RAW material MP3 Files My list Images FFmpeg ...
3
votes
0answers
606 views

Setting font size of Closed Captions on iPhone

Does anyone know if it's possible to control the font size on videos played in the built-in iPhone video player? The subtitles (or "Closed Captions") that are there by default are rather small. None ...
3
votes
0answers
556 views

ffmpeg to resize and concatenate multiple videos

I need to perform 3 operations on a source video (in sequence) 1 resize the source video from 320X 240 to 640X480 (200%) 2 add another video file before 3 add a 3rd video after In addition I ...
3
votes
0answers
2k views

Avconv increases file size

I am using the version of avconv in Ubuntu 12.04 to archive videos. I would preferably use some kind of lossless video compression (e.g., huffyuv or FFV1), but using the original video stream (copy ...
3
votes
0answers
4k views

How to convert a mpeg4-aac video to mpeg-ts using MEncoder?

I know this can be done using FFMpeg and I have done it. The only problem here was that FFMpeg actually tries to "encode" the file while converting to mpeg-ts which I don't want. i.e. I just want to ...
3
votes
0answers
503 views

Is there a way to make FFmpeg seek faster to an end of file on a network share?

I'm using ffmpeg to generate image previews from flv videos. The OS is Debian 5 and it's the apt version of ffmpeg. The flv files are located on a NAS share that is mounted as NFS. Getting the ...
2
votes
0answers
36 views

IE will not seek audio/webm file

I'm trying to create a WebM audio only that will playback and seek in all browsers using the HTML5 tag and mime type audio/webm. I've found workarounds to get this to work in all browsers, but they ...
2
votes
0answers
107 views

FFMPEG encoding settings for 1080/60fps/h264 - framedrops

I want to use latest ffmpeg to encode set of JPG frames to 1920x1080 60fps h.264 movie. I'm looking for set of parameters that will allow smooth playback of encoded video on fairly strong PC machines ...
2
votes
0answers
69 views

Pipe issue with ffmpeg

I have been using the following ffmpeg command successfully to extract the first frame of an mp4 file: ./ffmpeg -i video.mp4 -vframes 1 -y frame.bmp However, when I try to use the below pipe ...
2
votes
0answers
421 views

IE11 not playing mp4 file

I am using ffmpeg to convert a freely available public RTSP stream to a mp4 file. I can play the file quite well in Chrome using a standard HTML5 video client on a windows 7 machine but not in IE11. ...
2
votes
0answers
244 views

Packets are not in the proper order with respect to DTS when using libx264 for video

I'm trying to use the following command to transcode one stream to a different format and send it over to RTMP server for live streaming. This is the command I am using: ffmpeg -f mxg -i ...
2
votes
0answers
192 views

I got a green overlay in my video when using multiply blend mode in ffmpeg

I´m trying to blend two videos with the multiply blend mode. But I got a green overlay in the resulting video. This is a image where are one frame of each input video and one frame of the resulting ...
2
votes
0answers
277 views

ffmpeg: change alpha channel of a showwaves filter

I've been trying to figure this issue out for a few hours and I can't seem to find any solution. I'm creating a video from an .mp3 and some images with the following command fmpeg.exe -y -i ...
2
votes
0answers
89 views

How to enable FORWARD seek in ffserver?

I found an ogv file on Internet which when I browse it with FireFox, I can seek to forward on it. I download that file exactly into my server via wget. Then I streamed it via ffserver with following ...
2
votes
0answers
89 views

ffmpeg x11grab a single window

Is it possible with ffmpeg grab a window that is minimized or that not has the focus (there is another window over but ffmpeg records only the window which is below)? With a command like ffmpeg -f ...
2
votes
0answers
2k views

live stream with ffmpeg and IP camera

I'm reading a live stream from a DKSEG IP camera, but the results are not good at all ... Here is the command line used for this : ./ffmpeg -i ...
2
votes
0answers
265 views

Segmenting video and encoding segments individually

I'm trying to build something like server farm for video encoding (encoding for http live streaming (segmented MPEG-TS)). So I need to split large video at master node, transfer each segment to nodes ...
2
votes
0answers
603 views

Using ffmpeg, can I burn in subtitles directly from an mkv subtitle track instead of a subtitle file?

I have an mkv with multiple subtitle streams. I know I can use mkvextract to extract one of those subtitle streams to a file, for example, sub.srt. I can then burn those subtitles into the new video ...
2
votes
0answers
393 views

How do I re-encapsulate (passthrough) QuickTime MOV to MP4 with FFMPEG without video stutter?

I've been trying to re-encapsulate some videos from QuickTime to MP4 with ffmpeg, but the results are somewhat messed up. The codecs are all MP4 compatible so that all works fine. The problem is that ...
2
votes
0answers
181 views

No video is written in for some part of video as the segmentation from FFmpeg

I am segmenting a 20 minutes long video to hundreds of small clips . The command is like ffmpeg\\ffmpeg -i nx_1.avi -ss 399.37 -t 1 ka1_2.avi The ffmpeg is in a subfolder. It works very well for ...
2
votes
0answers
797 views

optimise FFMPEG live stream THUMBNAIL

After testing many possibilities, I have a perfect command line for creating thumbnails from a live stream: ffmpeg -i rtmp://srvIp/h264.stream -r 1 -an -updatefirst 1 -y thumbnail.jpg It refreshes a ...
2
votes
0answers
369 views

Converting series of images with ffmpeg results in black video

I've just downloaded ffmpeg since it seems to perfectly match my needs (make a video from a set of pictures). I'm currently playing around with some examples just to get started and there's something ...
2
votes
0answers
84 views

FFMPEG Stream Definition - changing number of files

I have a BD Rip in an MKV which I am trying to remux with ffmpeg into a MOV container. So far am having some good success, but I am trying to enhance the process a little by including a 2 channel AAC ...
2
votes
0answers
238 views

concat subsections of a video using ffmpeg

I would like to take several subsections of a video and concatenate them using the concat ffmpeg filter. It's just like the the example in the FFmpeg documentation, except that all of the clips are ...
2
votes
0answers
729 views

Alternatives to Video4Linux2 for grabbing from webcam (Using FFmpeg)

I'm getting (two alternating) errors following this guide for streaming from a Raspberry Pi. Are there any other grabbers besides V4L2 that I can use with ffmpeg? Or are there any other streaming ...
2
votes
0answers
821 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 ...
2
votes
0answers
481 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 ...
2
votes
0answers
130 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 ...
2
votes
0answers
423 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 ...
2
votes
0answers
310 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 ...
2
votes
0answers
297 views

Conversion of sequence of PNGs to movie using ffmpeg on Fedora 18

I have a series of PNG images called Temp01.png, Temp02.png, ..., Temp99.png which I am attempting to convert into a movie using ffmpeg. I am using the command: ffmpeg -i Temp%02d.png -f avi -vcodec ...
2
votes
0answers
416 views

Keyframe extraction with ffmpeg fails

I'm trying to extract key frames from video file using command: ffmpeg -i newtape.mp4 -an -r 1 -y -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync 0 -ss 00:01:00 thumbnail_%09d.jpg It starts but ...
2
votes
0answers
399 views

Prepend AAC file to MP4 causing audio to get out of sync

I have an application that handles the normalizing and combining of audio and video files from many different sources. All incoming audio is normalized as follows: ffmpeg.exe -i ...
2
votes
0answers
281 views

FFMpeg and Handbrake

I have a brilliant preset saved in Handbrake but now I need to be able to use that preset in FFMPEG. Is there an easy way to translate or would I have to break apart the commands one by one?
2
votes
0answers
368 views

Stream live audio with noise filter in Linux

I need to strip the noise from an audio source, but it needs to happen live. The resulting voice doesn't need to sound perfect, it just can't contain too much noise. I've read up about sox, but it ...
2
votes
0answers
831 views

Playing and recording a live stream from another computer webcam using VLC/FFmpeg

I was trying lately to set a video server on one machine and play it in a differen machine, it works with me.. but the problem is that it always stuck and become jammed in the middle .. and it is very ...
2
votes
0answers
322 views

ffmpeg/avconv crashes when video frame isn't expected size

I'm capturing my webcam using ffmpeg/avconv, but I keep running into this problem: The v4l2 frame is 828212 bytes, but 829440 bytes are expected And then it crashes. It should just skip that frame, ...
2
votes
0answers
658 views

FFmpeg blur filter not working at all

I am trying to blur out the video using FFMPEG by following there documentation, but it is not working at all, all it do moves the few frames forward (8 sec video became 10 sec video and so blank ...
2
votes
0answers
383 views

Animated GIF as an overlay in FFMPEG?

I have an animated gif that I wanted to loop in the bottom corner of a video, unfortunately when added as an overlay in ffmpeg it does not loop and only shows the first 'frame'. Is there a way of ...
2
votes
0answers
382 views

problems encoding 1080p60fps MTS files with ffmpeg to DNxHD proxy; plays too slow in NLE compositor window.

I was advised to encode my HD files with ffmpeg to DNxHD proxy with 220M bitrate rather then 45M so the image doesnt have too much artifacts. I reduced the framerate to 29.97 fps when I encoded the ...
2
votes
0answers
2k views

Stream video with FFMPEG, “Output file does not contain any stream”

I would like to stream an H.264 encoded elementary stream wrapped in RTP headers to a port using FFMPEG. I have tried the following command lines to no avail... ffmpeg -i 1080p_1.h264 -f rtp -vcodec ...