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

ffmpeg to cut intro and replace with new intro

I am using ffmpeg to cut out the intro in my video and replace it with a new intro. I run into a buffer underflow error when I try this. The commands I'm using are: ffmpeg -i ...
2
votes
0answers
22 views

ffmpeg reducing 60fps to 30fps, but file size is larger

I just did: ffmpeg -i inputfile -r 30 -vcodec libx264 -an -s hd480 output_30.mp4 and ffmpeg -i inputfile -vcodec libx264 -an -s hd480 output_60.mp4 on a 60fps file. Why is the second file 27 MB ...
1
vote
0answers
15 views

Converting videos and time accuracy; pitfalls and solutions

I need to compress some videos about laboratory experiments which contain motions of some objects. Since in analysis time intervalls on the video are needed as accurate as the camera captured them, ...
1
vote
1answer
34 views

ffmpeg encoded videos are not playing on mobile browser

I have set up a server to upload and play videos. I used django/python as the scripting language, and nginx and gunicorn as the webserver. I am using videojs as the video player. For h264 mp4 I tried ...
1
vote
0answers
7 views

avconv converting videos in really bad quality

I have this linux command line app called avcon. It is used to converting files. For instance if I have a file called video.mp4 I can run avconv -i video.mp4 video.ogg and it will convert this ...
1
vote
0answers
23 views

FFmpeg map_channel and video

I have a file that has the following format (note the number of tracks and channels within each track): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mov': Metadata: major_brand : qt ...
0
votes
0answers
9 views

FFmpeg : Check if the aac bitstream is malformed or not

I want to upload few sets of videos on my server and later play them in the HTML5 video tag. But some of them are not playing. I checked the audio stream and video stream of the video, they have AAC ...
1
vote
1answer
31 views

ffmpeg - resize and crop

I want to know how to use the scale filter to take an image that is 2154x1136 and scale it down exactly 89.04% such that the image sits in a 1920x1080 frame, with full image left and right and black ...
2
votes
2answers
64 views

FFMpeg Encoding and Core Usage

We have developed an application to transcode source .mov files into .ogg, .mp4 and .webm output. It is currently running on AWS EC2 instance g2.8xlarge. It is working (yay!). My question: Even ...
1
vote
1answer
48 views

FFmpeg : Error occurred while encoding audio stream from ac3 to aac

I am using following command to encode my video to h264 and aac audio codec : ffmpeg -i sample.mp4 -codec:v libx264 -profile:v high -level:v 4.0 -codec:a libvo_aacenc -b:a 128k output_file.mp4 ...
0
votes
0answers
21 views

Streaming WebM on unsupported platforms (Safari, IE, etc)

I'd like to stream WebM videos to browsers that don't support it (like Safari/IE). I have no problem in converting the video to a supportable format (like MP4), but the encoding should be on-demand, ...
2
votes
0answers
21 views

Video transitions and filters - how to create custom ones?

I am wondering if there is a possibility to do custom video transitions or filters. Like the video spiraling out, little squares appearing, circling out or something like that. Wiping the video out ...
1
vote
1answer
20 views

ffmpeg multi quality conversion?

is there any way in a one line of command i convert mp4 file to ts ,but with 3 different quality as output files ? for example 480p 720p 1080p ? Regards,
0
votes
1answer
61 views

How to encode video to profile high using ffmpeg?

This is my first post here. I am in a situation where my original file is of profile High and transcoding profile is High10. I am suspecting that this is the cause my video is not getting played in ...
2
votes
0answers
33 views

FFmpeg pan filter and clipping

I have a file that has one video stream and one audio stream with 8 channels. I want to create a new file that will only contain the first 2 channels of the audio stream (no video). I can do this ...
0
votes
0answers
34 views

Losing audio in re-encoding with ffmpeg

I have some DVDs I want to save MP4s from. The video files are VOB files. I can play them if I change the extension to .mp4, but I can't use the seek bar in Windows Media Player. Also, the files are ...
1
vote
0answers
30 views

Extract the frame (in image format) at exactly every minute (or second) from a video (by ffmpeg)

Motivation: I would like to seek the frame, then take high quality and exact time screenshots (images) from a video. The video is length is 00:48:43.71 and 23.98 fps (we can think it is 24 fps, isn't ...
1
vote
0answers
33 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
44 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
57 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
12 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
84 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
32 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
44 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
139 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
109 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
295 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
173 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
124 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
51 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
126 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
547 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
191 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
140 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
83 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
99 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
280 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
53 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
171 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
56 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
101 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
379 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
71 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
166 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
55 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
99 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
39 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
72 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. ...