[mythtv-users] Transcoding to mp4 to reduce file size
Emery Guevremont
emery.guevremont at gmail.com
Mon Nov 12 15:38:38 UTC 2007
Anthony Giggins wrote:
>
> What I'd like to use is a user job to export to xvid and into
> mythvideos via nuvexport --mencoder. Is anyone using such a script?
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
This is the script I use to convert my mpeg2 recordings to xvid.
#!/bin/bash
MENCODER=/usr/bin/mencoder
DEST=/mnt/store/avi/
$MENCODER -passlogfile $1.log -quiet $1 -oac mp3lame -ovc xvid
-xvidencopts
pass=1:max_bframes=1:trellis:vhq=4:chroma_me:chroma_opt:hq_ac:bvhq=1 -vf
kerndeint,scale=640:480 -o /dev/null
$MENCODER -passlogfile $1.log -quiet $1 -oac mp3lame -ovc xvid
-xvidencopts
pass=2:bitrate=920:max_bframes=1:trellis:vhq=4:chroma_me:chroma_opt:hq_ac:bvhq=1
-vf kerndeint,scale=640:480 -o $1.avi
mv $1.avi $DEST
rm -f $1.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071112/fd1d7b03/attachment.htm
More information about the mythtv-users
mailing list