Problems with vdr-burn and a solution

Message ID 42AE5EBE.6050105@quicknet.inet.fi
State New
Headers

Commit Message

Jani Frilander June 14, 2005, 4:36 a.m. UTC
  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:

                 mplex -f 8 -vbr -v 1 -o /dev/stdout "$2/menu-bg-$3.m2v" 
"$4/menu-silence.mp2" |

Hope this helps.

Cheers,
Jani Frilander
  

Comments

Ville Skyttä June 14, 2005, 6:01 a.m. UTC | #1
On Tue, 2005-06-14 at 07:36 +0300, Jani Frilander wrote:

> 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.

Right.

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

That patch will probably work with the above version combination, but it
will also result in breakage with mjpegtools < 1.6.3.

The root cause is that you're not using compatible (well, or "same
generation") versions of mjpegtools and y4mscaler.  If you have
mjpegtools >= 1.6.3-RC1, you should be using y4mscaler 8.1, not 0.6.2.

I've just (re-)uploaded it for FC3.   Note also that I'm currently
slowly rebuilding and adjusting everything for FC4 and purging the FC3
repository.
  
Ville Skyttä June 14, 2005, 6:06 a.m. UTC | #2
On Tue, 2005-06-14 at 09:01 +0300, Ville Skyttä wrote:

> The root cause is that you're not using compatible (well, or "same
> generation") versions of mjpegtools and y4mscaler.

...and that, obviously, is a temporary problem with my repository, not
your fault.
  

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" &&