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
1answer
45 views

ffmpeg: packaging H264@MPEGTS into Smooth Streaming

I have a (quite large) set of files that is all H264 in an MPEG TS container. Due to time constraints I need to repackage this content into smooth streaming without transcoding it (transcoding would ...
2
votes
1answer
194 views

Merge two videos with transparency in ffmpeg

I have two videos merged into one file using below command. Unfortunately second video covers first video and it is not visible. How to make second video transparent (eg. 50%)? ffmpeg -i in1.mp4 ...
1
vote
1answer
6 views

FFMPEG Crossfade videos changes video resolution

I am currently using the command from this question to crossfade two videos: crossfade between 2 videos using ffmpeg My command: ffmpeg -i firstVideo.mp4 -i secondVideo.mp4 -f lavfi -i color=black ...
0
votes
1answer
14 views

ffmpeg slow motion video with audio

I am able to do slow motion video using following command (found this at How to use slow motion effect in a specific time interval with ffmpeg): ffmpeg -i input.mkv -filter_complex \ ...
0
votes
0answers
12 views

Hardsubs with ffmpeg

I use this ffmpeg command for embedding my subs to videos: ffmpeg -i input.mp4 -strict -2 -vf subtitles=file.srt output.mp4. And it does a good job. But the thing is the output has a huge delay at the ...
0
votes
1answer
11 views

ffmpeg audio duration increase using atrim

I have video of duration 10 secs and with the help of following command i can trim and then concatenate it using following command: Video ffmpeg -y -i test_video.mp4 -filter_complex \ ...
0
votes
1answer
15 views

ffmpeg mp3 to mp4 with image compatible with iphone

I need to convert an mp3 to mp4 with image (1080x720) using ffmpeg from my OSX command line. I already installed last version of ffmpeg (3.0.2), and tried the following command as described here ...
-2
votes
1answer
33 views

Best H.264 settings in Handbrake for lowest CPU drain

Actual file size is NOT an issue since I am deploying a standalone application or kiosk. But CPU drain is an issue. What are the optimum H.264 export settings to use in handbrake in this scenario?
0
votes
1answer
20 views

ffmpeg filter_complex chaining video streams (watermark then trim and join)

I am trying to add watermark and then trim specific part and at last join these by following command: ffmpeg -y -i test_video.mp4 -filter_complex \ ...
0
votes
2answers
57 views

How to select the left audio channel with ffmpeg and downmix to mono?

I have an old "stereo" movie as a mp4 file. The sound is only in the left channel, the right channel is silent. I'd like to use ffmpeg to copy the video stream : ffmpeg -hide_banner -i video.mp4 ...
1
vote
1answer
30 views

Choosing Audio Stream While Converting Via FFmpeg

I`ve got a .mkv file with two audio streams. But when I intent to convert it to a .mp4, the ffmpeg only chooses the first audio stream. How can I make ffmpeg to uses second one? Thanks a lot.
9
votes
2answers
21k views

Concat two mp4 files with ffmpeg without losing quality

I want to concatenate 2 videos using ffmpeg. I am using: ffmpeg -i output1.mp4 -scodec copy -vbsf h264_mp4toannexb i0.ts But the mp4 file I get looks much worse then the source file. Here is the ...
16
votes
4answers
15k views

FFMPEG: Convert m4a files to mp3 without significant loss of information / quality. Automated bitrate

I have a load of audio files (about 1000) which I want to convert from m4a to mp3 so I can use play them on a CD player which has a USB port. I tried doing something simple like: ffmpeg -i FILE.m4a ...
0
votes
1answer
16 views

Encode h264 with FFMPEG that works across all browsers and devices (windows/mac/iOs/Android)

I want to encode images with FFMPEG to a h264 video file that will work on Windows Browsers and Mac Browsers and iOS / Android devices to display in HTML5. Is there a way to do that using one encoded ...
0
votes
1answer
11 views

How to add web cam(video) recording as overlay using ffmpeg

I have created following command to overlay image in video (desktop recording ): C:\>ffmpeg -y -rtbufsize 100M -f gdigrab -framerate 20 -offset_x 0 -offset_y 0 -video_size 1250x750 -draw_mouse 1 ...
0
votes
1answer
145 views

ffmpeg crossfading multiple images

I am trying to cross-fade multiple images. I found some helpful piece of code in this superuser thread. So far I am stuck at this point: ffmpeg -loop 1 -i img0.jpg -loop 1 -i img1.jpg -i img2.jpg -f ...
2
votes
2answers
4k views

Create video with 5 images with fadeIn/out effect in ffmpeg

With 5 images I have to create a video of 60 seconds in ffmpeg, each image has to display for 15 seconds. after 15 seconds, first image has to fade out and 2nd image has to fade in, after that 2nd ...
-1
votes
2answers
281 views

how to upgrade ffmpeg to latest version in centos 5.11?

I have CentoS 5.11 installed. and ffmpeg 0.10.2 [ [root@cs1590 ~]# ffmpeg ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Jun 5 2012 08:51:26 with gcc 4.1.2 ...
0
votes
0answers
11 views

Cutting a slice of a clip with external subtitle

I need to cut a slice of a movie including it`s subtitle which is in a separated .srt file. I`m familiar with ffmpeg -ss but it won`t copy the subtitle. I would appreciate any kind of solution.
4
votes
1answer
3k views

How do I merge a folder of PNG images to a mp4 movie using avconv?

I have a folder containing many time stamped PNG images which I'd like to merge to a short movie. The contents of that directory looks like this: └── images ├── img_20130421_115547.png ├── ...
0
votes
1answer
28 views

ffmpeg pause video every 10 seconds for 3 seconds

Is there a way to use ffmpeg to halt a video for 3 seconds every 10 seconds? For example, I use a 30 seconds video, the video should stop at 0:00, 0:10, 0:20 and 0:30 for 3 seconds. The length of ...
0
votes
0answers
34 views

Audio - ffmpeg produces high-pitched voices

I have a big video file and I'm using ffmpeg to get a smaller one. I work with the 2-pass ratecontrol and I'm using this simple command line ffmpeg -y -i file.mkv -c:v lix264 -b:v 900k -ac 2 -c:a aac ...
0
votes
1answer
61 views

ffmpeg cutting off most audio when adding metadata tags

I'm trying to add metadata id3v2.3 tags to some files I converted to mp3 using VLC media player. Here's the command I'm using: ffmpeg -i "100000A9.mp3" -id3v2_version 3 -write_id3v1 1 -metadata ...
0
votes
1answer
29 views

Making pair of two YUV videos (side by side) using FFmpeg

I am trying to make a pair of 2 videos (side by side) with a 10px white border seperator. I used the following FFmpeg command, ffmpeg -i left.yuv -i right.yuv -filter_complex ...
3
votes
1answer
4k views

ffmpeg - Output file does not contain any stream

When I try to take Screenshots from an AVI file I get the above message with an empty jpg/png file. But Screenshots from MP4 files works with any problems. My OS is Debian. MP4 Command: ffmpeg ...
2
votes
1answer
682 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.
0
votes
1answer
46 views

Copying audio from a quicktime with ffmpeg

I am trying to copy just the audio from a quicktime. >"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -y -i a.mov -vn -acodec pcm_s16le a.wav Here is my output. Sorry for the formatting. ffmpeg ...
34
votes
8answers
61k views

How to convert video to images?

How can I convert a video file to a sequence of images, for example one frame every N seconds. Can mplayer or ffmpeg do this? I have used MPlayer to grab screenshots manually but I would like to ...
-1
votes
1answer
32 views

How to use multiple filters

I wanna crop video and set sound at the same time. How can i do this? ffmpeg -i input.mp4 -vf "scale=2*iw:-1, crop=iw/2:ih/2" -map 0 -c:v -af aecho=0.9:0.3:1000:0.5 output.mp4
1
vote
0answers
574 views

Why does FFmpeg append blank black video to the end of my MP4 files when compressed from MOV?

I have several large MOV files that I want to compress to MP4. Unfortunately, when I use FFmpeg, it appends lots of black (blank) video at the end. (The destination file is longer than the source ...
3
votes
3answers
2k views

Ffmpeg Webm Encoding Error

I am trying to convert various video file formats into .webm using ffmpeg v. 0.6.1 but am having a few troubles. It creates the file but is zero kb in size. I also get the following error: Encoder ...
1
vote
1answer
31 views

ffmpeg filter_complex multiple filters mute and text

I have 2 ffmpeg commands working fine alone ffmpeg -i test_video.mp4 -vcodec libx264 -filter_complex "drawtext=fontfile=test.ttf:text=awesome:fontcolor=white:fontsize=20:x=0:y=10+th" ...
0
votes
0answers
14 views

ffmpeg DTS output issue creates double length files

I am attempting to concatenate mp4 files with the following command line. ffmpeg -fflags +genpts -y -f concat -copytb 1 -safe 0 -i .\list.txt -c:a copy -c copy $outputFileName I get a number of ...
0
votes
0answers
10 views

GnuTLS: undefined reference to 'CertEnumCRLsInStore'

This all started because I wanted to compile FFMPEG with specific options. One or more of these options requires that I have GnuTLS installed as well. So I went through the process of downloading and ...
6
votes
2answers
6k views

Add 1 second of silence to audio through FFmpeg

I have an AC3 5.1 audio file to which I would like to insert x seconds of silent audio at the beginning. This has nothing to do with video muxing, so itsoffset is useless since it seems to only work ...
2
votes
4answers
3k views

How do I extract DTS core from a DTS-HD MA track using ffmpeg or alternative linux based tool?

I'm trying to extract the DTS core from a DTS-HD MA track using ffmpeg running on a Linux dedicated server. I've tried: ffmpeg -i input.mkv -vn -sn c:a copy output.dts Note switches -vn and -sn ...
0
votes
0answers
11 views

zoompan filter creates shaky image?

I try to perform a basic zoompan with FFmpeg. I have an input list image (.jpg 400x300) and i create slice image video (.mp4 400*300) from it, with a zoom each image. This is my command: ffmpeg -y ...
3
votes
2answers
54 views

Loop/Batch file for extracting all .aac from .m4a files in folder

I'm desperate. I need to extract the .aac stream from ~1749 .m4a files with ffmpeg, but I can't get a batch file working for me and it would take years to do it manually. This is what I use for ...
0
votes
1answer
41 views

FFMPEG: Overlaying scaled video over image

I am trying to produce video containing static image and smaller video which would be overlaid on top of it. Dimensions and position of overlay video are dynamically sent to the server script which ...
0
votes
1answer
44 views

FFMpeg concat demuxer unsafe file name

I'm using ffmpeg inside my .net application to merge(concatenate) some short videos with the same encoding and width and height dimensions. I've created a txt file as the documentation says and this ...
2
votes
1answer
5k views

How to install ffmpeg on OS X? [duplicate]

You can get the binary here http://ffmpegmac.net/ How do I install said binary to use it as a commandline tool. I have a mac, with mavericks. If possible, it would be nice to install it without the ...
-1
votes
0answers
10 views

Convert javascript slideshow to gif image [closed]

I have a simple javascript slider and i want this slider output to be in a single gif image how is it possible ?
0
votes
2answers
42 views

How do I install ffmpeg on Debian Jessie?

My installation of Debian Jessie is seemingly doing everything it can to prevent me from installing ffmpeg. I have read How to install FFmpeg on Debian?, but avconv is not an option and adding deb ...
0
votes
0answers
17 views

Using 3ga and 3gp with ffmpeg

I have sometimes converted .3gp files from my Android voice recorder into .mp3, easy as pie - sometimes I combine image(s) and create videos from these recordins for Youtube, but when I try to convert ...
0
votes
1answer
44 views

How to crop background image to be used in overlay?

ffmpeg -loop 1 -i hinh1.jpg -i 2.mp4 \ -filter_complex "[1]scale=iw/2.5:-1[ovrl]; \ [0][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v],\ ...
0
votes
0answers
18 views

FFmpeg - Add number to output

Is there any way to automatically add a number to the output file with FFmpeg? I don't want to override previous outputs, and I don't want to set the output number manually. I am looking for something ...
0
votes
0answers
19 views

Crop video file using VLC

I found the following command for cropping a video file using VLC: vlc input.mp4 --crop=480x500+290+720 But after running the command, the VLC player opens and I can't see any change on the ...
20
votes
4answers
9k views

Creating video with audio and still image for YouTube

I'm running the following command: ffmpeg -i audio.mp3 -ar 44100 -f image2 -i logo.jpg -r 15 -b 1800 -s 640x480 foo.mov Which successfully outputs a video with my recorded audio and an image on it. ...
1
vote
1answer
1k views

Creating video containing animated text using FFMPEG alone

I doubt this is possible, but am trying to find some way to dynamically render text, and then optionally animate it (simple left to right movement) and then composite the result on top of another ...
0
votes
1answer
34 views

Convert MKV with DTS audio to MKV with AAC, AC3 or MP3 audio

I have an MKV with multi-channel DTS audio. Using ffmpeg from the command line I want to convert to MKV with either multi-channel AAC, AC3 or MP3 audio. Can someone please tell me command-line for all ...