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
0answers
2k views

avconv and ffmpeg - drawtext filter text_w evaluates as 0 in Ubuntu Precise

I'm attempting to draw text onto a video using either the avconv or ffmpeg commands. When specifying x= for where on the final video to place the text, the 'text_w' value is evaluating to 0, rather ...
2
votes
3answers
5k views

Using avconv (ffmpeg) to concatenate a bunch of .bmps into a mkv/avi video

Trying to figure out how to get avconv to concatenate a bunch of .bmps together into a video file. Here's what I've got so far: avconv -f image2 -i Capture/%d.bmp -vcodec mpeg4 -r 24 -b:v 20M ...
1
vote
1answer
470 views

The fastest way to encode image+audio for Youtube from command line?

I have an mp3 and image and I want to make a simple clip to upload onto Youtube. Is there a fast solution? If video formats are so bad designed, then maybe it is possible to use a prerendered video-...
1
vote
0answers
384 views

Video converted using ffmpeg does not have fast forward feature

I used the following command to convert the video codec: ffmpeg -i input.avi -c:v libx264 -c:a copy output.mp4 When I play the output.mp4 I observe than the fast forward feature is not enabled. ...
0
votes
0answers
421 views

Installing ffmpeg-devel with MacPorts fails

I did a selfupdate and updated all dependencies. When I do sudo port install ffmpeg-devel I get ---> Computing dependencies for ffmpeg-devel ---> Building ffmpeg-devel Error: org....
15
votes
3answers
32k views

Strip metadata from all formats with FFmpeg

How can I remove all metadata from all formats via FFmpeg? I can just set special metadata for each format per man ffmpeg. Any option or method to clear all metadata and strip media from all metadata ...
0
votes
2answers
1k views

AVCHD MTS h264 1080p file with choppy playback in Linux

When I'm trying play video files from my camera: Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '00027.MTS': Duration: ...
2
votes
6answers
13k views

No such file or directory in FFmpeg

I am attempting to use FFmpeg to extract audio from a mp4 and I keep running into this error: CFileffmpegvideo.mp4: No such file or directory exist. I am in command prompt (in Windows 7) and have ...
0
votes
0answers
21 views

Convert ISO to MP4 with ffmpeg cli on linux [duplicate]

Possible Duplicate: how do I convert .iso to .mp4 without mounting with ffmpeg I have numerous iso and I would like to convert them to mp4 using ffmpeg (only the main video and not menus etc). ...
1
vote
3answers
16k views

HLS video segmenting complications. How to create a transport stream with ffmpeg

I have h264 videos, and currently we're using Apple's HTTP Video Streaming tools and mediafilesegmenter to segment these files. What I need to do is to switch to alternative segmenter based on this ...
13
votes
3answers
34k views

How can I re-encode H.264 video with minimal quality loss?

I have a lot of MPEG-TS files (.TS container but H.264 video) and playback is fine except that when you skip forward/backward or fast forward it's very sluggish and gets pixelated, etc. I've been ...
14
votes
3answers
39k views

Creating MP4 videos ready for HTTP streaming

How can I convert some.flv or some.avi or some.wmv with FFmpeg to be sure that this video will be playable and seekable in JW Player?
2
votes
1answer
6k views

Better-quality FFMPEG conversion from MTS to AVI

I got the following code from some forum. I'm a beiginner, so please bear with my questions ... I need to convert a video from MTS to AVI in very good quality. Currently I'm using the following code ...
0
votes
2answers
1k views

How should I encode a fully working H.264 video for Flash player?

I did some homework: It seems that I should use a command like ffmpeg -i input.mp4 -vcodec libx264 -g 1 -r 25 output.mp4 but this did not work: the output.mp4 can not jump to other seekpoints (...
0
votes
1answer
1k views

ffmpeg and png watermark issue

I tried to create a watermark (using a png image) on a video like this: ffmpeg -i test.wmv -b:a 300k -ar 22050 -t 10 -f flv -s 352x288 -vf "movie = watermark_logo352.png [watermark]; [in][watermark] ...
2
votes
1answer
3k views

How to convert 3g2 to mp4 without losing audio?

How do I convert .3g2 to .mp4 successfully from the command line? I'm using ffmpeg commands like: ffmpeg -i input.3g2 -acodec copy -vcodec libx264 output.mp4 ffmpeg -i input.3g2 -acodec ac3 -vcodec ...
3
votes
2answers
12k views

FFmpeg convert video w/ dropped frames, out of sync

I recorded a video using Bandicam with the MJPEG encoder to get the least amount of lag. Now, I am trying to convert that massive file to a h264 avi using ffmpeg. I know there are dropped frames in ...
54
votes
3answers
29k views

How can I get ffmpeg to convert a .mov to a .gif?

I'm trying to convert a .mov to a .gif and I'm not having success. Here's the error: ffmpeg -pix_fmt rgb24 -i yesbuddy.mov output.gif ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg ...
6
votes
3answers
13k views

Which codecs are most suitable for playback with Windows Media Player on Windows XP?

I need to encode a short video in a format that can be played with windows media player on windows xp without installing any additional codecs. For the recoding process I'm using ffmpeg. I've already ...
2
votes
3answers
1k views

Why is the first image changing so quickly when creating video from images via FFmpeg?

ffmpeg -r 0.15 -qscale 2 -i /var/www/44693/%0d.jpg /var/www/44693/output11.mp4 With this command I am creating video from images, but the first image is changing so quickly. Others are just fine. ...
1
vote
0answers
955 views

How to get ffmpeg to drop frames / change rate for live source?

I’ve got a webcam and want to dump a frame once a second to disk. A command like this works well to drop 5 frames per second to disk: ./ffmpeg -y -f video4linux2 -input_format mjpeg -r 5 -i /dev/...
1
vote
1answer
5k views

ffmpeg: extract frames and get their exact timestamps

I'm trying to extract frames from a variable framerate video every 5 seconds and get the exact timestamps of each frame extracted. This is what I have so so far: -i inputfile -vstats_file vstats.log ...
5
votes
2answers
13k views

Conversion from WMV to MP4 file fails with FFmpeg

When converting a WMV file to an MP4 file, it says [mp4 @ 0x989c160] track 1: could not find tag, codec not currently supported in container and Could not write header for output ...
1
vote
1answer
1k views

Why does FFMPEG adds up extra bit rate to video?

I use FFMPEG (command line Input) to convert my videos to a specific output format. The problem I am facing is when I try to pass a constant bit rate(700 kbps) to FFMPEG, the result is an output ...
1
vote
1answer
961 views

Create a watermark in a separate track with FFmpeg

I have a PNG (alpha) file and a video file. I want to create a video in which the first track is the image and the second track is the video (PNG over video). The problem is that the PNG doesn't ...
4
votes
2answers
1k views

Best way to repackage ripped DVD to mpg

I have a bunch of DVDs that I've already ripped into a VIDEO_TS directory containing .IFO and .VOB files. I have a cheap primitive video player that will accept .mpg files. I've tried two different ...
2
votes
0answers
458 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 ...
1
vote
1answer
772 views

force vlc to use libav, and pass libav specific options

I have a stream, that I can successfully decode with ffmpeg, with this command line: ffmpeg -f image2pipe -vcodec png -r 30 -i - Now I want to to pipe it directly to vlc. I tried this one with ...
2
votes
1answer
2k views

multiple png images over a single pipe to ffmpeg (no file writes to disk!)

I have a program that generates a script for gnuplot, which in turn generates a lot of png images and send it to stdout. I want to pipe these images to ffmpeg without writing them to the disk. This is ...
10
votes
1answer
4k views

What bunch of ffmpeg scripts do I need to get HTML5-compatible “Video for everybody”?

What list of commands should I do in ffmpeg/mencoder/some_other_CLI_app to get a video in all the right formats to use Video for Everybody? i.e. Is there a subtlety that prevents there being a ...
2
votes
1answer
988 views

Maintaining Aspect Ratio Using ffmpeg

Is there any way to tell ffmpeg to preserve the aspect ratio when resizing a video by adding padding in the shorter dimension? I know that I can do it by manually adding the proper amount of padding, ...
0
votes
0answers
995 views

No audio after conversion from AVI to SWF using ffmpeg

I was able to convert the video from AVI to SWF however the sound seems to have been stripped out. I am running the following command ffmpeg -i 1.avi -b:a 3000k -vcodec flv -ab 128k -ar 44100 -...
0
votes
1answer
486 views

ffmpeg trimmed video does not support jumping to a time position

After a video is cut, the player (mplayer) cannot jump to a specific time position anymore. Clicking the timeline will usually end the playback. How can this be fixed?
0
votes
1answer
1k views

MP4 re-ecoding to guarantee concatenation without re-encoding

I have 2 mp4 videos that fail to concatenate when using: MP4Box -add 1.mp4 -cat 2.mp4 out.mp4 Is there a way to re-encode 2.mp4 so that the concat call will create a valid output? Possibly with ...
12
votes
3answers
9k views

How to concatenate two flv files?

I want to concatenate two flv files(downloaded from Youtube.com) by linux command line tools. The ffmpeg tutorial is too complicated, so I tried the mencode tutorial. But I get a empty output. I don't ...
1
vote
2answers
3k views

ffmpeg: Pipe input error

I'm facing an issue while working with ffmpeg when input and output are pipes. Though Output pipe is working fine, piping the input is causing some error. I tried to convert mp4 video to flv using ...
1
vote
1answer
342 views

ffmpeg shortening calculated video run time

I have an image sequence of 5,664 .tga images which are to be played at 24fps (so 236 seconds) and an audio ac3 file which I edited to be exactly 236 seconds (plus minus 0.01s) in length. I used the ...
1
vote
0answers
825 views

compile ffmpeg to enable libmp3lame

I am using the following command in MinGW in windows to build my ffmpeg, I have already downloaded libmp3lame from here sourceforge.net compiled the build and compile and install the libmp3lame, now ...
0
votes
2answers
2k views

FFmpeg “-vf” gives me “Unrecognized option 'vf'”

I'm trying to watermark a video using FFmpeg and -vf to overlay a PNG, but it's not working. My command line: $ffmpeg->exec('-i "' . $path_src . '" -vf "movie=watermark.png [wm]; [in][wm] overlay=...
12
votes
4answers
18k views

Using desktop as fake webcam on linux

I want to make a live stream of (a window on) my linux desktop using a free streaming site, using the captured video as a fake webcam. There are many tools for this on windows. ffmpeg allows me to ...
1
vote
0answers
154 views

mp3 bug after ffmpeg converting

I'm converting wav (ima adpcm) to mp3 by ffmpeg ffmpeg -i audio.wav -acodec libmp3lame audio.mp3 and play it in browser by html5. But audio doesn't end at about 1-2 seconds from the end of file ...
7
votes
1answer
3k views

What does the video output stream details from ffmpeg mean?

When you run ffmpeg -i with the video file as input parameter, ffmpeg returns some details of the stream type, like codec, bitrate and resolution. What does the other data mean - "tbr", "tbn" and "tbc"...
1
vote
1answer
345 views

How to embed multiple audio files to one video file with timeline offset?

I have a video file: screencast.mpg (100sec) And several audio files(file name indicate offset): 10.wav (10sec) 30.wav (5sec) 45.wav (8sec) How can I combine those files together: V:||||||||||||...
0
votes
1answer
1k views

How to convert .flv to .m4v files through FFmpeg

I want to convert FLV files to M4V files. What is the exec (PHP) Linux code for this conversion?
7
votes
1answer
25k views

How To Check My Current Version of FFMPEG

I have FFMPEG installed on 2 different servers. On one of the servers, i run into an issue every time i try to convert m4v files where ffmpeg just processes the file indefinitely. When I take the ...
1
vote
1answer
370 views

error linking ffmpeg library

While linking libavcodec.a , I see these errors: /usr/bin/ld: /usr/local/lib/libavcodec.a(fft_mmx.o): relocation R_X86_64_PC32 against symbol `ff_cos_32' can not be used when making a shared object; ...
3
votes
1answer
2k views

FFmpeg creates emtpy (black) frames

I have a set of images from a timelapse shot (172 JPG files) that I want to convert into a movie. I tried several parameters with FFmpeg, but all I get is a video with black frames (though it has the ...
1
vote
2answers
2k views

lossless PNG to video in Imagemagick

As an intermediate step in creating an animation, I need to put a bunch of sequential PNGs into a movie file. I tried ffmpeg but was getting compression and artifacting even when I set quality to ...
2
votes
2answers
5k views

ffmpeg works on terminal not with PHP exec

If I execute a ffmpeg command from terminal, I get the desired result: ffmpeg -i src.mp4 -ar 22050 -ab 32 -f flv -s 320x240 video.flv Terminal's output ... video:3404kB audio:1038kB global ...
1
vote
1answer
808 views

how to make ffmpeg convert files and copy to other folder

I need to convert mp3s from 5 folders to the lower bitrate (192) ones without changing their names. How can I do it? (what command)