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
5k views

How To Install Ffmpeg with libfaac, libx264, libavfilter with QT-FastStart

I am working to install kernel video sharing script. They are not supporting me setting up my VPS correctly so I am facing problems setting it up. The problem is that I have to install Ffmpeg with ...
0
votes
0answers
15 views

How can I preserve original audio while reencoding video? [duplicate]

I'm trying to do a simple rotation with ffmpeg -i in.mov -vf transpose=1 out.mov, which is working, but the audio gets reencoded. It's pretty bad to begin with, so I'd like to keep it from getting any ...
0
votes
1answer
593 views

Can Intel Xeon Phi improve ffmpeg performance?

I'm building a server for video encoding and I'm planning to use the latest Xenon e5-2697 v2. Can Xeon Phi help me improve ffmpeg encoding performance? a bit confused by this new "processor" ...
3
votes
1answer
3k views

How to add image logo in the end of video?

Can we adding image(logo) to end of video?. I already found the way add logo 5second before video played with delayed the video? Material: video file = af.flv ( format can be changed, avi or mp4 is ...
1
vote
1answer
513 views

How to add watermark when converting to more than one video with -s option?

I have a problem adding watermark to my video. I'm converting a video into 5 different resolutions using the -s option. what I've tried: waterMark="\"movie=/watermark.png [watermark]; ...
0
votes
2answers
562 views

Accessing Webcam Streams Through Shell

I am writing an app (running on ARM Ubuntu) that needs to be able to do image processing on the video stream from a webcam. The easiest way that I can get the data is through the output stream on a ...
0
votes
1answer
1k views

Microphone issue in audio streaming using FFMPEG

I executed the command ffmpeg -list_devices true -f dshow -i dummy to find out that the audio device is Realtek HD Audio Input. But executing the command ffmpeg -f dshow -i ...
2
votes
1answer
1k views

MP4 takes too long to start

I'm converting my video to H.264 / MP4 with ffmpeg. I then move the moov atom to the start of the file with qt-faststart, so I can stream the video. Everything works fine with small videos of 5–10 ...
2
votes
1answer
3k views

Realtime transcoding to H264+AAC in Matroska container

Scenario I have a movie library which I'm looking to make streamable to my Android tablet using VLC for playback. I want to use H264+AAC for best possible visual quality over a mobile internet ...
3
votes
2answers
17k views

What is the right way to calculate 1080p 720p 360p 240p quality?

I'm working on a video hosting project and I would like to know if I'm converting my videos quality the right way. my equation is: newY=(y/x)*newX so 1080p is: 1080x460 than 720p 720x306 ...
3
votes
1answer
209 views

How can I use an audio file without having to re-encode it to output an audio stream with the same format?

I have two input files, a still image that's going to repeat itself as frames and an audio file. How can I use the audio file without having to re-encode it to output an audio stream with the same ...
15
votes
6answers
25k views

How to get video duration in seconds?

How can I get video duration in seconds? What I've tried: ffmpeg -i file.flv 2>&1 | grep "Duration" Duration: 00:39:43.08, start: 0.040000, bitrate: 386 kb/s mediainfo file.flv | grep ...
1
vote
2answers
832 views

Creating a drag and drop batch file to split an MP3 using ffmpeg

I've got a folder full of FFMPEG batch files that I've written to do various conversion tasks. These allow me to drag and drop a bunch of files and do a conversion - for example, decompressing MP3 to ...
1
vote
0answers
403 views

ffmpeg not adding all images when creating video

I am creating a video from 38,179 images. ffmpeg successfully creates a video but only includes the first 20,998 images. It does not include the last 17xxx images. I am running Windows 7 64-bit. The ...
3
votes
1answer
672 views

FFmpeg x264 Encode Settings

My new Canon Vixia HF G30 video camera has an option to encode directly to 35 Mbit/sec Mp4 at 1080p60 and it does a nice job. I primarily use it to record my daughter's high school basketball games. ...
1
vote
1answer
4k views

What file extensions does ffmpeg support?

I'm trying to extract a subtitle from a Blu-ray disc and it is an hdmv_pgs_subtitle. So I try ffmpeg -i file.m2ts -map 0:3 -scodec copy rip3/test.sub and get Could not write header for output ...
4
votes
1answer
5k views

Burn-in subtitles with avconv?

I have a mkv file and want to convert it to an DVD compatible mpg file with avconv. How can I also burn-in one subtitle stream from the same mkv file? avconv -i input.mkv -map 0:0 -map 0:1 -target ...
1
vote
0answers
486 views

Fix audio codec error with ffmpeg

I had an AVI (XVid) file with 2 audio channels. I removed the FIRST audio channel using ffmpeg as: ffmpeg -i <input.avi> -acodec copy -vcodec copy -map 0:0 -map 0:2 <output.avi> Now, ...
2
votes
1answer
388 views

Using loopbacks and null-sink cause extreme distortion after 20-30s during ffmpeg recording

I'm trying to record both video, speaker sounds and microphone sounds at the same time. To deal with the audio, I set up two loopbacks (one for microphone, one for speakers): pactl load-module ...
0
votes
1answer
314 views

Screencast recording performance (using ffmpeg)

Hello everybody out there doing desktop recordings, On my old notebook with an Intel Mobile processor with 1.5 GHz and 1 GB RAM, producing a screencast is a pain. I am using a framerate of 15 fps ...
0
votes
0answers
507 views

FFmpeg: video and audio muxed, but delay in video player when skipping with slider

I'm using FFmpeg to mux video (from .png stills) and audio (from .aiff). This is happening successfully, and my settings are as follows: ffmpeg -r 24 -i /input/%04d.png -i /input/audio.aiff -c:v ...
4
votes
1answer
7k views

how to merge audio using ffmpeg, not concat

I want audio files to be merged and be the length of the longest one of course. Not to concat them, which means adding one behind the other. I tried googling since yesterday night, but didn't found ...
1
vote
0answers
269 views

FFmpeg amerge with itsoffset on only one audio stream

I'm facing a situation which I spent the whole day trying to get this working but unfortunately I'm running out of ideas and I thought you gyus might help me out. I have two streams, one audio stream ...
0
votes
0answers
1k views

ClipBucket file for preset 'normal' not found, failed to stat file in ffmpeg

I am trying to fix my ffmpeg problems. When I upload any video it gives me an error that the file for preset 'normal' was not found, and it failed to stat the file. Any idea? Started on 2013-09-10 ...
1
vote
1answer
104 views

How can I combine these two commands? stream mapping & subtitles

I want to combine the following two commands into one command, if possible. Audio from audio.mp4 on top of the video from video.mp4, output to temp.mp4 ffmpeg -i video.mp4 -i audio.mp4 -map ...
0
votes
1answer
4k views

Converted MP4 not playing in Chrome

I recently converted a file from .avi to .mp4 using the Free MP4 Video Converter (v. 5.0.28 build 827) from DVDVideoSoft. I tried opening the new MP4 file in Chrome. I can hear the audio from the file ...
2
votes
2answers
706 views

clipbucket Unknown encoder 'libfaac'

I am using CB script when i upload any video after uploading it give file to processing this my loge Started on 2013-09-06 20:23:00 - 2013 Sep 06 Checking File .... File : ...
2
votes
1answer
2k views

ffmpeg combine separate video and audio of different lengths

I have 2 video files (flv). One has the video and the other has the audio. I wrote a script using ffmpeg that extracts the audio as mp3, then merges it with the video flv. It works, except that my ...
0
votes
1answer
707 views

How can I trim mp4 video by using ffmpeg only encoding connection point

I trim a mp4 video by using ffmpeg like this. $ ffmpeg -i in.mp4 -ss 00:01:00 -t 00:01:00 -c copy out.mp4 But I get a movie in which first 10 second video does not exist. (sound only) I wanted to ...
1
vote
0answers
101 views

ffmpeg creates unwatchable video

I have a bunch of images in the format 000.png to 014.png. I used this command ffmpeg -r 1 -i %03d.png o.avi I expect a 1 fps video thats 15 seconds long. I get that however the first 4 seconds I ...
0
votes
1answer
1k views

Using ffmpeg to apply sepia filter and add title cards to video

Sorry for the newbish question, but: Is it possible to use ffmpeg to apply a "sepia" style filter, as well as append title cards to the beginning and end to a video? I can't seem to find any ...
1
vote
0answers
410 views

ffmpeg rtsp protocol command crushed in Windows

I downloaded build file(ffmpeg-20130902-git-fdd1aaf-win64-dev.7z) from ffmpeg.Zernoe.com, and build it. When I command "ffmpeg -version", it shows normal message. version is 'N-55966-gfdd1aaf'. ...
1
vote
1answer
188 views

Get black picture when using frei0r filter with ffmpeg on Mac OS

When trying to add a perspective filter on a video using ffmpeg I get a black picture with sound when the resulting format is MP4. ffmpeg -i 2416593.flv -vf "frei0r=perspective:0.2/0.2:0.8/0.2" ...
1
vote
1answer
757 views

How to display uncompressed gray video?

I have video file that is capture of uncompressed video stream. Its media info is as follows: Format : AVI Format/Info : Audio Video ...
4
votes
1answer
10k views

Convert specific video and audio track only with ffmpeg

I have an MKV file (vidui.mkv) with 6 tracks in it. Track 1 - video - xvid - 1920x1080 Track 2 - video - xvid - 720x576 Track 3 - audio - AAC - 1240kbps - English Track 4 - audio - AAC - 648kbps - ...
2
votes
0answers
480 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
1answer
3k views

What is the maximum and minimum of 'q' value in ffmpeg?

When extract a image from a Video via ffmpeg, can get message like below. frame= 1 fps=0.0 q=2.5 Lsize=N/A time=00:00:00.03 bitrate=N/A and that 'q' value means "quality of coded frames". I ...
13
votes
2answers
20k views

difference between `make clean` and `make distclean`

I installed ffmpeg from sources with help this page. https://trac.ffmpeg.org/wiki/CentosCompilationGuide I noticed that most of this tutorial calls make distclean after make install. But only libvpx ...
10
votes
2answers
2k views

converting a static file to a h264/mp4 stream produces sped up video

I'm building a NodeJS application that converts a static videofile to a streamable video which is being sent to a client (iPad or browser) on the fly (using the fluent-ffmpeg module). Everything is ...
2
votes
0answers
948 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 ...
1
vote
0answers
313 views

Invalid sample format error while converting a DVD iso file to Mp4

I get the following error when I convert a ISO file to MP4. The ISO file contains a VIDEO_TS directory with the video files: ffmpeg -i DieRelativeringVanMenswees.iso DieRelativeringVanMenswees.mp4 ...
0
votes
0answers
378 views

way to extract thumbnail with q value is over 5.0 in ffmpeg command?

I edited question(thanks for advice.). When I extract a thumbnail from ffmpeg, I can get a message like this in very end of message. # ffmpeg -ss 600 -i ...
1
vote
1answer
835 views

Lossless screen video capturing

Can you capture/record a video playing on the screen using a recording software(or your custom code) such that every pixel is recorded and there is no loss of information ?
1
vote
1answer
478 views

Output ffmpeg to certain format

I have a media file with the following format according to ffprobe: Metadata: major_brand : M4A minor_version : 0 compatible_brands: M4A mp42isom creation_time : 2013-03-21 ...
0
votes
1answer
406 views

How would I modify this ffmpeg command to include 4 videos?

Say I had 4 videos with the following names: Main Video.mov Top Left.mov Top Right.mov Top Mid.mov and I wanted to have "Main Video" play with a picture in picture effect with boxes of videos ...
1
vote
1answer
426 views

Getting batch file to auto rename input file

I'm trying to create a batch file to process videos and rename the output file automatically. I've got this so far: @ECHO OFF d:\audio\ffmpeg.exe -i "%~1" -vcodec copy -acodec libvo_aacenc -af ...
2
votes
2answers
246 views

Need a video format that will play on Windows XP/7 out of the box

I am distributing an exe file that contains a video that needs to be able to be played on Windows XP & Windows 7 without ANY other software or codecs installed. This includes Windows Media Player, ...
1
vote
0answers
231 views

Adding audio to video being created with image2pipe option

I am creating a video in mp4 format from a sequence of images and an MP3 audio file. For performance reasons I switched from image2 option to image2pipe option and now video is creating OK but without ...
2
votes
1answer
3k views

How to dump error messages from ffmpeg commnad?

I need to dump ffmpeg error message. Already checked ffmpeg documentation, but still do not know how to dump exactly. If you can show some specific sample command, I would appreciate very much.
1
vote
1answer
2k views

FFMPEG for animation of image files outputs all-black video

I am trying to create an animation of a few images ("f_01.png", "f_02.png", ..., "f_08.png") that are each a different solid colour, but it always outputs a video entirely made up of black frames. ...