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
0answers
17 views

How to transcode HLS with multiple audio tracks

I am trying to create an HLS playlist with multiple audio streams. I have the following files: videoHD.mp4 videoSD.mp4 audioEN.mp4 audioFR.mp4 audioIT.mp4 How would I transmux these all together ...
2
votes
2answers
29 views

How can I set the first frame of a video to an I-frame and the rest to P-frames (preferably with ffmpeg)?

I'd like to try to do some datamoshing like this tutorial. But I'd like to be able to do it programatically, so instead of vdub and avidemux, I'd like to figure out how to do as many parts of this ...
1
vote
1answer
31 views

ffmpeg stream options for mp3, cover art of mp4

I have potentially millions of HLS streaming videos to create from cover art and mp3s. Obviously, I'd like to keep the resulting bandwidth to a minimum. I tried various ffmpeg flags specifically ...
1
vote
0answers
10 views

HyperCam2 video out of sync, ffmpeg throws video out of bounds

I've recorded my over 2h presentation using HyperCam2 but output video is totally out of sync with audio. It looks like video is 2x faster than audio so I have 'Thanks for watching' slide in the ...
2
votes
1answer
45 views

Converting files to Avid-friendly DNxHD MXF

Please forgive the noob question, I'm new here. I've looked for an answer on this forum but not found one so far. I've also tried the BMXlib forum. I'm trying to convert small video files that have ...
0
votes
0answers
20 views

Crossfading audio at beginning and ending of video

The html5 video tag has a loop attribute. When playing a video in a continuous loop, it doesn't do this seamlessly. I hear cracks and pops at the beginning. With ffmpeg I am able to trim .05 seconds ...
2
votes
2answers
33 views

VOB editing with FFMPEG

I read that it is better to extract from vob H264 files within a .ts to have a lossless and more accurate sample, easy to cut, is that correct ? I used these commands : ffmpeg -i VTS_01_1.VOB ...
3
votes
1answer
97 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
77 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 ...
3
votes
1answer
147 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 ...
1
vote
0answers
100 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
100 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
42 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
83 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 ...
2
votes
1answer
284 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
124 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
2answers
104 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
54 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
24 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
2answers
64 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
174 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
37 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
140 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
45 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
74 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
261 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
60 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
135 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
48 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
87 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
32 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
67 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
52 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
331 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
64 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
356 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
131 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
110 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
152 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
165 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
169 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 ...
3
votes
1answer
870 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
968 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
103 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
75 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
213 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
523 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
240 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
180 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 ...