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

2
votes
3answers
107 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
745 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
190 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 ...
1
vote
0answers
80 views

FFmpeg installation on Mac OS X 10.7.4

I am following this guide to compile FFmpeg from source. When I run ./configure I get ERROR: freetype2 not found I tried running this before configure: CFLAGS=`freetype-config --cflags` ...
0
votes
1answer
77 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?
0
votes
2answers
196 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
216 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
114 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 ...
0
votes
0answers
70 views

Getting Chapter info from FFProbe

I am using FFProbe to read the metadata from media files. Using this command line: ffprobe -show_format -show_streams -print_format xml myvideo.mkv I am able to get the audio, video, and subtitle ...
2
votes
2answers
866 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 & ...
7
votes
1answer
718 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 ...
4
votes
1answer
451 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
422 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 ...
3
votes
1answer
310 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 ...
0
votes
1answer
460 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 ...
3
votes
1answer
718 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 ...
1
vote
1answer
94 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 ...
2
votes
0answers
142 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 ...
1
vote
2answers
198 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
119 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
266 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. ...
1
vote
2answers
275 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
194 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
-1
votes
1answer
268 views

Why does FFmpeg generate a wrong TS segment?

I used FFmpeg to generate an HLS stream with the following command: ffmpeg -y -i test.ts -flags -global_header \ -c:a libfaac -c:v libx264 -profile:v baseline \ -level 31 -r:v 24 -map 0 \ -f segment ...
2
votes
1answer
1k 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 ...
0
votes
1answer
310 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 ...
2
votes
1answer
3k 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 ...
1
vote
1answer
302 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
190 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?
2
votes
1answer
500 views

Can FFMPEG convert mp3 files into m4a in full, i.e. with both audio and video streams (jpeg cover) copied?

I use Zeranoe build of ffmpeg. It converts mp3 files into m4a files just fine, as far as the audio stream is concerned, but I can't figure out a way to keep the songs album cover jpeg, which ffmpeg ...
2
votes
0answers
181 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 ...
1
vote
1answer
81 views

FFMPEG text file

I am giving the input file in the command line like this: ffmpeg -i catch.flv. The information about the file such as resolution, frame rate, bit rate etc is displayed in the terminal. I want this ...
3
votes
1answer
332 views

Using ffmpeg with decimal wildcard

I have a folder with PNG images of the following naming scheme: IMG_0423.png IMG_0424.png ... IMG_0509.png I would like to make an MP4 movie from these images, but I get an error message that ...
3
votes
1answer
331 views

FFmpeg command converting M4V to FLV; video streaming is very slow

I am using this command to convert videos from M4V and AVI to FLV: ffmpeg -i 'video_1355440448.m4v' -s '640x360' -ab '64k' -ar '44100' -q:v '1' -f 'flv' -y video_1355440448.flv I have two servers: ...
3
votes
3answers
213 views

Why doesn't this for loop work?

This is on Ubuntu 12.04 I'm trying to figure out how to get ffmpeg to do a batch conversion of FLACs to MP3, recursively. If I cd into a directory and use for f in *.flac; do ffmpeg -i "$f" -c:a ...
1
vote
0answers
232 views

FFMPEG - streaming a playlist of videos to RTMP

I'm aware that you can stream files to a video server using FFMPEG - something like the following. fmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName Is anybody aware of ...
3
votes
0answers
322 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 ...
1
vote
1answer
393 views

Tool to bulk speed up/convert an audio file

I want to listen to certain podcasts on my phone but I have two common problems: The audio is in some weird format (some don't play on my phone). The audio is slow. I want to use something like ...
2
votes
0answers
208 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 ...
3
votes
1answer
419 views

FFMPEG dropping frames while encoding JPEG sequence at color change

I'm trying to put together a slide show using imagemagick and FFMPEG. I use imagemagick to expand a single photo into 30fps video (imagemagick also handles things like putting some text captions on ...
1
vote
2answers
170 views

How Video4Linux and ALSA work with Codecs

My understanding is that a codec is both a decoder and a specification for decoding. So some group writes a codec which explains how to decode from their format back into the raw bitstream, and they ...
2
votes
1answer
921 views

Convert mp4 video to a format xbox 360 can play

Here is a video file my Xbox 360 refuses to play: $ MP4Box -info video.mp4 * Movie Info * Timescale 90000 - Duration 02:18:33.365 Fragmented File no - 2 track(s) File Brand ...
0
votes
0answers
35 views

How can ffmpeg accept SPI inputs?

I'm trying to figure out how I could get ffmpeg to run on a small MCU and accept both an audio and a video bitstream from serial SPI inputs. Is this even possible? If so, how, and if not, what are my ...
2
votes
1answer
591 views

How to encode audio with Opus codec?

The Opus audio codec looks like the best thing ever for compressing audio. It has recently become supported in the latest ffmpeg and VLC players. However, there is no documentation I can find on how ...
0
votes
1answer
326 views

Can't convert FLAC to MP3 with FFmpeg

How can I convert FLAC to MP3 using FFmpeg? What I've tried: ffmpeg -i "file.flac" "file.mp3" Stream mapping: Stream #0:0 -> #0:0 (flac -> ?) Encoder (codec none) not found for output ...
1
vote
0answers
188 views

Converting correctly a .mov to .swf

I have a .mov (h264/AAC) and I want a .swf file with loop. My ffmpeg line: ffmpeg -i in.mov -acodec mp3 -ar 22050 -s 600x338 -vcodec flv -r 25 -f swf -qscale 0 -f out3.swf The video part is ...
0
votes
4answers
298 views

Batch process ffmpeg?

Given an AVI encapsulated video with WMA2 audio and MP4 video how do I pass-through the video, convert the audio to MP3; then re-encapsulate the entire file into an AVI? ffmpeg -i "foo bar.avi" ...
0
votes
1answer
147 views

Encode video with changing bit rates using FFmpeg

I would like to encode a 30 min video using ffmpeg. I am able to achieve this using ffmpeg -i in.mp4 -vcodec libvpx -vb 1024k -keyint_min 150 -g 150 -an out.webm But I would like to encode ...
0
votes
0answers
77 views

Superimpose videos with FFmpeg

We’re trying to edit a video with FFmpeg. One of our videos has an alpha channel and we want to superimpose this above another video. example: Video 01: Start frame 1 end frame 200 Video 02: ...
2
votes
0answers
185 views

Converting linear colors to SRGB shows banding in FFmpeg

When I convert an EXR file sequence with x264 using FFmpeg and convert the colorspace from linear to SRGB (with gamma 0.45454545) I get some heavy banding issues (most visible on a dark gradient). ...

1 3 4 5 6 7 14