About MPEG4 ffmpeg encoder parameters

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
brizio
Blank Cone
Blank Cone
Posts: 27
Joined: 13 Oct 2009 13:46

About MPEG4 ffmpeg encoder parameters

Postby brizio » 14 Dec 2009 17:15

Hi all,
I have some questions about the effect of some parameters in vlc's encoder ffmpeg module. I'm using mpeg4 codec, and i found this very useful

http://www.videolan.org/doc/streaming-h ... /ch03.html in particular

venc=

This allows to set the encoder to use to encode the videos stream. Available options are:

*

ffmpeg: this is the libavcodec encoding module. It handles a large variety of different codecs (the list can be found on the streaming features page.

Item options are: keyint=<number of frames> allows to set the maximal amount of frames between 2 key frames, hurry-up allows the encoder to decrease the quality of the stream if the CPU can't keep up with the encoding rate, interlace allows to improve the quality of the encoding of interlaced streams, noise-reduction=<noise reduction factor> enables a noise reduction algorithm (will decrease required bitrate at the cost of details in the image), vt=<bitrate tolerance in kbit/s> allows to set a tolerance for the bitrate of the outputted video stream, bframes=<amount of frames> allows to set the amount of B frames between 2 key frames, qmin=<quantizer> allows to set the minimum quantizer scale, qmax=<quantizer> allows to set the maximum quantizer scale, qscale=<quantizer scale> allows to specify a fixed quantizer scale for VBR encodings, i-quant-factor=<quantization factor> allows to set the quantization factor of I frames, compared to P frames, hq=<quality> allows to choose the quality level for the encoding of the motion vectors (arguments are simple, rd or bits, default is simple *FIXME*), strict=<level of compliance> allows to force a stricter standard compliance (possible values are -1, 0 and 1, default is 0), strict-rc enables a strict rate control algorithm, rc-buffer-size=<size of the buffer in bits> allows to choose the size of the buffer used for rate control (bigger means more efficient rate control), rc-buffer-aggressivity=<float representing the aggressiveness> allows to set the rate control buffer aggressiveness *FIXME*, pre-me allows to enable pre motion estimation, mpeg4-matrix enable use of the MPEG4 quantization matrix with MPEG2 streams, improving quality while keeping compatibility with MPEG2 decoders, trellis enables trelli quantization (better quality, but slower processing).
Ok,now.. Which are the differences between setting qmax and qmin values, against just set qscale?
What is the hq parameter meaning?Which are the differences between the 3 possible arguments (simple,rd,bits)?

Anyone can provide me any infos,links,ideas?I'd like to know more about that but i can't find nothing...

Thanks a lot for your help!

brizio
Blank Cone
Blank Cone
Posts: 27
Joined: 13 Oct 2009 13:46

Re: About MPEG4 ffmpeg encoder parameters

Postby brizio » 21 Dec 2009 02:04

anyone has any ideas?

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: About MPEG4 ffmpeg encoder parameters

Postby ILEoo » 27 Dec 2009 18:20

Those settings are pretty much same settings that ffmpeg binary lets you set, and you should look their documentation about parameters and effects regarding parameters you mentioned


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests