[vdr] Problems with vdr-burn and a solution

Jani Frilander janif at quicknet.inet.fi
Tue Jun 14 06:36:14 CEST 2005


Hello everybody.

I had a problem with burning dvd's from my recordings on my
system. The system is a FC3 based, and VDR and DVB packages are
installed from cachalot repository.

Some version information of conversion software:
mjpegtools-1.6.3-0.lvn.0.1.rc1
y4mscaler-0.6.2-0.lvn.1
ImageMagick-6.2.2.0-2.fc3
vdr-burn-0.0.6g-0.6.pre3

The problem occured when the burn script started making menu,
failing the mpeg2enc-command.

I managed to burn DVD's changin one (actually two lines) line
in the script. Here is the patch:

--- /usr/lib/vdr/bin/vdrburn.sh.orig    2005-06-13 22:54:02.000000000 +0300
+++ /usr/lib/vdr/bin/vdrburn.sh 2005-06-13 22:54:38.000000000 +0300
@@ -85,14 +85,14 @@
     MKMENU)
         if [ "$USE_TCMPLEX" == "yes" ]; then
             convert "$2/menu-bg-$3.png" pnm:- |
-                ppmtoy4m -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 |
+                ppmtoy4m -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 -S 420mpeg2 |
                 y4mscaler -O chromass=420_MPEG2 |
                 mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" &&
                 $TCMPLEX -i "$2/menu-bg-$3.m2v" -p 
"$4/menu-silence.mp2" -m d -o /dev/stdout |
                 spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg"
         else
             convert "$2/menu-bg-$3.png" pnm:- |
-                ppmtoy4m -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 |
+                ppmtoy4m -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 -S 420mpeg2 |
                 y4mscaler -O chromass=420_MPEG2 |
                 mpeg2enc -q 2 -a 2 -n p -f 8 -v 0 -o "$2/menu-bg-$3.m2v" &&
                 mplex -f 8 -vbr -v 1 -o /dev/stdout "$2/menu-bg-$3.m2v" 
"$4/menu-silence.mp2" |

Hope this helps.

Cheers,
Jani Frilander



More information about the vdr mailing list