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

FFMPEG standerd transcoding settings

I am working on a project that provides video streaming to the users over the internet on web-browsers as well as mobile devices. I am using following sample FFMPEG command to transcode the video: ...
0
votes
0answers
8 views

Use ffmpeg to create DVB-T SD like video

How is the correct command line syntax please, which creates with use of FFMPEG from 720x576 picture the MPEG4 (MP4 file) or MPEG2 (MPEG-TS file) video file with the same resolution (i.e.720x576) but ...
0
votes
0answers
10 views

How to make batch ffmpeg with this codes?

How i batch render with ffmpeg with this code on windows? Codes work well. ffmpeg -y -loop 1 -i background_image.png -i mainmovie.mov -filter_complex "[0:v]setpts=PTS-STARTPTS[V1]; ...
1
vote
1answer
26 views

Video with inconsistent exposed / rendered image sizes

I have an interlaced video with MTS file format, which was captured using a HD camera. When I play it using VLC, it is displayed at resolution 1920x1080 and if I take a snapshot with VLC, the saved ...
1
vote
1answer
16 views

Adding video into the picture with ffmpeg?

How to Adding video into the picture with ffmpeg? example:
1
vote
1answer
30 views

Removing / Overlaying logo on mp4 video format with ffmpeg on linux

I'm trying to remove logo from an .mp4 video format with ffmpeg on linux machine without re-encoding (for preserving the same quality) with the following command: ffmpeg -i input.mp4 -vf ...
1
vote
0answers
11 views

Unexpected filtering result with multiple outputs

Video capture device cycling through 4 cameras every 4 seconds. Want to split the video into four streams to reduce the amount of key frames, save internet traffic and soothe the motion detector. ...
0
votes
0answers
17 views

ffmpeg command to transcode video to multiple videos fit with MPEG-DASH

I need to transcode video and add it to Wowza server. is there any recommded command that I can use to transcode the vedeo in best way to work with mpeg-dash.
0
votes
0answers
25 views

What the equation that we should use to know the bitrate value?

I'm using ffmpeg to transcode mp4 file, I got the below command from: http://www.wowza.com/forums/content.php?192-Encoding-Suggestions-for-Video-on-Demand. ffmpeg -y -i Butterfly_HD_1080p.mp4 -s ...
0
votes
0answers
25 views

Fast encoding with ffmpeg

I know about presets but faster presets lose the video quality. Are there any hardware requirements I need to consider? Or are there any settings that I need to tweak? And lastly where do I place the ...
0
votes
0answers
14 views

ffmpeg concatenation introduces video stutter but does not affect audio

I've gone through several different variants of this process and it always causes me problems. I've gotten it working sometimes but it doesn't seem to be consistent. I have a video camera which ...
1
vote
1answer
30 views

Detecting VBI or true video height?

Is there a way to detect if a file has or has not Vbi data this way! I.e if a Pal videofile with the reported 720x576 has Vbi data the actual height is an additional 32 lines = 608. SD pal file VBI ...
1
vote
0answers
18 views

FFMpeg crop filter doesn't change orientation

I am trying to crop a portrait video of 1280x720 to 568x320 so that the video will be displayed in landscape view (16:9). I am using the following command ffmpeg -i VID_1438833296.mp4 -vf ...
1
vote
0answers
50 views

ffmpeg lens correction, fisheye effect

I want to remove fish eye effect using command line. I've found 2 ways. The simplest is using frei0r plugin called "defish0r" it has few parameters like fisheye type, scalling, interpol and video ...
1
vote
0answers
26 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
1answer
57 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
18 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
47 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
2answers
40 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
31 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
14 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
59 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
119 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
81 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
40 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
34 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
77 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
49 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
36 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
55 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
49 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
54 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
68 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
23 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
156 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
42 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
53 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
189 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
130 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
506 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
293 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
154 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
60 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
161 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
854 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
288 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
168 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
115 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 ...