FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line ...

learn more… | top users | synonyms

0
votes
0answers
5 views

webm vpxenc fails when doing 2 pass and using pipe from ffmpeg

I am using ffmpeg to convert my video so vpxenc can read it then piping it to vpxenc and doing a 2 pass encode. However it is not working as the second pass fails (no error message) The reason I am ...
1
vote
1answer
50 views

Concate two video file with fade effect with ffmpeg in linux

is there anyway to concate two video file with fade effect with ffmpeg in linux? something like this: ffmpeg -f concat -i input.txt -c copy "--with:fade:out-in" output.ogg
1
vote
1answer
21 views

Real time ffmpeg / x264 encoder behavior when input resolution suddenly changes

I want to take a live HD-SDI signal being captured by a capture card and encode it in real time to X.264. What happens when the input resolution suddenly changes? eg, from HD SDI 1080/50i to HD SDI ...
0
votes
1answer
23 views

Adding many sounds to a video file at specific frames

I have a video of a TAS I've created that unfortunately does not contain sound. I would like to add sound to the video before releasing it, but I obviously don't want to have to go through and place ...
2
votes
4answers
2k views

ffmpeg: Normalize audio in an avi file

Ι have an avi file that has different levels of audio. Is there a way to decrease and increase appropriately where needed the audio of my file using ffmpeg?
3
votes
1answer
145 views

FFmpeg pan filter and clipping

I have a file that has one video stream and one audio stream with 8 channels. I want to create a new file that will only contain the first 2 channels of the audio stream (no video). I can do this ...
2
votes
1answer
353 views

ffmpeg filter_complex problem

I'm trying to achieve complex effect with ffmpeg, but I seem to be failing the syntax of -filter_complex somewhere. The goal is to capture part of the screen (with UScreenCapture direct show device) ...
1
vote
1answer
53 views

How to deinterlacing with ffmpeg?

I have the following VOB file: -> ffmpeg -i input.vob output: ffmpeg version N-77455-g4707497 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) ...
1
vote
1answer
51 views

Loop and mix audio on video

I want to mix audio on a video. The video already has audio stream in it. I'm adding another one. The new audio I'm adding is shorter than the video. So, I want to loop it as long as the video lasts. ...
2
votes
2answers
60 views

FFMpeg crop filter doesn't change orientation

I am trying to crop a portrait video of 1280x720 to 568x320 so that the video will be displayed in landscape view (16:9). I am using the following command ffmpeg -i VID_1438833296.mp4 -vf ...
1
vote
1answer
39 views

Is ffmpeg the solution to automate video building from multiple files

Need some help automating video & audio stitching and could use some help/direction. Let's say I have the following assets: Video 1 Video 2 Video 3 Music 1 And I want to build a few variations ...
4
votes
1answer
288 views

ffmpeg: overlay rotated video with transparency

I'm new to ffmpeg (video encoding in general). I have two videos one larger than the other. I want to rotate, resize and overlay the shorter video on the larger one at defined coordinates. So far, ...
1
vote
1answer
61 views

ffmpeg drawtext text parameter expressions

I am trying to write text on a video in such a way that the text "writes itself" - letter by letter. To do this I was able to do something like this: -vf ...
2
votes
0answers
25 views

ffmpeg h264 crashes IE intermittently

First for moderators, this is relevant because I have incorporated ffmpeg in a program to render videos needed for a web-app. My problem is that the videos I render randomly crash IE 11. Other ...
1
vote
1answer
105 views

FFmpeg script to clean up and compress iPhone video recordings from university lectures

I video record my university lectures using an iPhone 6 and then export them to OS X. The files can often become up to 4 GB/hour in size. I'm looking to create or use a pre-existing solution that can ...
1
vote
1answer
882 views

How to work with R3D and RMD files? FFMPEG?

I am getting collections of files of the types A0123-random-name.RMD A0123-random-name.R3D Googling tells me R3D is a raw RED file and RMD is Red Meta Data - data about the processing to be ...
1
vote
1answer
39 views

Unable to hardcode subtitles in FFmpeg on Mac to mov

I would like to hardcode subtitles using FFmpeg, I'm trying to do this using the following command: ffmpeg -i grdedFinal.mov -vf subtitles=portSbs.srt gradedFinalwithSubs.mov which returns the ...
0
votes
0answers
4 views

FFmpeg on android with libX264 and libfreetype [migrated]

I previously had a ffmpeg build with just the x264 library and now I have re-complied ffmpeg with x264 and libfreetype. I used the guardian project and used the following script #!/bin/bash . ...
1
vote
1answer
116 views

Putting a Lower bitrate of my video stream in my current mp4 container

Sorry if my question is too noobish, this is my first question. What I have is: An mp4 movie with a video stream and an audio stream. What I want in the output: Is an mp4 file containing: the same ...
0
votes
1answer
18 views

Loss of quality while adding subtitle via FFmpeg

After solving on problem I cam coming to a next one. After adding subtitles, discussed here, with the command: ffmpeg -i grdedFinal.mov -vf subtitles=portSbs.srt gradedFinalwithSubs.mov the quality ...
0
votes
0answers
10 views

Is it possible to remove “ghosted” frames from video using ffmpeg? (or other cross-platform CLI tools)

I have some videos which were butchered by evil processing, resulting in spurious extra frames which are simply neighbor frames blended together (plus some random difference from compression ...
0
votes
1answer
30 views

Are “mp2v” and “mpgv” valid MPEG-2 codec tags in an MOV?

This question is related to What is the correct MPEG-2 FourCC? and to an open discussion currently on the ffmpeg-user mailing list: I am wondering if I should file a bug report about the MOV ...
0
votes
1answer
30 views

Add transparent background to ffmpeg with text over it

How to correctly add expression to transparent background like on this question ffmpeg drawtext filter - create transparent background with text for my case (where there are 3 lines in bottom right ...
0
votes
1answer
51 views

Output format and quality to be same as input

Have many videos different videos of different format and quality in which i need to add small amount of text. What command should i use to get same file format/quality for output as it was for input ...
2
votes
2answers
1k views

remove black frames from vob files with ffmpeg

I have a few .vob files with "black frames" (it seems that an issue during the acquisition from VHS did that). I can get where these black frames occur with the command ffmpeg -i source.vob -vf ...
0
votes
1answer
32 views

Scroll text left to right and back

I am using this line which works fine for showing text in 3 lines starting at 0.3sec, ending at 0.6 sec. in bottom left corner. I would like to add scroll in and scroll out effect in ffmpeg. Both in ...
2
votes
2answers
48 views

ffmpeg Multiple Audio Language and Soft- Subtitle

I'm trying to convert a movie, using ffmpeg, from Movie.mkv to Movie.m4v. The Movie has 2 Languages and 1 subtitle stream. Using ffmpeg -i inputMovie.mkv outputmovie.m4v the result is just one ...
0
votes
1answer
19 views

How can I create a video from an image sequence that is named with a date in the FFmpeg?

I am using FFmpeg I'd like to create an mp4 using an image sequence. But the images are not named sequentially, like 1, 2, 3, 4... Instead they are named with a time stamp in the form yyyy-mm-dd-mm. ...
4
votes
2answers
472 views

Convert .WMV using FFmpeg

I'd like to use FFmpeg on the Mac Terminal command line to convert a .WMV file. I'm familiar with the syntax: ffmpeg -i /path/OriginalMovieFile.wmv /path/NewMovieFile.??? However, my recent attempt ...
0
votes
1answer
58 views

FFmpeg cuts video?

I'm trying to add an image to the start of a video. I don't want it to overwrite the video, I asked about it and got this answer: ffmpeg -r 30 -loop 1 -t 3 -i image.jpg -i inputvideo.mxf -f lavfi -t ...
0
votes
0answers
22 views

ffmpeg drawtext filter problem with eif option

I want a countdown timer in my video in hours minute second format. I tried "drawtext" filter using eif option but it only provides me with countdown timer in seconds. I want complete H:M:S format. ...
0
votes
1answer
29 views

How to set double fps for tbc option of video

I need to set tbc option for output video. For example, input video has 25 fps with 50 tbc and my encoded video has 25fps with 25 tbc. I used settb and video_track_timescale but these options did not ...
1
vote
3answers
48 views

Fast way to add titles to music videos

I have lots (1000+) music videos ready to be aired but without usual titles (artists, album, publisher). I need fastest way to add (bulk?) titles to all of them. Graphics or simple text will be same ...
1
vote
2answers
32 views

Do media containers contain multiple audio channels in separate streams?

The title is self-explanatory. If a media container file (like MPG) contains multiple audio channels, such as left or right channels, does it take these audios in separate streams??
1
vote
3answers
38 views

ffmpeg: final video too big

I have one image ~1MB (jpg) and a ~30 mins audio file ~7MB (m4a). What I am trying to get is a final video that lasts like the audio file (30 mins) with the same image displayed. I get that with the ...
4
votes
1answer
202 views

ffmpeg - specify channel layout flags

I have the below file which I am re-mapping the audio and trying to set the channel layout flags on a Quicktime Prores file, but can't seem to get it working. I can successfully re-map the audio (from ...
0
votes
1answer
91 views

Encoding videos for MPEG-DASH

I read this article on encoding for MPEG-DASH, which has helped me a little and then follow up article. My end goal is to create a batch file that can read in a directory of MP4 files, and then ...
0
votes
0answers
60 views

what graphics card features effect NVIDIA NVENC hardware encoding speed?

I have a web project I am working on that requires transcoding of multiple short video clips (6-10 seconds) uploaded by users into a web friendly H.264 format on my linux server. I have been able to ...
1
vote
1answer
42 views

ffmpeg audio to visualisation

I would like to "convert" audio to video visualisation (oscilloscope or waveform) sort of like some media players have. I read this thread on how to do so with ffmpeg: How do I turn audio into video ...
12
votes
3answers
13k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
4
votes
2answers
3k views

Non-Monotonous DTS on concat (ffmpeg)

After running this command ffmpeg -f concat -i mylist.txt -c copy output.mp4 - I'm getting corrupted output.mp4 file and this message: ffmpeg -f concat -i mylist.txt -c copy output.mp4 ffmpeg version ...
0
votes
1answer
42 views

ffmpeg streaming to rtmp and extracting image periodically

I'm using this command to receive a input stream and transcode it to a different resolution and stream it to ustream. ffmpeg -hide_banner -loglevel info -progress /tmp/ffmpeg.log -i ...
0
votes
0answers
31 views

FFMPEG Tiff images to losseless video (H265) lags, broken output

I have 226 sequenced images (TIFF, 6.2MB each) and i would like loseless save them like video by using H265. Here is command which I used: ffmpeg -f image2 -framerate 25 -i IMG_%03d.tif -vcodec ...
0
votes
0answers
16 views

random errors from ffprobe

I'm trying to create a multicast MPEG stream scanner (with Python if that's of any relevance) that would be able to scan a multicast network range and give me information about the streams available ...
3
votes
1answer
44 views

ffmpeg: pillarbox 4:3 to 16:9

I'm confusing myself over how the video filters work, particularly how they work together, I think. I have two MKVs, pulled from DVD, that are respectively 16:9 and 4:3. What I would like to do is ...
1
vote
1answer
62 views

How to add images at the end of an existing movie?

I'd like to add some images at the end of a mp4 file via ffmpeg: Any help would be greatly appreciated.
2
votes
1answer
61 views

Using ffmpeg with avfoundation, capture_cursor and capture_mouse_clicks options are ignored

Situation: cash-strapped ivory tower visionary and ffmpeg newbie manacled to a 2nd hand 2010 Macbook Pro concealing a 'Black Screen of Death' NVIDIA GeForce GT 330M graphics chip. With the help of ...
2
votes
1answer
348 views

HEVC binary to MPEG 2TS

I'm trying to convert a HEVC bit stream to MPEG-2 TS using ffmpeg. However I can't seem to perform the task without a wrapper such as mp4. Here is the command I was trying. ffmpeg -i ...
1
vote
0answers
23 views

CRF for 'visually lossless' for libx265 [duplicate]

The ffmpeg wiki page for H.264 states that: Consider 18 (CRF) to be visually lossless or nearly so: it should look the same or nearly the same as the input but it isn't technically lossless. ...
2
votes
1answer
116 views

ffmpeg concatenation introduces video stutter but does not affect audio

I've gone through several different variants of this process and it always causes me problems. I've gotten it working sometimes but it doesn't seem to be consistent. I have a video camera which ...