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
0answers
306 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
635 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 ...
3
votes
1answer
2k 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
203 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, ...
0
votes
0answers
165 views

Use ffmpeg to create a video slideshow of pictures and sound files, i.e. picture 1 + sound file 1, etc

I know how to use ffmpeg, so a single picture and single sound file creates a video file. I can then concatenate multiple videos created this way to get a single video. Mostly, this is OK, but I ...
1
vote
1answer
170 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
141 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
333 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 ...
0
votes
1answer
1k 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
146 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
727 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
56 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
2k 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 ...
0
votes
0answers
167 views

Error on converting from rmvb to avi using ffmpeg

I'm trying to convert a rmvb video to avi format. I'm using this command line: ffmpeg -i in.rmvb out.avi But I get this errors: ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers ...
1
vote
1answer
241 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 : ...
1
vote
1answer
716 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
184 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
72 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
292 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 ...
0
votes
0answers
61 views

How to make mpegts searchable when recoding with ffmpeg

I have a number of video files which I need to re-encode to mpegts format. I've got most of this sorted except that when served by my DLNA server and played on a client any attempt to pause, fast ...
1
vote
0answers
182 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
97 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
269 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 ...
0
votes
0answers
58 views

Extract audio from split and then concatenated videos

I'm trying to extract audio from videos that are split and then concatenated into one MP3 file. Please also note that the videos do not have the same size or format. I am trying to do: ffmpeg -i ...
1
vote
1answer
1k 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
199 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 ...
1
vote
1answer
557 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 ...
4
votes
2answers
2k 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 ...
9
votes
1answer
897 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
496 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 ...
0
votes
0answers
279 views

ffmpeg -show_frames does not show all frames?

I gather Duration of Video via ffmpeg command like this. ffprobe -f rtsp -rtsp_transport tcp -i rtsp://old.hanafostv.com/edu_new/10350/E63333_18_130709.ts.pac and it shows result like this. ...
1
vote
0answers
173 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
218 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 ...
0
votes
1answer
90 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
134 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
68 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
173 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
151 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
115 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 ...
0
votes
1answer
578 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
959 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. ...
2
votes
1answer
541 views

Merge segments from different videos ffmpeg

Could I use ffmpeg to make one video which takes different segments from different videos? 1.webm, 2.webm, 3.webm, 4.webm Those are my 4 video files. I want the 10 seconds from each video. The ...
0
votes
0answers
395 views

Converting avi to mov (pro res format) using ffmpeg

I'm new to ffmpeg and I'm trying to convert an .avi into a .mov in pro res format. What I have so far is this: ffmpeg -probesize 5000000 -r 25 -i movie.avi -r 25 -codec:v prores \ -profile:v 3 ...
1
vote
0answers
252 views

FFmpeg missing frame after H264/TS to RAW/AVI

While converting a H264/TS to a RAW/AVI with ffmpeg -i in.ts -vcodec rawvideo -pix_fmt yuv420p out.avi I found that the output AVI file had less frame than expected. It may come from PTS error in ...
0
votes
1answer
196 views

ffmpeg issue with aspect ratio

I'm converting my .flv file using a vbs command file. I'm attaching here below the code: Set shell = WScript.CreateObject("WScript.Shell") Set fs = CreateObject("Scripting.FileSystemObject") Set ...
2
votes
0answers
350 views

How do I re-encapsulate (passthrough) QuickTime MOV to MP4 with FFMPEG without video stutter?

I've been trying to re-encapsulate some videos from QuickTime to MP4 with ffmpeg, but the results are somewhat messed up. The codecs are all MP4 compatible so that all works fine. The problem is that ...
0
votes
1answer
787 views

ffmpeg stops streaming after 900 seconds from Axis Camera to FLV RTMP

Audio and video works for 900 seconds and then, ffmpeg stops with: video:1889kB audio:1825kB global headers:0kB muxing overhead 2.162866% I stream from an AXIS IP camera through ffmpeg over nginx. ...
0
votes
1answer
95 views

Why is FFMPEG stopping before the re-encapsulation finishes?

I'm running a straight up re-encapsulation of an H264/AAC video in a Flash container to an MP4 container using FFMPEG. However, it quits only a second later after transferring only a few megabytes of ...
0
votes
1answer
323 views

FFMPEG to remote server: Live streaming with segments

I have looked around and have found many good articles on how to use ffmpeg to segment live video for HLS streaming. However, I need to be able to use use an encoder from a remote location (that is ...
0
votes
0answers
23 views

how find the nearest iframes with ffprobe? [duplicate]

I wonder if can find the nearest iframes from certain position(might be certain seconds) in Video file with ffprobe or ffmpeg. Is it possible? The result what I want is seconds unit position of ...