[mythtv-users] Nuvexport, mencoder, userjob and x264

Peter Watkins peterw at tux.org
Tue Jan 26 04:08:29 UTC 2010


On Mon, Jan 25, 2010 at 07:36:37AM +0000, Rajil Saraswat wrote:
> >On Sunday 24 January 2010 21:44:02 Peter Watkins wrote:
> > 
> > If you want to transcode with nice filenames, have you looked at my
> > pdatranscode.pl script? http://www.mythtv.org/wiki/Pdatranscode.pl

> Thanks for your suggestion. I specifically want to encode with x264 to view 
> files on the PC. Can your script do that?

You will need to edit the script, adding a new transcoderCommands item with 
the command line needed to create the x264 out of a recording file. A pretty
typical config is this line, for Xvid:

mencoder -vf scale={scale} -oac mp3lame -lameopts mode=0:cbr:br=96 -af volnorm -srate 32000 -ovc xvid -xvidencopts bitrate=300 -o {outfile} {infile} -quiet

where my script replaces {scale}, {outfile}, and {infile} when actually
managing the transcoding of a particular show. 

Then you can set up pdatranscode as a user job with a command line like
  pdatranscode.pl --transcoder x264 --install-job-number 1
etc. Once it's set as a user job, use the usual MythTV interface to make
it run for the appropriate recordings.

When you devise an x264 command line, let me know so I can add it to the
built-in set of transcoder commands, to help other people w/ x264.

-Peter



More information about the mythtv-users mailing list