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

1
vote
1answer
37 views

Video converted by FFMPEG has a different duration, why?

I convert videos using FFMPEG. My goal is to convert them to the MP4 container format (MPEG-4 Part 14) with AAC-encoded audio stream and MPEG-4 part 10-encoded video stream. I use the following line ...
2
votes
1answer
38 views

ffmpeg - video with timer

I am currently working with the drawtext and drawbox filters to recreate a similar video appearance to what is shown below in the image. I am trying to see of a possible ways to add a count down timer ...
2
votes
1answer
32 views

ffmpeg drawtext filter - create transparent background with text

I am currently working with the drawtext filter. So far I have only been successful with drawtext option configurations to use the right font and place the text horizontally centered. How could i get ...
0
votes
0answers
23 views

Converting VOB to mp4 (h264) using ffmpeg results in a different length (bya few frames)

I have a VOB file that I want to convert to h264 using x264. I used: ffmpeg -i 01.VOB -f mp4 -c:v libx264 -profile:v baseline -crf 17 -c:a toolame -vbr 3 prehratelne.mp4 which gave me this: ...
2
votes
1answer
59 views

Freeze frame effect with ffmpeg

I am currently fiddling with ffmpeg to achieve a freeze frame effect and so far have been unsuccessful. I have been able to do this with adobe after effects shown here. However I would like to achieve ...
1
vote
0answers
19 views

DVB capture into ffmpeg in windows?

Looking for a way to use ffmpeg dshow to open a tv capture card within windows. I have tried running the list devices command and my usb capture does not show. If it is a device limitation, Im happy ...
0
votes
1answer
45 views

Can I run this in one command line (ffmpeg)

I used this command ffmpeg -i thevideo.mp4 -c:a copy -vf 'drawbox= : x=0 : y=0 : color=invert:enable=between(t\,11\,39)' output.mp4 but it runs very slow. So, I took another approach, I copy first ...
1
vote
1answer
89 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 ...
1
vote
1answer
74 views

FFMPEG: Why does the concat filter cause loss of a/v sync/lipsync?

I am doing some tests with the FFMPEG concat filter (DASH experiments), and am seeing that I start losing lipsync after a few concatenations. Is it expected that one can concatenate independent ...
4
votes
3answers
62 views

Moving Crop in Video

I have an HD video of a speaker giving a lecture. I would like to resize the video by cropping each frame, but the cropping rectangle needs to be centered on the speaker's head as he moves around the ...
1
vote
0answers
24 views

Overlay animated watermark multiple times

So, I have this animated watermark (MOV w/alpha) that I want to overlay on top of a video. I want to do it multiple times, so once in the beginning, once in the middle and finally towards the end. I'd ...
-3
votes
1answer
22 views

FFMPEG 2 audio track input

Here is what I have so far . I just dont know how to add plughw:1,0 into the command . I have tested that recording does work on plughw:1,0 . function stream { ffmpeg -r 10 -threads 2 \ -f ...
1
vote
1answer
36 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 ...
1
vote
1answer
52 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 ...
0
votes
0answers
23 views

FFMPEG: Windows binaries with globbing (libavformat) support?

I am struggling to get ffmpeg to combine a bunch of images in to a video which have a format with a full 17 digit timestamp. 17 digits is well beyond what -i %d will support. So I want to use ...
1
vote
0answers
25 views

ffmpeg mute specific time [duplicate]

Looking to edit a blip out of the beginning of a video/audio file... Anyone know why this doesn't work as expected? ffmpeg -i ~/Downloads/in.mov -vcodec copy -af ...
1
vote
2answers
71 views

ffmpeg: mute first 2 seconds in all audio streams

Looking to edit a blip out of the beginning of a video/audio file: How can I use ffmpeg to only edit the first two seconds of the clip so that there's no longer that blip in the audio? How do I ...
2
votes
1answer
29 views

How to extract Xtra atom from MP4 file?

Can one dump/extract the Xtra atom from an MP4 file ? I am looking for a solution on a linux system (debian/jessie if possible). Apparently this atom is used by WMP, as per link. I'd like to be able ...
0
votes
1answer
45 views

Screen capture AND audio recording in ffmpeg

I am using ffmpeg built from source at this revision in Fedora 20. I am able to record audio perfectly fine with the command: FFmpeg/ffmpeg -f alsa -ac 2 -i pulse -- output.wav However, when I try ...
4
votes
0answers
149 views

Copying h.264 video from TS into MP4 changes frame rate and time

I have large MPEG-TS file that I am converting to MP4 using the below command. If I seek to the same time in the video in both the MP4 and the TS file, the MP4 will be a few frames behind the TS ...
0
votes
2answers
42 views

Why reencode MP4 to MOV for “easy post processing”?

On this page author reencodes MP4 from GoPro to MOV for "easy post processing". Why the processing becomes easier after that? The author also uses -sameq flag which is gone from ffmpeg without the ...
1
vote
1answer
79 views

How to get FFMPEG output the same quality as Vimeo?

I like Vimeo, but I rather host a player and video myself. So I was wondering if someone knows how to get the closest result to Vimeo quality, but from FFMPEG? It seems that Vimeo uses 1280 pixels ...
1
vote
0answers
41 views

Why does parameter round in ffmpeg's cropdetect default to 16?

I have been experimenting with some ffmpeg options and I could not figure out, why the resulting files had been in a format I did not want. After further combing through the man pages, I realized that ...
2
votes
1answer
67 views

HTML5 background video encoding settings

I'm doing a full page background video and I'm trying to convert the original mp4 to an webm. The background will not have any audio. I'm currently using ffmpeg. ffmpeg -i INPUT.mp4 -b 614400 -s ...
1
vote
1answer
25 views

What means “Data: Skeleton” in an .ogv file?

My Question: I made a screencast with recordmydesktop (Version 0.3.8.1). When I investigate the rendered file with avprobe I see, that there is Stream #0.0: Data: skeleton in the produced file. I ...
0
votes
0answers
48 views

Frames with pict_type=I yet key_frame=0

I am trying to exrtact key frame information from a mp4 video using ffprobe with the command: ffprobe -select_streams v -show_frames FILE_NAME 2>/dev/null I am getting the list of all frames. ...
0
votes
1answer
42 views

Best presets to scale legacy 4:3 and 5:4 videos using ffmpeg

We have videos in row format (.mov) that are 4:3 (768x576) and 5:4 (720x576). We have a recommended preset for streaming over DASH to HTML5 and Silverlight players (this is the second pass): ffmpeg ...
1
vote
1answer
188 views

How to extract MOOV atom/metadata from MP4 file?

Can one "dump"/extract the MOOV atom from an MP4 file? If so, how? Hoping for an obscure FFMPEG command. I need to be able to process/play a stream without searching for the MOOV atom over and over ...
1
vote
1answer
50 views

Is H.264 subject to exploits / are some H.264 codecs subject to exploits?

How safe are H.264 streams from exploits? More exactly, are the consumer-grade H.264 codes generally "safe"? I am currently gratuitously transcoding A/V files to avoid being exposed to possible ...
2
votes
1answer
240 views

How to specify CRF quality settings for different encoding software

Is there a way of specifying a quality setting for h.264 that is not software dependant? I'm trying to help a colleague create a specification for outside contractors when they deliver video to us ...
0
votes
1answer
106 views

Merging mp4 video stream with subtitles for use in creating DVD

Suppose I have two files called foo.mp4 and foo.srt. The mp4 file doesn't have subtitles, and I want to add subtitles from the foo.srt file. The utility mencoder is frequently recommended in this ...
2
votes
1answer
82 views

Is it possible to merge two or more videos in real-time like this?

Is it possible to play video online that's made of two or more video files? Here's what I mean. My site is hosted on Linux/Apache/PHP server. I have video files in FLV/F4V format. I can also convert ...
1
vote
0answers
110 views

Merge two transparent webm videos with ffpeg

I'm trying to merge two transparent webm videos together while keeping their transparency using ffmpeg Main video: https://s3.amazonaws.com/medlike/logo.webm Overlay video: ...
1
vote
1answer
115 views

using -force_key_frames in ffmpeg with libx265

I'm trying encode a video stream using HEVC with ffmpeg and create a MPEG-TS file. I need to be able to insert IDR frames to certain locations in the stream. I came across the flag -force_key_frames ...
0
votes
0answers
146 views

ffmpeg drawtext clipping to a bounding box

I'm trying to create a transparent box with some text in it and then overlay that onto a (bigger) existing video. I know I can do the text directly over the video, but I need the text bounded inside ...
1
vote
1answer
465 views

How to downsample 4k to 1080p using ffmpeg while maintaining the quality?

I have some 4K 3840x2160 footage in MP4 format that I need to bring down to 1080p. I tried running ffmpeg -i orig.mp4 -vf scale=1920:1080 smaller.mp4 but the result is very poor quality, with ...
0
votes
1answer
592 views

Faster deinterlacing with ffmpeg and yadif

We are using two-step encoding with ffmpeg to encode raw .mov files to multiple .mp4 encodings ready for streaming over the Internet. Some of the videos are interlaced and we are using yadif to ...
2
votes
3answers
79 views

Can I use h.264 codec inside .mp4 container for my website

I would like to use h.264 as the codec inside .mp4 container for my user uploaded videos for my website. But I saw somewhere that h.264 is non free. I am unsure whether I can use this technology or ...
0
votes
1answer
59 views

ffmpeg split file retains original length

I've losslessly extracted 30m from a ~1.5h long video using the following ffmpeg command: ffmpeg -ss 0 -t 00:30:00 -i in.mp4 -acodec copy -vcodec copy out.mp4 The split was successful and out.mp4 ...
0
votes
2answers
174 views

Sync up ffmpeg `rawvideo` recording and Audacity ALSA recording

I am attempting to transfer some Video 8 tapes to my computer with ffmpeg and Audacity. ffmpeg captures a rawvideo stream from an EasyCap dongle, and Audacity records from the line-in audio jack. ...
1
vote
1answer
241 views

Can I use FFMPEG in a commercial product [closed]

Not sure if I am correct posting my question here and I will of course delete this question if appropriate. I have a c# desktop app using FFMPEG I have a web service using FFMPEG. I sell both ...
1
vote
1answer
177 views

Correct lens distortion with ffmpeg

It seems to be possible to correct lens distortion with ffmpeg. According to the manual you can adjust K1 and K2 values. What this means? How to use it correctly? Example still image - captured with ...
2
votes
1answer
128 views

How to do mpeg/mpg to mov lossless convertion?

Does anyone know how to do lossless conversion from *.mpeg/mpg to mov? I was asked to extract video from DVDs and do editings in FCPX, however FCPX cannot edit *.mpeg/mpg file natively, therefore I ...
4
votes
2answers
338 views

What is the difference between ffmpeg and ffmbc now?

Two years ago I've used ffmbc to encode videos to prores, but nowadays ffmpeg also supports prores and avchd. What is the difference between ffmpeg and ffmbc now?
2
votes
1answer
367 views

How to compile FFmpeg with libfdkaac into a single static binary?

My target is to build a single static FFmpeg binary with libfdkaac and x264 support for OSX and Linux. First, I tried to build one on OSX, I follow the instruction on FFmpeg web: ...
2
votes
1answer
192 views

ffmpeg Color conversion - 709 to 601

I am downscaling an HD movie from 1920x1080 to 720x576 and want to make sure the color conversion is done correctly, which with my current settings I am sure it is not. I am coming from an HD Prores ...
1
vote
0answers
119 views

What is the ffmpeg filter equivalent of “Automatic levels” for colors?

Looking at the documentation about filters there seems to be a curve filter to manipulate color with the following presets: color_negative cross_process darker increase_contrast lighter ...
3
votes
2answers
197 views

Add image under the video with ffmepg

I want to extend basic usage of watermark and put it under the video. That means. I have input video 720x480 and image 720x20. On output i want to have video 720x500 where video aspect is preserved ...
1
vote
0answers
99 views

Any m2ts optimizer under Linux? [closed]

My goal is to optimize m2ts generated by ffmpeg for HLS because the generated m2ts has lots of structural overhead. The below is an example of the result analyzed by Apple Media Stream Validator: ...
2
votes
0answers
112 views

How to display static image if the input stream ends using ffmpeg?

I am receiving a stream over the network with the following ffmpeg command: ffmpeg -i rtmp://server:port/input.stream -f flv rtmp://server2:port/output.stream When the input stream stalls, I want ...