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
1answer
18 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
271 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
56 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
23 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
101 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
866 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
36 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
16 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
24 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
29 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
49 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
29 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 ...
1
vote
1answer
24 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
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
463 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
56 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
27 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
45 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
31 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
35 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
195 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
63 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
49 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
41 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
39 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
38 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
27 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
15 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
36 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
56 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
53 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
342 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
111 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 ...
1
vote
2answers
866 views

How to resolve ffmpeg error cannot load default config file?

I have got this error message when using ffmpeg [Parsed_drawtext_0 @ 03bdc300] Could not load font "/Library/Fonts/DroidSansMono.ttf": cannot open resource Fontconfig error: Cannot load default ...
2
votes
1answer
151 views

How to limit file size with ffmpeg?

I want to encode a video, that has a length of 60 seconds, to a target or maximum size of 10 MB. There are two approaches I know of. One is explained in the FFMPEG-Wiki, and the other one I found in ...
1
vote
1answer
53 views

FFMPEG duplicates the first frame when encoding

Using ffprobe shows that both videos have the same framecount, still if I extract the frames as images the compressed one has an extra frame at the beginning (which is just the duplicated first ...
4
votes
1answer
78 views

4x resample videoframes using ffmpeg

I need to speed up video by a factor of 4x, but do not want to drop the frames and instead average them. I.e. each 4 frames are averaged, and produce 1 output frame. Target frame-rate stays the same, ...
2
votes
1answer
41 views

ffmpeg trying to convert AVI to MP4 but not playing

I'm trying to convert a video file from AVI to MP4 but it doesn't seem to play, my code: exec("ffmpeg -i ".$video." -c:v libx264 -pix_fmt yuv420p -movflags faststart ".$withoutExt.".mp4") Even ...
0
votes
2answers
38 views

Can FFmpeg output time duration since the start of a job?

Is there a way for FFmpeg to output or log time duration since a particular job/process was started? I know that there are more or less complicated ways to display a progress bar which really seems ...
1
vote
0answers
16 views

Why ffmpeg dcp playback behaving a different ways in mac and ubantu

I have a Mac desktop and a Linux Ubuntu setup. I have installed source code of ffmpeg with x264 and Libopenjpeg support in Linux. On the other hand I have installed homebrew version of ffmpeg with ...
0
votes
1answer
32 views

Mac video capture / recording at a resolution larger than, and aspect ratio different to, native display

Goal: I'd like to upscale a recording from a 1680 x 1050 (16:10 aspect ratio), 2010 Macbook Pro screen to 1920 x 1080 (16:9) for 'best-try' upload to a variety of target platforms (FB, YT, Vimeo etc). ...