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

5
votes
0answers
198 views

Get webrtc-like latency with ffmpeg?

I've been using this between Chrome and my phone: http://www.webrtc.org/demo And the latency is really good - less than 1 second. I've been trying to replicate that on my computer with no success. ...
4
votes
0answers
2k 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 ...
4
votes
0answers
179 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
84 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 ...
3
votes
0answers
587 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

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
219 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
126 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
201 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
384 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
672 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
638 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
549 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
29 views

Copy creation_date metadata when converting video with ffmpeg

I want to convert a bunch of old videos to H.264 to save space, but ffmpeg always drops the creation date, no matter what fancy -map_metadata variations I use. This is obviously a huge dealbreaker for ...
2
votes
0answers
86 views

ffmpeg issue creating video on Linux

I have the following ffmepg command that works perfectly on my local server running windows but when I try on my Linux server I get the following issue: The video.mp4 is getting created but it stops ...
2
votes
0answers
75 views

ffmpeg does not work but VLC does

I am trying to read a streaming (http://150.161.93.174:8080/stream) using ffmpeg The streaming works perfectly when I try it in VLC. But in ffmpeg I get an error: http://150.161.93.174:8080/stream: ...
2
votes
0answers
248 views

Cutting videos at exact frames with ffmpeg select filter

Instead of using -ss and -to seeking parameters, which are seems not very accurate, can I cut videos for given frame numbers? For example; ffmpeg -i video.webm -startingframe 80 -endingframe 560 ...
2
votes
0answers
90 views

FFmpeg cuts off ~50ms when I extract+convert audio from video

I want to extract the audio stream from many .MOV files with ffmpeg. The goal is to have output files with small file size and perfectly equal sound to the input file. Currently I'm using this ...
2
votes
0answers
139 views

F4V to MP4 via FFMPEG (Bitrate viewer)

I have a several F4V that I've captured using Flash media Live Encoder and I need to convert them to MP4s. As I understand F4V are fairly identical to the MP4 format so we used "copy" for the video ...
2
votes
0answers
745 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
177 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
465 views

What does the FFmpeg warning “Missing picture in access unit with size x” mean?

I've recently updated to the most recent version of ffmpeg and now everytime I edit a flv, I always get endless warnings: [Null @ 002de180] Missing Missing picture in access unit with size xxxx ...
2
votes
0answers
373 views

FFMPEG create zoompan shaky or jittery

I want to create 5 second mp4 video from 1 image. When I use below code the video is smooth. Default direction is zoom in to top left. ffmpeg -loop 1 -i prop1.jpeg -vf ...
2
votes
0answers
505 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
84 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
2
votes
0answers
158 views

ffmpeg slow down video and audio leads to garbled audio

I am using this command: ffmpeg -i test-video.mp4 -filter_complex "[0:v]setpts=(2/1)*PTS[v];[0:a]atempo=.5[a]" -map "[v]" -map "[a]" slow-output.mp4 And the audio that comes out is very "digital" ...
2
votes
0answers
336 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
224 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
405 views

How to reduce latency on FFmpeg video streaming?

On a video streaming application between Linux server (FFmpeg) and Windows client (VLC player), there is a noticeable latency of about 10 seconds. FFmpeg command: ffmpeg -re -f v4l2 -i /dev/video0 ...
2
votes
0answers
387 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
122 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
160 views

Setting up an Ubuntu Linux scalable web video cluster

I'm in the process of setting up what I hope will be a robust and scalable video processing cluster for a website I'm creating. Currently, I am processing video uploads with FFMPEG on the same web ...
2
votes
0answers
122 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 video transcoding with reduced quality

I need to transcode input rtsp stream into HLS output of the certain quality. The input stream might be of 3 different qualities 2000kbs 30fps 1920x1080 500kbs 30fps 1280x720 192kbs 30fps 320x240 ...
2
votes
0answers
745 views

FFmpeg audio and video out of sync

I know there's a ton of questions on here about video and audio being out of sync when using ffmpeg, however I couldn't find a single one that solved my problem, so I'm hoping you all can help. I'm ...
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
315 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
704 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
475 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
223 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
994 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
433 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
570 views

How Do I Detect Audio Delay With ffmpeg?

I'm used to record non-HD TV-shows, use DGIndex to convert the resulting ts-file and continue to remove commercials, transcode to mp4, ... Now I recorded a TV-show in 1080p. Since DGIndex doesn't ...
2
votes
0answers
99 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
796 views

Convert .mts file to .mp4 retain metadata

I would like to convert .mts files to .mp4 and retain the 'creation date' and 'modified date' metadata. I found the following post How to make Handbrake preserve capture time / creation time? that ...
2
votes
0answers
278 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
841 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
256 views

dynamic ffserver authentication

Ideally I'd like to just be able to add/remove a list of session keys to/from a text file stored on the server without restarting the ffserver instance, but am open to other solutions such as proxies ...