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

1
vote
0answers
187 views

RTMP WriteN error using NVENC while libx264 works fine via ffmpeg

I am trying to run some transcoding tests to figure out how well ffmpeg works on some GPU servers we have. From my desktop I am sending up an RTMP stream via OBS to a media server system we have ...
1
vote
0answers
46 views

Generating a thumbnail reel from a video with image magik and/or ffmpeg

I read a post detailing how you can call ffmpeg from image magik. I want to learn how to: Take a series of screenshots from a video, store them in memory (dont' write all images to disk) at the end ...
1
vote
0answers
89 views

Does converting from DTS-HD MA to AC3 lead to lower quality versus extracting the DTS core?

DTS Core is 1.5 mbps, AC-3 is 640 kbps, but I heard that AC-3 is much more efficient than DTS and that DTS at 1.5 mbps equals AC-3 at 640. However, if the source is DTS-HD MA, extracting the DTS core ...
0
votes
0answers
27 views

Create video with fading images

I have a problem with ffmpeg, I tried a lot but I don't succeed. Could someone help? I want to show images on a video, those images have to fade in and out. However it is unknown how many images ...
2
votes
1answer
187 views

Record a time-lapse screen-capture directly in ffmpeg

Can I use ffmpeg to record my Xorg desktop (without audio) at one frame a second into a video file that will play back the frames at 30 frames per second without requiring a conversion process? The ...
0
votes
0answers
21 views

Obtaining block type statistics with FFprobe

Is it possible to obtain the number intra- and inter-coded blocks in a video sequence using FFprobe. I know that one can get the frame type for all frames with the following: ffprobe -show_frames ...
1
vote
1answer
252 views

How to select font for burning subtitles with ffmpeg

When burning subtitles into video with ffmpeg and libass, the Arial font is selected by default. How do I choose a font and font size manually? I googled this to no avail. (I'm on OS X if it matters.) ...
1
vote
2answers
101 views

How to extract a frame out of a video ffmpeg

I have a video and I want to extract 35-th frame out of this video. I want it to be a png image if possible. I now there are a lot of questions like this, but i could not find a solution that was ...
0
votes
0answers
128 views

Concat (filter_complex) does not work for me, but Demux and Protocol do

Four parts were cut from a much larger .ts video file using vlc. The `cuts' were made using start-time, stop-time which possibly resulted in video boundaries which were not well-defined. I could not ...
0
votes
1answer
51 views

FFMPEG concat does not include a looped image (using named pipes)

After a lot of research and testing, I wrote a command that I can adapt for multiple sources to be concatenated using FFMPEG. I'm running into a problem though with add looped images (as videos) into ...
1
vote
1answer
388 views

Failed loading CUDA library when trying to use ffmpeg with nvenc

On Ubuntu 14.04 I am following the instruction guide from NVIDIA's site to get ffmpeg running using GPU encoding. I followed the instructions (as far as I can tell), installed the NVIDIA SDK local ...
0
votes
0answers
926 views

Can I use a Synology NAS to encode video with FFmpeg?

I record a few hours of video footage every day, and then encode it on my computer which takes many, many hours. The CPU usage goes up to a level where I can't use my computer with ease. Since I have ...
0
votes
0answers
24 views

create AVC_Intra from uncompressed in best quality

I have some 720p uncompressed YUV video and I need to transcode this video into an AVC-Intra using the best possible quality. The best possible Quality is needed, because the video probably will be ...
1
vote
0answers
182 views

How ffmpeg maps metadata?

I have my music library on my machine in flac and ogg format. However, to be able to listen to the music in the car, I convert the flac/ogg files to mp3 using ffmpeg. There are a couple of issues ...
0
votes
0answers
81 views

How to avoid mouse pointer flicker when capture a window by FFmpeg?

I used gdigrab for capture a window. it works well, But the mouse pointer blinks. (Especially when the window size is large) My command : ffmpeg -y -f gdigrab -framerate 25 -i title="MyWin" out.mpg" ...
0
votes
0answers
35 views

Embed a picture-based overlay subtitle

I've been trying to embed a subtitle (a picture-based one, I'm having issues with plex, but this is an other story) to .mkv. I've tried it with this code: ffmpeg -i input.mkv -filter_complex ...
1
vote
1answer
37 views

Using ffmpeg to cut a portion of a mkv

So I'm trying to extract a portion of a video but for some reason the output file has a higher bitrate than the original! The original has a 9 mbps bitrate and the resulting file has like 21.9 mbps! ...
0
votes
0answers
163 views

Buffering FFmpeg input in the RAM

I'm using file as an input and outputting a live stream, but my disk has a ton of I/O spikes(from other tools) so I wonder, is there a "built in" way to buffer it in the FFmpeg memory? I can use ...
2
votes
0answers
115 views

ffmpeg's Dolby Pro Logic feature is leaking center channel into surround channel

This is kind of long because I wanted to cover everything we’ve tried, which are many, many things, so no one will waste time with a response covering something we already tried. I am the technical ...
1
vote
1answer
63 views

Merge 2 videos with a horizontal 10px border between them

I am using the following command to marge 2 videos side by side. ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v:0]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w" output.mp4 How I can give a 10px ...
1
vote
1answer
457 views

ffmpeg settings for VHS mpeg2/mp2 to H264/MP4 VBR conversion and reducing file size

My input is as follows: Input #0, mpeg, from 'D:\Videos\2015.mpg': Duration: 01:49:08.74, start: 0.220000, bitrate: 4940 kb/s Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg), ...
2
votes
0answers
43 views

Setting up a watchfolder

I want to make a folder that I can put any video file into and have ffmpeg catch it and spit it out as an mp4 and remove the non-mp4 file. I have the following: for f in *.*; do ffmpeg -i input ...
0
votes
0answers
382 views

Interpolation with FFmpeg

Is there a way to interpolate frames with ffmpeg? and not just copy them. I tried slowmovideo and boy it is slow. I used Twixtor in vegas and hated it. I gave megui and could not get it properly set ...
0
votes
0answers
72 views

ffmpeg convert to mp3 with same duration

I am using ffmpeg to convert a flv with speex audio codec generated from red5 server to mp3 file. I am using the following command to convert flv to mp3 ffmpeg -i input.flv -acodec libmp3lame ...
0
votes
0answers
33 views

How to do this ffmpeg command correctly?

I'm new to ffmpeg. I have an input file (input.mp4) I want the video in its first 20 seconds (00:00:00.0=>00:00:20.0) to be flipped horizontally and the last 20 seconds (00:00:20.0=>00:00:40.0) to be ...
1
vote
2answers
251 views

mp4 video for asterisk with ulaw as audio and h263 for video

Scenario: I want to play a video file on asterisk. my softphone only support ulaw/h263 for audio and video respectively. So I am allowing both formats in sip.conf file and expecting it to run. ...
1
vote
1answer
175 views

How do I use ffmpeg to mix an audio/video file with an audio file with an offset?

I have two media files that I want to combine using ffmpeg. File 1 contains audio and video and starts at time = 0 sec. File 2 contains contains audio only, and the start of this file is at time = ...
0
votes
0answers
87 views

Why can't I pipe ffmpeg output fed from webcam?

I am trying to capture the input of my webcam and pipe the stdout of ffmpeg to another process. The command I am using is ffmpeg -f avfoundation -framerate 30 -i "0" - and it keeps giving me the ...
4
votes
2answers
124 views

How to I build/compile the latest FFmpeg snapshot for OS X?

How do I compile FFmpeg for OS X in a way that is equivalent to the Homebrew release with these settings? brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi ...
0
votes
1answer
55 views

FFmpeg: Missing filter

I am using ffmpeg installed with Homebrew for OS X. An audio gate filter that I want to use, agate (af_agate.c) is not included with my install, but is included as a default filter in the filter ...
1
vote
1answer
137 views

ffmpeg: convert image to video with empty audio track

I've found a good command to convert an image to a video in FFMPEG, but each image is going to be concatenated into a longer set of videos and images, and I need concat to concatenate the audio tracks ...
0
votes
0answers
23 views

Debian opus troubles

I'm trying to play webm(or mkv) files with vlc. Here's ffmpeg file.webm output Input #0, matroska,webm, from 'webpunk.webm': Metadata: title : title encoder : ...
0
votes
0answers
33 views

Two pass ffmpeg encoding

ffmpeg -y -i input -c:v libx264 -preset medium -b:v 555k -pass 1 -c:a libopus -b:a 60k -f mkv NUL && \ When I run this it just gives me "requested output format 'mkv' is not a suitable ...
0
votes
1answer
74 views

Convert multiple images to a gif with cross-dissolve

I've found both of these amazing answers on Superuser: one to convert a series of images to a video with cross-dissolves between them, and another to convert a video to a high-quality gif. My ...
1
vote
1answer
79 views

ffmpeg overlay duration issue

I'm getting desperate trying to figure out why ffmpeg overlay filter misbehaves I have the following ffmpeg command ffmpeg -loop 1 -r 60 -i ./tmp/tmp0.jpg -loop 1 -r 60 -i ./tmp/tmp1.jpg -y ...
0
votes
0answers
180 views

Fade in and Fade out drawtext and drawbox ffmpeg

I am using FFmpeg on andriod and the following is the configuration : ffmpeg version 2.8.2 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 7.0.0 (clang-700.1.76) ...
1
vote
1answer
249 views

Conflicts between attempted installs while installing gstreamer plugin on Centos

I am trying to install gstreamer-ffmpeg package for opencv c++ coding purpose on Centos-6.7 When I type; sudo yum install gstreamer-ffmpeg* it gives error: Transaction Check Error: file ...
1
vote
0answers
505 views

How to stream a complex video to YouTube using ffmpeg?

I have a video that I'd like to stream live on YouTube using ffmpeg. The video has no audio, but rather busy visuals (lots of rapidly changing colors). I'm trying to stream at 720p, but whenever I ...
0
votes
0answers
92 views

ffmpeg video cutting error: out of sync audio

I want to be able to upload a video to a server and cut it if I want to. So, first I encode it: ffmpeg -i input.mp4 -vcodec h264 -acodec aac -strict -2 -preset slow output.mp4 Then I try to cut ...
4
votes
1answer
213 views

What is an efficient way to do a video crossfade with FFmpeg?

Doing a crossfade between two pieces of video content is actually quite complicated in FFmpeg. There is no “crossfade” filter like there is for audio. What’s an efficient way to do it?
1
vote
1answer
182 views

FFMPEG: filter_complex how do I duplicate one output pad to multiple input pads

This SEEMS like it should be easy, but I can't figure out how to do it! How do I do this? ffmpeg -i file.mp4 -filter_complex [0:v]some_transform(trim, etc.)[c1][c2]; [c1]do_something[out1]; ...
0
votes
0answers
70 views

A command to merge video and audio file using “ffmpeg” and remove the source files

I want to merge audio and video using ffmpeg. I use following command but it keeps the input (source) files while I want to delete them after they were merged. I want to see if there is a command for ...
1
vote
1answer
165 views

How to use ffmpeg to extract live stream into a sequence of mp4

I would like to record a live stream to a sequence of mp4 on disk. I'm able to do one file like this: ffmpeg -i rtmp://source.com/live/stream -r 5 -t 60 c:\test.mp4 This results in one 60s mp4 ...
0
votes
0answers
85 views

ffmpeg cut video in an HLS stream, pauses playback

I have this playlist: #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:7 #EXT-X-MEDIA-SEQUENCE:0 And I want to insert a cut clip as the stream is being generated that is a bit shorter than the normal ...
0
votes
1answer
25 views

Concatenation of files with different codecs attributes?

It shows in the ffmpeg documentation the following code example: ffmpeg -i input1.mp4 -i input2.webm \ -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" \ -map "[v]" -map ...
0
votes
1answer
79 views

Understanding FFMPEG codification process

I am developing some code with FFMPEG and my purpose is to transcode a single video file with keykrame aligned to do Adaptative Bitrate. So, my question are why fps is changing during codification ...
0
votes
0answers
20 views

Directly decode potion of each video frame using FFmpeg

Is it possible using FFmpeg or other video codecs to directly decode only a portion of each frame (e.g. a rectangle specified by the coordinates of the top-left and bottom-right pixels) without having ...
1
vote
1answer
210 views

Set the Creation Date of a file to that of another file with Powershell

Can someone help me get this line right? powershell Set-ItemProperty -LiteralPath '[NewVideo]' -Name CreationTimeUtc -Value ('[CreationTimeOfOldVideo]' -as [Datetime]) I am trying to rotate video ...
1
vote
0answers
31 views

How to name a stream in FFmpeg

When viewing a video/audio stream in MPC I sometimes notice a title before the stream data such as "encoded by xxx" or something simple like "video". What flag does one use to edit this little bit of ...
0
votes
0answers
41 views

Fix Blank Video from Window Movie Maker on Linux?

I'm using Window Movie Maker to import DV footage from a mini DV camera, since the fire-wire card only works on windows. I want to use the files on Linux. Unfortunately, they appear to not be ...