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

How to reslove 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
4 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
21 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 ...
0
votes
0answers
14 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
17 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 ...
3
votes
0answers
73 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
34 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
42 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
36 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
49 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 ...
0
votes
1answer
17 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
32 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
31 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
87 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
44 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
125 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
78 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
48 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
70 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: ...
0
votes
1answer
74 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
116 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
208 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
257 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
67 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
47 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
111 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
126 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
140 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
104 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
157 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
202 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
142 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
86 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
122 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
66 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
98 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 ...
1
vote
0answers
26 views

Is there a way? multiple images to looping video via ffmpeg?

I want to use ffmpeg to create a 15 second looping video from images for posting to instagram. For instance: Camera takes 3 pictures Each image plays for 2 frames (3 images = 6 frames) After 6 ...
1
vote
0answers
167 views

FFMPEG Sync Audio & Video From Pi Camera & USB Microphone

Posted this in the Raspberry Pi community, but it got closed for being off topic. Reposting in the hopes that it is now in the right place. I am trying to stream low-quality audio & video from my ...
1
vote
3answers
218 views

Using ffmpeg to cut out a scene by original timestamp

I have a recording (a simple, unprocessed TS from my satellite receiver, not encrypted) that has uneccessary stuff at the beginning and the ending. I want to cut out the main feature now with ffmpeg. ...
0
votes
1answer
38 views

How to lower the volume of the second audio channel with FFMPEG

It's easy to mute one of the audio channels of a video, but I have to lower the second one with some dB. I have searched in documentation about mapping the channels but I am still confised how to ...
2
votes
2answers
2k views

encoding 4:2:2 in 10-bit with libx264

I believe that libx264 is now capable of doing 10-bit 4:2:2 encodings, but I can't seem to get it to work. I'm using ffmpeg (info below), and I've also tried the x264 encoder directly. I've tried ...
1
vote
0answers
142 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
0answers
347 views

The ffmpeg`s filter_complex blend respecting overlay`s alpha channel

I need to blend an video with an semitransparent png like this: [1:0][0:0]blend=all_mode=average Seems like the transparency of png is ignored. What I missed? How to make the ffmpeg to respect ...
0
votes
1answer
72 views

Calculating loss when converting from MTS to AVI using FFMPEG

I am using the following script to convert my MTS video to an AVI video: for %%a in ("*.mts") do ffmpeg.exe -i "%%a" -vcodec libxvid -s 848x480 -maxrate 4800k -b 4000k -qmin 3 -qmax 5 -bufsize ...
3
votes
1answer
445 views

Similar to “levels adjustment” brightness improvement with ffmpeg

I'm composing a video from set of 16bit tiff pictures. The pictures are very dark, and needs to be brightened. Currently I'm applying -vf "mp=eq2=1.0:1.0:0.3:1.0:1.0:1.0:1.0:1.0" filter to make ...
2
votes
1answer
253 views

FFMpeg and HLS, videos need to load in their entirety before they start playing

I am using ffmpeg to generate a segmented list of files in order to stream them to an iOS app. The list of files is generated fine but when it comes time to play them, the video needs to be downloaded ...
2
votes
1answer
62 views

ffmpeg adds unneeded zero samples at beginning of resulting m4a file

Input file original.wav ffmpeg -i original.wav ... Duration: 00:03:36.93, bitrate: 1411 kb/s Convert wav to m4a with fdk-aac encoder: ffmpeg -i original.wav -c:a libfdk_aac -vbr 5 ffmpeg.m4a ...
3
votes
2answers
359 views

How to encode a video at 30 FPS from images taken at 7 FPS

I have no knowledge whatsoever about video encoding, I have an application written in OpenGL and I am saving the frames it generated into png images. The frames from my app are at 7 FPS and I am ...
1
vote
0answers
67 views

How to get ffmpeg/x264 to use same parameters as input?

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264. In short, get ffmpeg to segment the input file. Locate the segment(s) with changes to be made. Re-encode altered segments with ...