[vdr] Re: vdrconvert with new mjpegtools 1.6.3 and transcode 1.0

Sebastian Frei Sebastian at schnapsleichen.de
Tue Sep 6 20:31:38 CEST 2005


Am Dienstag 06 September 2005 20:08 schrieb C.Y.M:
> Sebastian Frei wrote:
> > Am Dienstag 06 September 2005 19:07 schrieb C.Y.M:
> >>Has anyone developed patches for vdrconvert to work with the new versions
> >>of mjpegtools 1.6.3 and transcode 1.0?
> >
> > Vdrconvert has a small problem with the new mjepgtools, but it is easy to
> > fix. One program complains about an unsupportet data format, you have to
> > add a single parameter, than it works
> > Unfortunately I don't know which program it is and I can't find the
> > parameter I added.
> > If you look into your logfiles and send me the program name or line
> > number I could look it up.
>
> Unfortunatly I backed everything down until a patch was released, but the
> problem was in vdr2dvd.sh on the ppmtoy4m lines.

That's it:

The line
nice -n ${PRIO} ppmtoy4m -n $DVDANIMSUBFRAMES $DVDNORM_PPMTOY4M -I t -L -r -v 
0 ${UniqueDir[Number]}/submenu/${Page}/submenu.ppm | nice -n ${PRIO} mpeg2enc 
-q 2 -a 2 -n p -f 8 -v 0 -o ${UniqueDir[Number]}/submenu/submenu-${Page}.m2v 
>>$STDOUT 2>>$STDERR

has to be changed to:

nice -n ${PRIO} ppmtoy4m -n $DVDANIMSUBFRAMES $DVDNORM_PPMTOY4M -I t -L -r -v 
0 -S 420mpeg2 ${UniqueDir[Number]}/submenu/${Page}/submenu.ppm | nice -n 
${PRIO} mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o 
${UniqueDir[Number]}/submenu/submenu-${Page}.m2v >>$STDOUT 2>>$STDERR

notice the "-S 420mpeg2"

Also the line

nice -n $PRIO ppmtoy4m -n $DVDANIMFRAMES $DVDNORM_PPMTOY4M -I t -L -r -v 0 
${UniqueTempDIR}/preview/${Page}/mainmenu.ppm | nice -n $PRIO mpeg2enc -q 2 
-a 2 -n p -f 8 -v 0 -o ${UniqueTempDIR}/mainmenu-${Page}.m2v >>$STDOUT 
2>>$STDERR || ExitError

to

nice -n $PRIO ppmtoy4m -n $DVDANIMFRAMES $DVDNORM_PPMTOY4M -I t -L -r -v 0 -S 
420mpeg2 ${UniqueTempDIR}/preview/${Page}/mainmenu.ppm | nice -n $PRIO 
mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o ${UniqueTempDIR}/mainmenu-${Page}.m2v 
>>$STDOUT 2>>$STDERR || ExitError

S.



More information about the vdr mailing list