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

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
21k 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
966 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
330 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
392 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 /home/juneyoungoh/Videos/T30644_19_120412.ts....
1
vote
1answer
926 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
503 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
455 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
440 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
256 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
236 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. ...
2
votes
1answer
2k 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
772 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
654 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
468 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 ...
4
votes
1answer
679 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
2k 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
120 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
727 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
27 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 ...
0
votes
1answer
757 views

FFmpeg fails to stream to FMS 4.5

I'm attempting to use ffmpeg to transcode an input video from whatever format it's in to an mp4 with h.264 video and MP3 audio and have the output go directly to FMS 4.5 using rtmp so the video will ...
0
votes
0answers
370 views

How to skip/seek ahead quickly with ffmpeg on remote file?

I am reading in several remote video files using ffmpeg and saving short clips of them. For example, if I want to take a 5 second clip of an hour long video at the 30 minute mark, I would create a ...
1
vote
1answer
1k views

Adding soundtrack to a video using FFMPEG

In short, I want to merge the audio from a video with a music source (mp3, aac...). I have a video file with sound. I want to add a soundtrack to it so that the audio from the output file has speech ...
1
vote
2answers
519 views

Appending MP4s loses sound from second file

When I try to join two MP4s together using ffmpeg, the first file plays fine and has sound, but the second one loses all sound and becomes a lot choppier. I encoded both the files from MKVs using ...
3
votes
3answers
2k views

Can ffmpeg encode video from frames of different sizes?

I have a toolchain that produces frames that are usually 1920x1080, but occasionally 1919x1080 or 1920x1079. (Yes, this is a bug. Please read on.) When ffmpeg encodes a video from it, with a ...
1
vote
1answer
2k views

ffmpeg audio using lame

I have installed ffmpeg from source with --enable-libmp3lame. Now when I run ffmpeg with: sudo ffserver -f ffserver.conf & ffmpeg -s 320x240 -f video4linux2 -i /dev/video0 http://localhost:7070/...
1
vote
1answer
644 views

ffmpeg get to Unhandled pixel format 0x11111111 only with some images

Hi I'm using ffmpeg to transform images in video. I need 1 still image for a video of 2 seconds, I'm using this call: ffmpeg -loop 1 -i img.jpg -t 2 -vcodec mpeg2video result.avi If I use some test ...
0
votes
0answers
121 views

Localized directshow device names

On my computer device list obtained by ffmpeg looks following: Two devices before end named with garbage symbols. It is impossible to use these devices directly. How to use them then? UPDATE ...
0
votes
0answers
213 views

The sound is periodically “dying” when capturing with ffmpeg + directshow

I am trying to capture video and sound with the following command ffmpeg -f dshow -r 15 -i video=screen-capture-recorder:audio="Desktop Microphone (2- HD-5000 - Microsoft LifeCam.)" -acodec mp3 -...
1
vote
1answer
3k views

Add a stream using ffmpeg without creating a new file

I have some videos (.mp4) that have been tagged with metadata (descriptions, artwork, actors etc) and I now have subtitle files for them that I want to add as a stream. I can use ffmpeg and set both ...
3
votes
1answer
805 views

No Audio on Windows Media PLayer When Converting Uncompressed Video to MP4 with AAC using ffmpeg

I'm having problems converting uncompressed video to mp4 format using AAC for the audio. I don't get any errors, but no audio plays with the video in the output files in Windows Media PLayer (other ...
2
votes
2answers
203 views

How to create a composition of movies?

Suppose I have got two videos (AVI format if that matters), say movie1.avi and movie2.avi. movie1.avi has a framerate of 10fps. movie2.avi also has a framerate of 10fps, but has been speed up ...
2
votes
2answers
4k views

Combine multiple images to form a strip of images ffmpeg

I wish to combine multiple images into a single strip of images, using FFMPEG. I have been trying to search this thing on google, but unable to find anything useful. All links take me to places ...
2
votes
0answers
31 views

Blank video when converting uncompressed AVI files with ffmpeg [duplicate]

I'm having a problem converting Uncompressed AVI files with ffmpeg. I can convert a .mp4 video without issue, but when I attempt to run the same command on an uncompressed .avi everything looks fine, ...
2
votes
1answer
532 views

Where in FFmpeg is the DTS decoder located?

Where is the actual DTS decoder located? When I search through the FFmpeg folders, dtsdec.c and dtshddec.c show up, but they're only 2–4 kB, and don't have any actual decoding code anywhere within ...
1
vote
1answer
1k views

.MOV file has audio synchronization errors in any editor but plays fine in VLC

I have a .mov file with H.264 1080p video and raw 16-bit PCM audio that I need to edit (remove a portion of). The original file plays fine in Gnome's movie player and VLC but as soon as I open the ...
0
votes
1answer
150 views

ffmpeg compilation error message on windows 7

I have downloaded source for ffmpeg, libfdk_aac I installed MinGW/MinSys shell I compiled libfdk_aac without any issues. But when I try to compile ffmpeg, I get an error. Do I need to download ...
1
vote
0answers
196 views

Recording game footage with ffmpeg - issues

I'm trying to create a script to record windowed games with ffmpeg. This is what I have so far: #!/bin/sh INFO=$(xwininfo -frame) WIN_GEO=$(echo $INFO | grep -oEe 'geometry [0-9]+x[0-9]+' | grep -...
3
votes
3answers
4k views

How to build ffmpeg with libfdk_aac in 64-bit Windows?

I am trying to build ffmpeg on 64-bit Windows with libfdk_aac. I followed this YouTube guide and also tried these instructions. None works. The references are old. I get lot of errors. I found these ...
1
vote
1answer
467 views

Get Delay of Each Frame In A GIF

I'd like to get the delay of each frame in a GIF. I plan to turn it into an MP4 file. In one of the answers to "How do I convert an animated GIF to a YouTube friendly video format?", it explains how ...
6
votes
1answer
14k views

Using ffmpeg to make a movie from png files

I have 277 800x600 png files with filenames with the format island_sizes-CSH(II)-###.png where ### is a number starting with 084 and ending at 360. I'm doing ffmpeg -i island_sizes-CSH\(II\)-*.png ...
0
votes
1answer
461 views

converting video to audio OGG results in wrong metadata duration

I'm converting mpeg video to ogg audio file using -vn option: ffmpeg -i video.avi -acodec libvorbis -vn sound.ogg The output: ffmpeg -i video.avi -acodec libvorbis -vn -y sound.ogg ffmpeg version ...
1
vote
0answers
901 views

Adding multiple chapter names in mkv files with ffmpeg

when I'm multiplexing video, audio and subtitle files into one mkv file I'm using ffmetadata files like this to add chapters: ;FFMETADATA1 title=Hello world [CHAPTER] TIMEBASE=1/25 START=0 END=2821 ...
1
vote
1answer
535 views

Converting Unix script to Windows batch for FFmpeg resizing

I want to reduce video dimension to 720:480 & keep original aspect ration when input video width > 720 else, keep original dimension and aspect ratio. I am trying to reproduce this script in a ...
0
votes
1answer
714 views

ffmpeg can not cut the file: could not seek to position error

I' using ffmpeg 0.8 on windows (can not use later version because my service provider has only this version instilled on the servers, actually even 0.7.8) Trying to cut media file (that is 10 sec ...
0
votes
0answers
23 views

Unplayable video produced from png frames [duplicate]

I'm trying to produce a video from .png files using ffmpeg -f image2 -i %04d.png -r 30 vid.mp4 but the output video refuses to play. Any idea whats going wrong? The report is: unknown-4c:8d:79:...
1
vote
1answer
764 views

FFmpeg lossy compression problems

I'm trying to compress very large video to something uploadable to Vimeo, preserving weekly limit.. Any command I use that tries to reduce image quality results in videos that crash VLC or simply do ...