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

1
vote
1answer
215 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
113 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
69 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
839 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
695 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
411 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
406 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
304 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
435 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
661 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
93 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
141 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
194 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
116 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
259 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
270 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
190 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
260 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
993 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
294 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
300 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
181 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
487 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
80 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
314 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
329 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
210 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
230 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
392 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
205 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
403 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
167 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
899 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
569 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
317 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
184 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
290 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
145 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
178 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). ...
4
votes
1answer
450 views

Convert png sequence to x264 with ffmpeg

I am trying to convert a series of pngs into an mp4 video. I am using ffmpeg, and want to encode the video with the H.264 codec. Using the command ffmpeg -y -r 30 -b 1800k -i _tmp%04d.png -vcodec ...
1
vote
0answers
370 views

Webcam stream doesn't work on Logitech E2500

I'm currently trying to get webcam streaming to work on a Logitech E2500 with ffmpeg. Running the command gives me some kind of buffer length error. pi@raspberrypi ~/ffmpeg-dmo-1.0 $ sudo ...
2
votes
3answers
218 views

How to apply audio track to a mute h264/mp4-video losslessly?

I have a MP4/h.264-video with no sound. With ffmpeg or similar, how can I apply an audio track to that MP4-file without degrading the quality of the video (i.e. without recoding the video-track)? I'd ...
3
votes
1answer
251 views

Convert EXR file sequence with FFmpeg and x264

When I convert an EXR sequence into a QuickTime MOV file using FFmpeg and the x264 codec, it codes the video – but in QuickTime Player and Windows Media Player it's just black! But when I open it up ...
1
vote
1answer
465 views

“Unknown encoder libx264” on Windows

I'm testing ClipBucket on a Windows XP system, and ClipBucket (open source video share) uses FFmpeg to convert videos. The final command it executes is (i changed it a little to make it compatible ...
0
votes
1answer
142 views

Tuning hqn3d for use with ffmpeg

I have some live action video I am scaling up 200% and then uploading to youtube. Trying to repserve as much quality as possible. Can anyone suggest some good starting settings to use with hqn3d? Is ...

1 3 4 5 6 7 14