Little patch for burn plugins

Message ID 200509061556.j86Fub928581@lct3.teledetection.fr
State New
Headers

Commit Message

Guy Roussin Sept. 6, 2005, 3:56 p.m. UTC
  Hi,

I use a new version of mjpegtools (1.6.3). This version
needs a little patch in vdrburn.sh.

Guy
  

Comments

Ville Skyttä Sept. 6, 2005, 4:16 p.m. UTC | #1
On Tue, 2005-09-06 at 17:56 +0000, Guy Roussin wrote:

> I use a new version of mjpegtools (1.6.3). This version
> needs a little patch in vdrburn.sh.

I've wrestled with that too, and AFAIK your change would break it for
older versions of mjpegtools.  Instead, see
http://vdr.unetz.com/download/burn/vdr-burn-0.0.6h-0.0.6i-pre2.diff.gz

That should work for all mjpegtools versions, but it introduces a new
dependency on y4mscaler, http://www.mir.com/DMG/Software/ (which is a
good thing to use anyway).

The above patch also makes things work if transcode >= 1.0.0 is being
used instead of mplex; tcmplex was dropped from transcode, replacement
is separate tcmplex-panteltje from http://panteltje.com/panteltje/dvd/
  
Gavin Hamill Sept. 6, 2005, 6:22 p.m. UTC | #2
On Tuesday 06 September 2005 17:16, Ville Skyttä wrote:
> On Tue, 2005-09-06 at 17:56 +0000, Guy Roussin wrote:

> The above patch also makes things work if transcode >= 1.0.0 is being
> used instead of mplex; tcmplex was dropped from transcode, replacement
> is separate tcmplex-panteltje from http://panteltje.com/panteltje/dvd/

Apologies for breaking the thread slightly, but how can I use the burn plugin 
with no DVD drive? I'm only interested in creating an ISO image to burn on 
another machine :)

Cheers,
Gavin.
  

Patch

--- vdrburn.sh	2005-04-10 16:23:53.000000000 +0200
+++ vdrburn.sh.new	2005-09-06 17:50:38.000000000 +0200
@@ -80,13 +80,13 @@ 
     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 -S 420mpeg2 -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 |
                 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 -S 420mpeg2 -n 1 -F25:1 -A 59:54 -I t -L -r -v 0 |
                 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" |
                 spumux -v 2 "$2/menu-$3.xml" > "$2/menu-bg-$3.mpg"