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
4k 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
70 views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
3
votes
0answers
165 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
102 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
494 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
165 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
297 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
533 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
505 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
460 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
64 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
83 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
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
199 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
496 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
351 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
141 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
538 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
339 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
67 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
198 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
719 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
383 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
116 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
355 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
246 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
243 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
348 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
345 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
248 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
304 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
646 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
282 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
515 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
304 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
360 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
257 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
262 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
525 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
571 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
440 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
18 views

Is there multiple types of transitions in ffmpeg while merging two or more videos?

I have 3 video files. I am using ffmpeg library to merge them all. While merging them right now I am using fade In/Out transitions only. I want to enhance that feature in my site, can I do ...
1
vote
0answers
25 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 ...
1
vote
0answers
18 views

How can I select the most “steady” frames from a video with ffmpeg, where less motion occurs?

I would like to use ffmpeg to select out frames from a video to make a preview picture. In the past I selected out frames manually: I extracted 1000 frames at equidistant time and then I picked out ...
1
vote
0answers
25 views

How to check .mp4 file is corrupted or not.

I am recording two different videos in the .mp4 format using ffmpeg command and after that combining them. But sometimes one of the video is get corrupted because of that it will affecting on the ...
1
vote
0answers
72 views

Using avconv to convert an animated gif to mp4 with sound

I want to convert an animated gif and a midi (music) file into a mp4 video. Is it possible? I saw a lot of topics on documentation, foruns and stackexchange sites, but I didn't find. It works with 1 ...