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
509 views

Ffmpeg Sync when extracting parts of video

This question can be seen as an extension of this question. I am using the ffmpeg 2.0.1 . The following commands is useful when you want to extract parts of one big video file given time makers. ...
4
votes
3answers
4k views

Ffmpeg Audio Stereo to Mono using only left channel

I use the following command to extract video parts of an '.MTS' record (video). ffmpeg -i 00402.MTS -s 1280x720 -r 25 -ss 0:00:05.38608 -vcodec libxvid -qscale:v 2 -acodec ac3 -ar 48000 -ab 256k -t 0:...
0
votes
1answer
2k views

Add custom time to video frames using ffmpeg

I am using ffmpeg to encode raw pixels data (bgr32) into a video file. Pixels data is being sent from java application to ffmpeg stdin pipe. I am looking for a way to add a timestamp overlay to each ...
1
vote
1answer
700 views

FFMPEG extracting unreasonable number of I-frames

ffmpeg version git-2014-01-14-abcde ffprobe -show_frames a.mp4 | grep pict_type=I | wc identifies 142 I-frames. ffmpeg -i a.mp4 -filter:v select='eq(pict_type\,I)' I.%03d.png generates thousands of ...
0
votes
0answers
182 views

OS X uploads .mp4 as quicktime? Changes metadata

I'm running into a rather peculiar issue uploading .mp4 from any browser on OS X. I'm using ffmpeg to convert files and .mp4's uploaded from OS X are causing issues. First off, the file I'm uploading ...
1
vote
1answer
447 views

Ffmpeg : Audio/Video mixing but no sound

I'm trying to add an audio file to a video file generated from images with FFmpeg. The command i am using on a Debian distrib is this one ffmpeg -r 1 -i edit%0d.jpg outputName.mp4 -i Test.mp3 ...
1
vote
1answer
6k views

ffmpeg drawtext and watermark only creates watermark but no text

If I try to add a text and a watermark at the same time, only the watermark shows. ffmpeg -i i.mp4 -vcodec libx264 -f mp4 -vf drawtext="fontfile=/[...]/share/fonts/freefont-ttf/FreeSans.ttf :...
1
vote
0answers
331 views

ffmpeg mysteriously adding start delay

When converting a mp4 to TS, I am observing ffmpeg adding a "start" delay that the input file did not seem to possess. For my input, ffprobe reveals: ffprobe version N-57943-g7b76976 Copyright (c) ...
3
votes
1answer
2k views

Is there an option in ffmpeg to specify a subtitle track that should be shown by default?

I have a video in MP4 format that is predominantly English language, but has a scene in which a character speaks another language. I have an English subtitle track in SRT format for this character's ...
0
votes
1answer
147 views

Use ffmpeg to transcode only wma lossless files and not wma files

I have a list of wma files with wma lossless files as well, and what i want to do is to use ffmpeg to transcode only those which are wma lossless and not the wma files. As we cannot distinguish these ...
1
vote
0answers
1k views

exec ffmpeg not working for nginx-rtmp-module on AWS Ubuntu

I was trying out the nginx-rtmp module from https://github.com/arut/nginx-rtmp-module. While implementing the example for ffmpeg given in the link, my exec ffmpeg is not getting executed. My rtmp ...
0
votes
0answers
435 views

Using multiple instances of webcam without thirdparty applications in windows

I want to show my webcam out in an swf file. That is in a webpage. At the same time, i need to record the stream using FFmpeg or Vlc. But the problem is the webcam cant be accessed by two applications ...
3
votes
0answers
3k views

Live video transcoding with reduced quality

I need to transcode input rtsp stream into HLS output of the certain quality. The input stream might be of 3 different qualities 2000kbs 30fps 1920x1080 500kbs 30fps 1280x720 192kbs 30fps 320x240 ...
0
votes
1answer
314 views

Video creating using “-vprofile baseline” giving error

I am padding a video using ffmpeg -i input.mp4 -vf "pad=width=640:height=480:x=0:y=120:color=black" output.mp4 The command is working fine. But I want to use "-vprofile baseline" to get a small ...
2
votes
0answers
1k views

FFmpeg audio and video out of sync

I know there's a ton of questions on here about video and audio being out of sync when using ffmpeg, however I couldn't find a single one that solved my problem, so I'm hoping you all can help. I'm ...
0
votes
3answers
1k views

Concat 2 .mp4 files created with ffmpeg not working correctly

I am trying to concat 2 mp4 files that were both created with ffmpeg however the resulting output file does not contain any audio, can someone please help? Here's my current code: function ...
0
votes
0answers
627 views

How can I repair a damaged H.264 video stream from a security camera?

I have a security camera file in H.264 format. It cannot be converted due to error messages stating the file is damaged. Is there any way to repair this single 12 MB file so it can be converted to a ...
1
vote
0answers
519 views

compressing video with ffmpeg while maintaining high frame rate

Update: I watched the output video on a different machine and it was fine. The issue must've been with the program I was using to watch the video. Nevermind. I'm trying to compress videos taken with ...
1
vote
0answers
2k views

How to stream video from VLC with subtitles overlayed?

I am trying to stream a video with VLC with subtitles overlayed on my local network. The command I am using without success: vlc -vvv myvideo.mkv :sub-file=mysub.srt :file-caching=300 ":sout=#...
7
votes
2answers
17k views

Convert video with vp9 codec using ffmpeg

I am trying to convert input.mp4 video to output.mkv using vp9 codec. I have install development version of ffmpeg via: brew install ffmpeg --devel. ffmpeg -i input.mp4 -vcodec vp9 output.mkv But I ...
-2
votes
1answer
2k views

How to use equalizer on ffmpeg

I want to change the frequency of my videos. I think I can do this with ffmpeg equalizer but i couldn't find any documents about that. My video's name is video1.mp4 Thank you.
1
vote
1answer
292 views

FFMPEG Track Number not written

How can I write the track number when re-encoding an audio file using ffmpeg? Currently, I have the following command: ffmpeg -i "in.wav" -acodec libmp3lame -aq 0 -id3v2_version 3 -write_id3v1 1 "out....
0
votes
1answer
2k views

how to bring the cpu usage down when FFMPEG is making multi-bitrate videos

I am trying to provide a website operating like Youtube. To provide a facility for my users to upload their video on my server with multiple-bitrate through FFMPEG. But when the FFMPEG is making ...
2
votes
2answers
236 views

Extract any audio from container with ffmpeg

Is there a way to use -acodec copy with -vn to: Extract the audio stream from a container, such as mp4 Without knowing the audio codec beforehand And save it to an audio file with the appropriate ...
0
votes
0answers
189 views

ffmpeg: converting jpeg image sequence to movie gets error “not enough frames to estimate rate consider increasing probesize” [closed]

I have an image sequence with a numbering system of: image-00001.jpg. I want to convert this to a movie using ffmpeg. I always get the error in the title no matter what I do. Below is the syntax I'm ...
2
votes
1answer
3k views

Add watermark to ffmpeg MP4 encoding process in Windows?

Want to apologize off the bat as I am by no means familiar with working with ffmpeg and after trying countless times unsuccessfully to accomplish adding a PNG image watermark to my videos I'm hoping ...
1
vote
1answer
81 views

Ideal FPS to use

I have a C# desktop application and I am using ffmpeg as a way to 'zip' up a load of jpegs on the client PC and upload it to my server and unzip it. The number of jpegs to zip at any 1 time varies. ...
2
votes
2answers
631 views

How does ffmpeg determine individual stream bitrates?

For example, I have a video for which ffmpeg shows Duration: 00:46:43.72, start: 0.540000, bitrate: 2593 kb/s Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 16:15 DAR 4:3],...
3
votes
1answer
738 views

How does one find out the options set by “-target” with ffmpeg?

The ffmpeg documentation says the following about -target: Specify target file type (vcd, svcd, dvd, dv, dv50). type may be prefixed with pal-, ntsc- or film- to use the corresponding standard. ...
0
votes
1answer
492 views

ffmpeg cannot convert gray video to avi

I would transcode a GRAY or YUV400 video file into an AVI (YUV420P). My input file is 1920x1080 Y only, its size is 22809600 => 11 frame. I used the following command line but ffmpeg generate an AVI ...
0
votes
1answer
477 views

Problems with video length when join video file using ffmpeg concat

I have 3 videos: open.avi – 0:46:37.885933 duration middle.avi – 0:02:56.991927 duration fin.avi – 0:02:48.199268 duration I try to concat 3 videos using command: $ ffmpeg -i "concat:fin.avi|...
0
votes
1answer
496 views

What do the numbers and colours represent for -vismv and vis_mb_type in ffmpeg?

After the -vismv command I have seen a number of different values given. I can't find any explanation of what the number does and from changing it – can't see any difference! Also, I am working with ...
1
vote
1answer
385 views

.mov files recovered with TestDisk won't play properly

I accidentally deleted some .MOV files from a FAT32 formatted SD card. Using Testdisk I was able to recover all the files, however, they don't play properly. They'll play for the correct length of ...
8
votes
1answer
17k views

Use ffmpeg copy codec to combine *.ts files into a single mp4

I've got a bunch of ts segments described by a single index.m3u8 file: index.m3u8 segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts segment4_0_av.ts segment5_0_av.ts I know they ...
5
votes
1answer
8k views

How to split videos with FFmpeg and -segment_times option?

I try to split a video with FFmpeg and the -segment_times option like it's shown in this FFmpeg ticket. But it's not working, the error output isn't helpful and the resulting output is a single zero-...
0
votes
1answer
455 views

Convert from MP4/MP3 to G.723.1

I am new to ffmpeg and using version 2.0.2 in my Linux server. Could anyone please tell me how I can convert from mp4/mp3 files to a G.723.1 file format and G.723.1 to MP4?
7
votes
4answers
4k views

Automatically split large .mov video files into smaller files at black frames (scene changes)?

I have 65 .mov video files named tape_01.mov, tape_02.mov, ..., tape_65.mov. Each is about 2.5 hours long and takes up many gigabytes. They are digital copies of what were VHS tapes (my family's "...
0
votes
1answer
240 views

Filter the video while keeping the bitrate (FFmpeg)

For experimental purposes, I need to filter my video (using -vf option) and change, say, brightness, but keep the same bitrate as in original video. Just for testing purposes, I change RGB values to ...
0
votes
0answers
21 views

Convert Video Format to save space? [duplicate]

The MOV video files from my Canon S110 are huge files. A 20 second clip is 90MB. They are 1080HD videos. Is this simply the nature of HD video size, or is there another format I could convert them to ...
1
vote
0answers
2k views

ffmpeg changing Codec ID?

I am on Windows 7 using a zeranoe FFMPEG build #: 20131213. I am trying to splice an aac file into a video and persist the "Codec ID" of the file I am encoding. When I use MediaInfo to examine the ...
0
votes
1answer
607 views

FFmpeg Video cut / cat black frames

Ok, so my task is this: Cut a video up into N parts. ffmpeg -i in.mpg -ss 10 -t 10 -codec copy part1.mpg ffmpeg -i in.mpg -ss 30 -t 10 -codec copy part2.mpg ... Cat these parts together cat part1....
2
votes
1answer
7k views

Video padding using ffmpeg

I am trying the padding option using ffmpeg, but I am getting an error. I am following this tutorial. Here's the error: ffmpeg version git-2013-11-13-129af66 Copyright (c) 2000-2013 the FFmpeg ...
1
vote
1answer
2k views

What is the difference beetween ffmpeg and libav, and how to chech which one is used for application? [duplicate]

I am working with some gstreamer based application and some other streaming stuff and I came to some confusion: What is difference between libav and ffmpeg? I found no explanation what are they and ...
2
votes
1answer
728 views

How to add a video on a template with ffmpeg

I would like to watch my video inside the box of this template. Is it possible to make it with ffmpeg? The size of the template does not matter. It can be larger than what's shown.
6
votes
2answers
8k views

ffmpeg - Create a video from image frame with a start and a cout

I create a video from image frame, and it work great. The problem is that I don't want to use all the image in my folder. I have 200 frames in my folder, but I want a video from 1 to 100 How I can ...
5
votes
1answer
1k views

ffmpeg amix dropping audio levels

I am attempting to take one video file and 2 audio files (.mp3 and .wav, though I could do 2 .mp3's - not limited to specific format) and combine them into one video. I have it working with the amix ...
0
votes
1answer
243 views

using ffmpeg to stitch together image files, having troubles with audio synchronization

I'm going to be stitching together images recorded alongside a video, and then use the audio track from the original video. To make sure things work as expected, I run a simple test that splits a ...
1
vote
0answers
750 views

ProRes transcoding in ffmpeg too slow

We are trying to transcode movies / clips into ProRes LT by using following options: ffmpeg -threads "16" -i "$2" -flags +ildct -vcodec prores -profile 1 -qscale 4 \ -threads "16" -r 24 -vf "yadif=0:-...
4
votes
1answer
813 views

ffmpeg - different input and output duration

I have strange duration issue when converting videos from mp4 to flv. Also there is a different "start_time", what is that? What does start_time means? input duration - 0:00:29.577000 input ...
2
votes
1answer
1k views

How to use slow motion effect in a specific time interval with ffmpeg

I'm trying to use slow motion effect on my videos. Let's say I have a 2 minutes long video and I want to use this effect between 20 and 30 seconds. I found this command from a blog: ffmpeg -i input....