Changes

From Amahi Wiki
Jump to: navigation, search
756 bytes added ,  10:51, 7 July 2010
no edit summary
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
mysql -uvideos5 -pvideos5 -e "update settings set value='/path/to/your/videos\n/other_path/to/your/other_videos' where name = 'paths'" videos5
</div>
 
==Custom Videos Encoding Options==
 
You can change the default options used to encode videos in the same way you can change paths: by changing a MySQL entry.<br/>
See '''/usr/bin/HandBrakeCLI --help''', or [http://trac.handbrake.fr/wiki/CLIGuide HandBrake CLIGuide] for available options.
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
mysql -uvideos5 -pvideos5 -e "update settings set value='/bin/nice /usr/bin/HandBrakeCLI -L -i \$input -o \$output -e x264 -q 20.0 -a 1 -E faac -B 160 -6 dpl2 -R 48 -D 0.0 -f mp4 -X 720 -Y 480 --loose-anamorphic -m -x cabac=0:ref=2:me=umh:bframes=0:8x8dct=0:trellis=0:subme=6' where name = 'encode_command'" videos5
</div>