Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated.

learn more… | top users | synonyms

0
votes
1answer
551 views

AAC converted from MP3 (FFmpeg) results in bigger size

I'm on Windows x64 converting MP3 file to AAC using FFmpeg. I tried these commands: ffmpeg -i file.mp3 -acodec aac -strict -2 file.aac ffmpeg -i file.mp3 -c:a libvo_aacenc file.aac Both commands ...
1
vote
0answers
413 views

what is missing in this ffmpeg statement to create a working video conversion

I want to convert videos to a format that my camera reads with ffmpeg. I have some sample videos from the camera and analyzed them with mplayer -frames 0 -identify DSCN0001.mov and with ffprobe ...
2
votes
1answer
2k views

ffmpeg support for tx3g

I am trying to embed subtitles in an MP4 contrainer using ffmpeg. I am using the following command: ffmpeg -i input.MOV -i input.srt -map 0 -map 1 -c copy -c:s mov_text output.MOV I would like the ...
2
votes
2answers
3k views

User Generated Chroma Key Composite Videos with FFMPEG / AVCONV

I want to create a system where a user can upload two videos to a website, one of which has blue screen in the background, and the website uses AVCONV (or similar) to create a composite video of the ...
2
votes
1answer
307 views

Linux - Cut video from end position

I have been looking at different video cutting command line tools for Linux and I can't seem to find any which supports the operation of cutting a video from the end. For example, i have 10 videos ...
3
votes
2answers
9k views

Using FFMPEG to add subtitles to a M4v video file

I am having troubles adding subtitles to a video file using ffmpeg. I am using this command: ffmpeg -i movie_input.m4v -newsubtitle subtitles.srt -acodec copy -vcodec copy movie_output.m4v I found ...
3
votes
2answers
1k views

Unrecognized option 'profile:v'

I'm trying to run the command ffmpeg -i webcamrecording.flv -s 1024x768 -profile:v baseline webcamrecording.mp4 as part of an attempt to produce an mp4 that can play in a video tag. I get the ...
2
votes
2answers
3k views

FFMPEG Errors: “max_analyze_duration” “buffer underflow” “packet too large” What to do?

I have an error while just copying a video with ffmpeg. I use the command: ffmpeg -i leon.mpg -vcodec copy -acodec copy leon2.mpg The errors: [mpeg @ 00000000020ebd20] max_analyze_duration 5000000 ...
-1
votes
2answers
2k views

720p to micro 720p

What is Micro-720p ripping method? I want to rip from 720p using ffmpeg and libx264. Example m720p video information (I don't know the source video): General Complete name ...
1
vote
1answer
8k views

How do I change the bit depth in FFmpeg?

I need FFmpeg to grab an audio feed and reencode it to 16-Bit FLAC. How do I force a 16-Bit FLAC output? ./ffmpeg -i http://7359.live.streamtheworld.com:80/CONTINENTALAAC_SC -vn -ac 1 -ar 16000 ...
0
votes
1answer
767 views

How to convert video to GIF using FFmpeg

I installed FFmpeg on my XAMPP for converting stream of video to GIF images. I used the below code but it doesn't work. ffmpeg -ss 00:00:05.0 -t 00:00:10.0 -i input.wmv -acodec copy -vcodec copy ...
1
vote
0answers
414 views

FFmpeg failed to transcode

I have successfully installed Video Module with FFmpeg/avconv in local machine. My current version of FFmpeg is "0.6.0-svn". I have downloaded the video preset package from drupal.org for FFMPEG and ...
21
votes
2answers
22k views

Resizing videos with ffmpeg/avconv to fit into static sized player

I have a html 5 video player which is 700px wide, 400px high. I'm trying to use avconv to use ffmpeg to resize (while retaining the aspect ratio) and making sure it fits into my player. Input can be ...
2
votes
1answer
4k views

Multiple video filters in FFmpeg

I want to add a PNG watermark and then scale my video. I may add more filters. This is my FFmpeg command. sweb@sweb-laptop:/tmp$ ffmpeg -i Wildlife.wmv -sn -acodec libvorbis -vcodec libvpx -b:a 128k ...
4
votes
1answer
10k views

How to convert MP4 to SWF

Can someone give me the command line parameters for FFmpeg to convert MP4 video to an Adobe Flash SWF file?
1
vote
0answers
690 views

Creating video from DNG images with FFmpeg

I'm trying to make a video from TIFF images that are DNG pictures. The problem is that the resulting video that FFmpeg creates, have a resolution lower than the original pictures I tried with image2 ...
0
votes
1answer
1k views

Creating a movie from pdf images

I have a bunch of pdf files, from which I want to produce a movie. I'm using sips (on Mac OS) to convert the pdfs to .png, and then produce the movie with ffmpeg. So far, I'm doing this: for i in ...
0
votes
1answer
442 views

Split audio feed using FFmpeg

I'm trying to save an audio (or video) feed to local using FFmpeg. Here are the command and arguments that I'm using. ffmpeg -i http://7359.live.streamtheworld.com:80/CONTINENTALAAC_SC -vn -ar 22050 ...
2
votes
1answer
4k views

ffmpeg: Unable to parse option value “-1” as pixel format

How do I fix this? Since this happens on .mov source files and not .mp4 source files, I assume I don't have the proper decoders setup somehow. So do I need to recompile? and what settings do I need to ...
3
votes
1answer
1k views

A way to capture error output from ffmpeg/avconv in a bash script

I am trying to batch convert a bunch of files and i am doing an simple listing of the converted files to a text document so that i can stop the script and continue from approximately were i started. ...
0
votes
0answers
274 views

ImageMagick video filter for FFmpeg

I'd like to apply some non-trival video operations on a per-frame base. So far, I've been using shell scripts + ImageMagick + FFmpeg, decomposing the video into individual frames on disk, processing ...
2
votes
2answers
771 views

Linux job queue for FFmpeg conversion

I'm starting up a Debian web server which will host a website where users can upload video files and play them. Hence, the video files need to be converted into the proper format (mp4, ogg, webm) for ...
3
votes
0answers
238 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 ...
5
votes
1answer
1k views

Embedding artwork with FFmpeg during FLAC to ALAC conversion

How does one embed artwork during FLAC → ALAC conversion? ffmpeg -i track.flac -acodec alac track.m4a transfers metadata but not artwork.
3
votes
3answers
1k views

Information about ffmpeg command line options

I have seen the use of ffmpeg in the command line, with the option -strict -2, or -strict experimental. I went to the command line documentation of ffmpeg, but I could not find information about this ...
0
votes
1answer
4k views

convert gif to mp4 (gif2mp4) [duplicate]

Possible Duplicate: How do I convert an animated GIF to a YouTube friendly video format? The question is pretty straight-forward: How to convert animated gif file to mp4 video? It might ...
1
vote
0answers
926 views

how to reduce h264 annex B NAL unit sizes to avoid IP fragmentation?

I'm trying to stream a video over to a terminal using RTP. The video is coded in h.246. I'm using ffmpeg to extract the byte stream according to h.264 annex B : ffmpeg -i test.h264 -vcodec copy -vbsf ...
0
votes
1answer
316 views

Does ffprobe download the file?

When I run ffprobe http://example.com/abc.mp4 does it download the stream? If it does , will it cleaned up by ffprobe once its done?
1
vote
2answers
1k views

X Error of failed request: BadCursor (invalid Cursor parameter) when recording Xvfb with ffmpeg/avconv

I am trying to record video output from Xvfb using ffmpeg or avconv. I start Xvfb with: $ Xvfb :29 -screen 0 1024x768x24 When I later try to record display :29 with avconv (same output for ffmpeg): ...
1
vote
1answer
772 views

Convert audio-track-id from an m3u playlist to ffmpeg stream id

I have an m3u playlist with the following format: ... #EXTINF:0,10115 - Only Rai #EXTVLCOPT:ts-es-id-pid #EXTVLCOPT:no-video #EXTVLCOPT:audio-track-id=1008 ...
2
votes
1answer
666 views

Bash: save ffmpeg output to a variable

How can i save ffmpeg file-info output to a variable? if i put the following command into variable it's always empty, even though the command generates an output /usr/bin/ffmpeg/ffmpeg -i $1 what ...
5
votes
2answers
13k views

How many instances of FFmpeg commands can I run in parallel?

I tired running 8 commands in parallel to fully utilize the CPU and speed up Video conversions, something like this: ffmpeg -i input.mp4 -t 60 -f mp4 /mnt/a.mp4 > /dev/null 2>&1 & ...
37
votes
5answers
22k views

Meaningful thumbnails for a Video using FFmpeg

FFmpeg can capture images from videos that can be used as thumbnails to represent the video. Most common ways of doing that are captured in the FFmpeg Wiki. But, I don't want to pick random frames at ...
13
votes
1answer
11k views

What is difference between -ss and -itsoffset in ffmpeg?

This is how ffmpeg describes it: ‘-ss position (input/output)’ When used as an input option (before -i), seeks in this input file to position. When used as an output option (before an output ...
1
vote
2answers
3k views

FFmpeg command to find key frame closest to 3rd minute

I use FFmpeg to extract a keyframe at the 3rd minute. This means that it is the 3*60*25 th frame (assuming 25 FPS). Now, often this frame is not a keyframe. I want to extract a frame closest to the ...
8
votes
2answers
4k views

Add silence to the end of an MP3

Do any of you know of a way of adding silence of a fixed duration to the end of an MP3, in Linux? For example using MEncoder, FFmpeg, etc? It needs to be command line as it will be scripted and ...
3
votes
1answer
15k views

Variable bit rates with “-vb” and “minrate”/“maxrate” settings in FFmpeg

For rendering, the time it takes is very different. -b 3500K -minrate 0K -maxrate 8000K takes 1hr 17min vb=3000k takes 2.5 hours What is vb 3000k and how is it different from -b 3500K -minrate 0K ...
8
votes
1answer
20k views

How can I convert a series of PNG images to a video for YouTube?

I have a sequence of PNGs (here is one specimen) which I turn into a video with ffmpeg: ffmpeg -r 10 -i image%03d.png -s 1380x720 -c:v libx264 -qscale 10 -r 30 basf_merck_libx264.mp4 With ...
2
votes
1answer
574 views

Why are colors changed in the preview for my clip on YouTube?

I have 1000 PNGs created with R and ggplot2. This is one for example: image000.png Now I use ffmpeg to glue them together into a clip: ffmpeg -r 10 -i image%03d.png -s 1380x720 -vcodec png ...
3
votes
0answers
446 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 ...
2
votes
2answers
792 views

FFmpeg not converting first image [duplicate]

Possible Duplicate: Ffmpeg sync error, first image showing really fast I'm using Windows and FFmpeg for Windows. My material are 8 images, with names like: product0001img01.png ...
0
votes
0answers
597 views

How to get a reasonable file size when converting from MP4 to WMV?

I converted an MP4 1080 movie to WMV. The result is a huge 9 GB file. How can I convert it (using FFmpeg) so that the file is decent quality but not huge? Or, how can I split a 9 GB WMV file to two ...
1
vote
2answers
2k views

How to compare two lossless audio files?

I have an M4A file which is also converted to a FLAC file. I'd like to see if the conversion is lossless, namely, whether the output to pcm from M4A is exactly identical to the one from FLAC decoding. ...
6
votes
3answers
4k views

Convert video from .mp4 to .ogg

I am using ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers . I need to convert a file .mp4, to .ogg format. I am on Mac OS X, and I have tried this so far: ffmpeg -i ...
0
votes
1answer
1k views

How do I install the “fade” filter for FFmpeg?

There is documentation for the "fade" filter, but I don't know how to install it. I'm using CentOS. I've installed FFmpeg from RMPForge: yum install ffmpeg
3
votes
1answer
7k views

FFmpeg MKV to MP4 remux whilst converting all audio tracks to AAC

I had a ffmpeg command that would successfully remux an mkv to a iTunes compatible mp4. However it only took the first audio stream regardless of language. I want to remux all audio streams, or at ...
1
vote
1answer
12k views

FFmpeg: Keeping quality during conversion [duplicate]

Possible Duplicate: Convert AVI to MP4 keeping the same quality I'd like to convert a good amount of wmv, mpg and avi files (with differing audio and video encodings) to mp4/x264/aac with ...
17
votes
2answers
61k views

Convert AVI to MP4 keeping the same quality

I want to compress an AVI file to MP4 using an h.264 codec. I could not get the same quality. How can I compress it? Original Video: Original Video Screen: FFmpeg console output (ffmpeg -i ...
2
votes
1answer
1k views

FFMPEG video merging issue

I want to concatenation 2 or more videos, using FFMPG but after join videos it has audio/video syncing issue, i used following code for that ffmpeg -i input1.flv -qscale:v 1 intermediate1.mpg ffmpeg ...
0
votes
1answer
1k views

How to update an FFmpeg SVN installation to the latest version

I'm using FFmpeg svn-r26402 – is this stable or not? I searched and found that the SVN repository is old and the Git repository is new. What should I do?