[mythtv-users] MythDVD rip & transcode

Billy Macdonald billymacdonald at gmail.com
Mon Feb 12 06:59:28 UTC 2007


On 2/7/07, Trey Thompson <treythompson at gmail.com> wrote:
> > Hi,
> >
> >    I just decided to try using the MythDVD.  I ripped a couple 16:9
> > anamorphic movies with DVD rip.  I selected the Excellent option for
> > the rip, and I have the option to use xvid enabled.  I'm using
> > 0.20-fixes on Fedora Core 4.
> >
> >    The resultant file has black bars added to the top and bottom.
> > When I play it on mythvideo on my HDTV it does not fill the screen but
> > rather has a black border on all four sides.  The width is larger than
> > the 4:3 area of my TV though, so I'm not quite sure what ratio the
> > file is in.
> >
> > Here is the log from mtd regarding transcode.
> > 17:35:35: launching job: job dvd 1 1 2 1 -1 /var/storage/shows/DEVIL_PRADA_WS
> > 17:35:35: transcode command will be: transcode -i
> > /var/lib/mythdvd/temp/DEVIL_PRADA_WS/vob/ -g 720x480 -f 0,1 -M 2 -V -y
> > xvid,null -A -N 0x2000 -o /dev/null --print_status 20 --
> > color 0 -R 1,twopass.log
> > 17:35:35: job thread beginning to rip dvd title
> > 17:41:20: a client socket has been closed
> > 17:45:25: a client socket has been opened
> > 17:51:09: job thread finished ripping dvd title
> > 18:04:36: a client socket has been closed
> > 18:05:07: DVD removed
> > 18:59:46: transcode command will be: transcode -i
> > /var/lib/mythdvd/temp/DEVIL_PRADA_WS/vob/ -g 720x480 -f 0,1 -M 2 -V -y
> > xvid -A -N 0x2000 -o /var/storage/shows/DEVIL_PRADA_WS.a
> > vi --print_status 20 --color 0 -R 2,twopass.log
> >
> >
> > The resulting file looks pretty good, sounds good from the little bit
> > I watched, it just seems that the aspect ratio of the resulting file
> > isn't quite right.
> >
> > I did find this on the Wiki at
> > http://www.mythtv.org/wiki/index.php/User_Manual:Daily_Use
> > Options available are dependant on the DVD inserted
> >
> >    * Perfect : Available for all Discs. Makes an exact copy of the MPEG file
> >    * Excellent : 4:3 and 16:9 non-letterboxed Only. Transcode the
> > MPEG file at a high bitrate. Resultant files size is approx 2GB
> >    * Good : All Other . Transcode the MPEG file at average bitrate.
> > Resultant file size is approx 800MB
> >
> > I'm pretty sure that non-letterboxed is the "enhanced for widescreen
> > tv" or "anamorphic" style of movie, but I may have that backwards.
> > I'll try good on a movie and see how it turns out.
> >
> > Thanks in advance.
> >  Billy
>
> I'm REALLY not good enough yet to know, but, I did notice that the
> command is this:
>
> "transcode -i /var/lib/mythdvd/temp/DEVIL_PRADA_WS/vob/ -g 720x480 -f
> 0,1 -M -V -y xvid,null -A -N 0x2000 -o /dev/null --print_status 20
> --color 0 -R 1,twopass.log"
>
> So, it's forcing it to 720x480.  Not sure if that's it or not.

I figured out my aspect ratio problem.  Removing the -g option didn't
help, turns out that is the input resolution.  I needed to change the
resize options so I updated the dvdtranscode table like such:

 update dvdtranscode  set hq_resize_h = 480, hq_resize_w = 856 where
input=2 and (name = 'Excellent' or name = 'Good');

I also set the clip2left & clip2right options to 4 each in the same
table.  I got these from dvd::rip.  The problem I'm having now is that
my audio skews out of sync on my rips that I've made.  It's fine in
the begining but is off by at least .5 sec by the end of the movie.

Any advice?

transcode lines from mtd.log:
20:51:40: transcode command will be: transcode -i
/var/lib/mythdvd/temp/MARINE_UNRATED/vob/ -f 0,1 -M 2 -V -Z 856x480 -Y
0,4,0,4 -y xvid,null -A -N 0x2000 -o /dev/null --print_status 20
--color 0 -R 1,twopass.log

05:53:58: transcode command will be: transcode -i
/var/lib/mythdvd/temp/MARINE_UNRATED/vob/ -f 0,1 -M 2 -V -Z 856x480 -Y
0,4,0,4 -y xvid -A -N 0x2000 -o /var/storage/shows/MARINE_UNRATED.avi
--print_status 20 --color 0 -R 2,twopass.log


More information about the mythtv-users mailing list