Tag Info

New answers tagged

0

Unfortunately due to patent/licensing issues1, MP4 playback is not supported natively in all browsers. That's where file format redundancy comes into play; if one file format is not able to be natively loaded by a system a backup version may be able to work. I have found that certain browsers will be able to run files encoded with the .webm container using ...


0

Use this: -vf "scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih), pad=1920:1080:(1920-iw*min(1920/iw\,1080/ih))/2:(1080-ih*min(1920/iw\,1080/ih))/2" This code evaluates which ratio to apply for scaling, then scales it and finally applys the requisite amount of padding.


0

You're using an ffmpeg with a 2-year-old version of libx264. It's been mostly feature-complete for a while now, but there are still small improvements and fixes happening. As Mulvya says, get one built with libfdk_aac, since you should update your ffmpeg for libx264 anyway. Your current ffmpeg is trying to use the VisualOn aac encoder. That's a terrible ...


3

BTW, this question might be better on stackoverflow, or maybe unix.stackexchange, or maybe serverfault. This site is I think less focused on questions that don't involve decisions based on creative merit or at least perceptual video / audio quality. However, I'm all about the tech details, so I'll answer. FFmpeg uses multi-threading by default, so you ...


2

libtheora is single threaded. There is a multithreaded experimental build, but is not maintained. I would suggest running it in parallel with the other encodes. Also if possible use libfdk-aac over libfaac. Much higher audio fidelity at the same bitrate.


1

The ffmpeg build you have uses libx264 compiled for 10-bit. Apparently one can only build with support for either 8-bit OR 10-bit. So, you'll need a build where libx264 supports 8-bit.


2

See here, specifically "Same filtering for all outputs": https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs


0

Simplest solution is to use -movflags +faststart in your command while transcoding video file. It will move all metadata to the beginning of the file to be played. Hope this helps.



Top 50 recent answers are included