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
6 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
9 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
2answers
143 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
15 views

Adding video into the picture with ffmpeg?

How to Adding video into the picture with ffmpeg? example:
1
vote
1answer
25 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
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 ...
1
vote
1answer
29 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
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 ...
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 ...
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
2answers
39 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 ...
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 ...
2
votes
1answer
56 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
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 ...
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 ...
0
votes
1answer
82 views

Putting a Lower bitrate of my video stream in my current mp4 container

Sorry if my question is too noobish, this is my first question. What I have is: An mp4 movie with a video stream and an audio stream. What I want in the output: Is an mp4 file containing: the same ...
6
votes
3answers
2k views

OGV Format plays properly on my computer but transcoding drops (duplicate?) frames

I've made a set of screencasts using recordmydesktop on ubuntu 12.10. The output is an ogv file. When I watch the ogv file using the default movie player (totem) it looks fine - the audio and video ...
2
votes
1answer
266 views

Unable to concatenate videos due to identical MOOV atoms

I am cutting out segments from a long mp4 file and then rejoining parts of them. However, since FFMPEG apparently keeps the same MOOV atom for the trimmed files as the original, it looks to FFMPEG ...
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 ...
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
46 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
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 ...
2
votes
2answers
118 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 ...
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
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
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
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,
2
votes
2answers
521 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 ...
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
54 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
47 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 ...
2
votes
1answer
155 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 ...
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 ...
3
votes
2answers
1k views

How to hold the last frame when using ffmpeg

I'm cutting/converting some videos with ffmpeg. What I'd really like is to be able to have the output hold the last frame for a few seconds (with silence for audio). Is such a thing possible? Or ...
5
votes
2answers
4k views

How to concatenate clips from the same video with ffmpeg

I have a long video with different scenes in it. I want to extract and concatenate 2 scenes from the video (that do not start on an I-frame) using ffmpeg 2.1.4. For argument, say I want 5 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 ...
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 ...
5
votes
3answers
11k views

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream?

Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet. I repost this since the question is more suitable to this community. 1. What I tried I ...
2
votes
1answer
403 views

Lossy output with FFMPEG JPEG 2000

I'm trying to achieve a lossy JPEG 2000 output with FFMPEG, but no success so far. Using this command line: ffmpeg -i input.dpx -pix_fmt yuv420p -vcodec libopenjpeg output.jp2 As a result I get ...
3
votes
1answer
188 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 ...
3
votes
1answer
502 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 ...
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 ...