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

8
votes
0answers
3k views

FFMPEG - Non-monotonous DTS

When I use FFMPEG to convert a video from MP4 to M3U8, using the following command, ffmpeg -i op.mp4 -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 ...
3
votes
0answers
175 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
108 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
510 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 ...
3
votes
0answers
168 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
310 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
557 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
521 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
3k 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
474 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
52 views

FFmpeg “ass” filter not working

I'm haveing a bit of a problem when trying to use FFmpeg. I've mostly been using it to extract clips from videos and such. However, I've been trying to get some subtitles embedded (hardsubs) into the ...
2
votes
0answers
117 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 ...
2
votes
0answers
175 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
147 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
126 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
1k 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
215 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
534 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
358 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
151 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
624 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
347 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
73 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
205 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
737 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
417 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
121 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
372 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
268 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
255 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
371 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
373 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
256 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
327 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
704 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
289 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
562 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
326 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
363 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 ...
2
votes
0answers
1k views

Transcoding a video from GoToMeeting WMV to MP4 using FFMPEG on Windows locks up dos window

I've been tasked with converting some pre-recorded GoToMeeting videos from wmv to mp4 format. I've got the GoToMeeting transcoder app available from Citrix (g2mtranscoder.exe) that takes the source ...
2
votes
0answers
267 views

Shoud I use ffmpeg to have videoCodecId = 2 or 7?

I am using ffmpeg to convert my video files to flv. My issue is that I want the converted flv files to have videoCodecId and audioCodecId = 2, because, I am injecting keyframes in the converted file ...
2
votes
0answers
265 views

FFmpeg libx264 Gamma Issue

I'm aware that the gamma issue exists for both Quicktime's native H264 format as well as ffmpeg's equivalent libx264 format. My question is has anyone figured out a fix for it that's more ...
2
votes
0answers
532 views

Audio delay problem with ffmpeg and parec

I need to record desktop audio and video in an automated way. So I wrote a small multithreaded python script which basically does the following steps: # 1.) Grab desktop audio AUDIO_SRC=`LANG=c ...
2
votes
0answers
580 views

How do I use ffmpeg to trim silence in a mp3 file?

We need to trim silence from mp3 files and since we're already using ffmpeg to perform some conversions, we prefer to use it to do the trimming too. Is this possible? I can't find any reference ...
2
votes
0answers
443 views

ffmpeg imlib2.so : watermarked video file size is way bigger than the original and without sound!

ffmpeg -sameq -i '/var/www/original.flv' -vhook '/usr/lib/vhook/imlib2.so \ -x 0 -y 0 -i /var/www/watermark.jpg' /var/www/out/after.flv The watermark.jpg is a small text under 5kb. After i ...
1
vote
0answers
17 views

Re-stream (forward) UDP-Live-Video-Stream (using winsock) reduce video quality?

So, I used ffmpeg to stream the live webcam using UDP protocol to port 1111 : ffmpeg -f dshow -i video="Lenovo EasyCamera" -f mpegts udp://localhost:1111 When I played it directly by ffplay from ...
1
vote
0answers
21 views

Why can't I get a delay between two audio files

I would like to delay only ONE of the two input files. But, even with a value of 5, itsoffset is not working....why?? ffmpeg -itsoffset 5 -i one.m4a -i five.m4a -strict -2 -filter_complex ...
1
vote
0answers
38 views

How to concat VOB files with ffmpeg using stream mapping?

I have 5 VOB files, I would like to concat them to a big mpegts file, and keeping only the video stream and the last (3rd) audio stream. Unfortunately the stream ordering is different in the VOBs: ...