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

ffmpeg conversion losing frames

I am using ffmpeg to load and mp4 and save an mp4. When I load the source mp4 (from android screen record) into blender, it will not import properly and unusable. When I run the mp4 through ffmpeg, ...
1
vote
1answer
50 views

Tool for cutting video

I have an MP4 format video. I was wondering if there is a good tool to take a video, and create n number of new videos, by just setting a bunch of cut points. Obviously most video editors will be ...
1
vote
1answer
267 views

How to use FFmpeg Command for Reverse Video?

i am use to FFmpeg library in android for reverse video. I can dump images from video but how to reverse all images and make video. See this link that from i am use to library in my gradle.. Library ...
0
votes
0answers
50 views

FFMPEG logging level output

I would like FFMPEG to "print" the names/numbers of its logging levels of its stdout/stderr output. By default it seems to represent the logging levels with ANSI colors, which I cannot read with ...
1
vote
1answer
61 views

FFMPEG prores_ks 4444 color shift

I am attempting to encode "ProRes 4444" movies with ffmpeg. Some research led me to the "prores_ks" encoder, which is the only one of ffmpeg's prores encoders that supports "4444". I used this ...
1
vote
1answer
90 views

FFMPEG not writing quicktime “COLR” atom

I am attempting to create Quicktime movs with the "DNXHD" codec with the following ffmpeg command (input part excluded): -c:v dnxhd -b:v 175M -pix_fmt yuv422p10le test.mov This works, and is ...
0
votes
0answers
50 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 ...
0
votes
1answer
41 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 ...
1
vote
1answer
66 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 ...
1
vote
1answer
69 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 ...
2
votes
1answer
261 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
26 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 ...
0
votes
1answer
51 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
29 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 ...
1
vote
1answer
94 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
1answer
107 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
85 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
111 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 ...
1
vote
1answer
109 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 ...
1
vote
1answer
174 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
3
votes
2answers
121 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
131 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
59 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
0answers
77 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. ...
1
vote
2answers
49 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??
2
votes
3answers
88 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 ...
3
votes
1answer
377 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 ...
0
votes
1answer
736 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 ...
1
vote
1answer
158 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
81 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 ...
0
votes
1answer
163 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

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 ...
1
vote
0answers
85 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 ...
3
votes
1answer
200 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
0answers
25 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. ...
4
votes
1answer
1k 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
2answers
193 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 ...
2
votes
1answer
214 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 ...
1
vote
0answers
31 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 ...
1
vote
2answers
46 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. ...
0
votes
2answers
70 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
1answer
112 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.
0
votes
1answer
50 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). ...
2
votes
1answer
153 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 ...
1
vote
1answer
103 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. ...
0
votes
1answer
53 views

Accurate audio selection

How do I select the audio corresponding to a set of filter-selected videoframes? E.g. at the moment I am sampling 1 in every 100 frames of a video (running at 15fps) using the FFMpeg select filter. ...
3
votes
1answer
1k views

convert horizontal side by side to vertically stacked 3D video

I have seen this and this post explaining how to crop and stack videos using ffmpeg. My question is - is there an easy (preferably one step) way to turn a horizontally stacked video into a vertically ...
1
vote
1answer
115 views

x265: Is it possible to re-compress HEVC video without quality loss?

My situation: Transcoding 1080p bluray videos to HEVC. Audio untouched; My rig is old (pre-2012) and to speed up the process I'm using --preset ultrafast; From x265 documentation, I understand that ...
1
vote
0answers
59 views

FFMpeg encode with original codec

I know about the -c copy switch with ffmpeg, but this does not work with filters as it means "don't re-encode". But what I want is to have my output use the same stream formats as my input. So if I ...
0
votes
2answers
109 views

FFmpeg: What is an acceptable value for the q= parameter?

I'm trying out encoding video with ffmpeg using x264 on a NAS machine with a 2.4 GHz processor. This yields a terminal output that has a high number in the q= parameter: frame= 236 fps=0.2 q=29.0 ...