Thread: Dirac news
View Single Post
Old 17th May 2007, 19:47   #6  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Included in the README from the sources :

Quote:
Sample Usage: (encoding)

Constant quality encoding example:
ffmpeg -s 720x576 -i input_file.yuv -vcodec dirac -strict -2 -qscale 15 dirac_output.drc

Constant bitrate encoding example:
ffmpeg -s 720x576 -i input_file.yuv -b 1500000-vcodec dirac -strict -2 dirac_output.drc
The encoder will attempt tp keep the bitrate constant at 1500000 bps.

Currently, the output from the encoder is exactly as it is written to the .drc
encoded file. The -qscale flag controls the quality of the Dirac encoder
output. The bit rate is not constant when this option is choses. A qscale of 1
maps to dirac quality factor 10 and 30 maps to quality factor 1). The -b flag
controls the bitrate (in bps) of Dirac encoder output. The Dirac encoder
attempts to keep the output bitrate constant at the value specified.
Of course, you can replace the yuv input file by an avs script...

All commands are available in the dirac_encoder command line tool...
Kurtnoise is offline   Reply With Quote