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

4
votes
1answer
6k 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
257 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
100 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
664 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
675 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
99 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
972 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
377 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
178 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
668 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 ...
2
votes
1answer
9k 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
427 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
2k 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
17k 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
923 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
301 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
366 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
708 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
424 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
348 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
403 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
236 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
215 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 ...
1
vote
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
718 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
591 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
438 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
630 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
113 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
637 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
26 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
666 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
326 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
487 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 ...
2
votes
3answers
1k 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 ...
1
vote
1answer
593 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
111 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
208 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
735 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
195 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 ...