Tag Info

Hot answers tagged

5

Use it. Nothing else can provide the the same quality per bitrate as x264 (the top-class H.264 encoder) while not taking 10,000 years to encode (x265 'n VP9). Some tips: Use a recent ffmpeg build since development is so active. Static builds are available and easy. Add -movflags +faststart to your command. Once encoding is finished this option will ...


4

You are correct: h.264 is non-free and content producers as well as developers are obliged to pay royalties to MPEGLA for its use - but only if they are charging for their content, and the volume goes over the threshold MPEGLA sets (which is in the order of 100,000 paying subscribers or > 12 minutes in length if charging title-by-title). Thjey have also said ...


3

I found a way to resolve this jittering issue. The root cause is that mpeg file doesn't have full PTS info. There's a closed ticket of FFmpeg talking about exactly this problem: FFmpeg ticket #974 In order to solve this problem, add -fflags +genpts before the input file. Here is a sample FFmpeg command: ffmpeg -fflags +genpts -i ...


3

Usage differences Note: ffmbc/ffmpeg will refer to the tools, while FFmbc/FFmpeg will refer to the projects themselves and/or each whole collection of tools and libraries. There are syntax differences including: ffmbc uses the old, confusing -newaudio option while ffmpeg can just use -map. ffmbc does not support -codec or -c, so instead all stream types ...


3

Choose your license FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later. Some features are covered by the GNU General Public License (GPL) version 2 or later. If those parts get used the GPL applies to all of FFmpeg. See LICENSE.md in the source to see a list of GPL parts of FFmpeg and which external libraries require ...


3

The default settings for ffmpeg are very low quality, and since you don't specify any codec or quality parameters it's just using the defaults (I don't know why the devs don't fix that because it generates a lot of questions on forums everywhere). Try adding -c:v libx264 -crf 20 -preset slow to the command. -c:v libx264 tells it to use the libx264 ...


1

Yes, you have the right idea. If stib's suggestion of making multiple outputs in parallel with the same ffmpeg commandline doesn't quite do the trick, then use a temp file to hold a lossless copy of the output of any slow filtering: ffmpeg -i src.mkv -vf yadif=3:1,mcdeint=2:1 -c:a copy -c:v libx264 -preset ultrafast -qp 0 deinterlaced.mkv (never use ...


1

In the manual it says: To use opencv use the calibration sample (under samples/cpp) from the opencv sources and extract the k1 and k2 coefficients from the resulting matrix. If you go to the opencv website there's a sample source code for a lens correction program, written in c++, here. You'll have to compile it yourself, after installing OpenCV ...


1

If I am right, HTML5 supports H.264 codec with mp4 container. In this case the company which developed the browser has paid it's license. You can also use video servers for VOD playing, like Wowza Streaming Engine.


1

As @LordNeckbeard wrote in the comments, moving the -t flag to after the -i flag works: ffmpeg -ss 0 -i in.mp4 -t 00:30:00 -acodec copy -vcodec copy out.mp4


1

I can't say what's going wrong or if there's a change to the ffmpeg scripts that would help, but from a practical POV I can offer some advice on how to deal with what you have. If the difference is due to drift, the fix is relatively simple. If it's due to dropped video frames or audio dropouts, it's probably not going to be fixable without a good bit of ...


1

Use sound.wav as your output, instead of sound.mp3. Or if you literally mean raw PCM data with no headers, not just uncompressed, then try ffmpeg -f dshow -t 10 -i audio="virtual-audio-capturer" -f s16le -y "sound.pcm" Play it back with ffplay -channels 2 -f s16le -i sound.pcm Unless you really need headerless, I'd suggest WAV files for ease of use. ...


1

So you have a client computer with a camera, and want to stream video from it to a server where it's archived and accessible? client runs: ffmpeg -i some_kind_of_input -vf mpdecimate -c:v libx264 -preset medium -crf 25 some_kind_of_output Choose an appropriate framerate to capture. mpdecimate will run constantly at that framerate. libx264 with your ...



Only top voted, non community-wiki answers of a minimum length are eligible