Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Patch to resurrect tosvcd 0.9.
- To: Video Disk Recorder Mailing List <vdr@linuxtv.org>
- Subject: [vdr] Patch to resurrect tosvcd 0.9.
- From: Carsten Koch <Carsten.Koch@icem.com>
- Date: Thu, 11 Sep 2003 00:49:00 +0200
- Content-type: text/plain; charset=us-ascii; format=flowed
- Organization: ICEM Technologies GmbH
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Hi,
I just checked Werner's tosvcd site http://muse.seh.de/tosvcd
which still lists tosvcd 0.9 of 2002-12-09 as the latest version.
Is tosvcd no longer being developed?
Did I miss anything that has superseded tosvcd, so using that
other tool will produce better results?
In any event, I wanted to run the latest tosvcd (0.9) with the
latest mjpegtools (1.6.1.90). This no longer works out of the box,
as tosvcd calls up yuvscaler with -M MMX, which apparently is
no longer supported.
The patch below repairs that and also calls up mpeg2enc with
the -K kvcd as suggested by Steffen Barszus.
Carsten.
diff -ur tosvcd-0.9/tosvcd.c /home/cko/tosvcd-0.9/tosvcd.c
--- tosvcd-0.9/tosvcd.c 2002-12-09 10:24:57.000000000 +0100
+++ /home/cko/tosvcd-0.9/tosvcd.c 2003-09-11 00:08:46.000000000 +0200
@@ -908,15 +908,15 @@
}
else {
if (vcdonly)
- sprintf(p, " -I ACTIVE_%dx%d+0+%d -O VCD -M MMX |",
+ sprintf(p, " -I ACTIVE_%dx%d+0+%d -O VCD |",
mpeg2dec->width(), theight - widescreen*2, widescreen);
else
- sprintf(p, " -I ACTIVE_%dx%d+0+%d -O SVCD -M MMX |",
+ sprintf(p, " -I ACTIVE_%dx%d+0+%d -O SVCD |",
mpeg2dec->width(), theight - widescreen*2, widescreen);
}
}
else
- sprintf(p, " -O %sVCD -M MMX |", vcdonly ? "" : "S");
+ sprintf(p, " -O %sVCD |", vcdonly ? "" : "S");
}
while (*p)
++p;
@@ -927,22 +927,22 @@
int ar = wideScreen ? 3 : mpeg2dec->aspectRatio();
if (vcdonly) {
if (denoise2)
- sprintf(p, "mpeg2enc -N -a %d -S %d -B %d -I0 -q %d -v0 -f 1 %s",
+ sprintf(p, "mpeg2enc -K kvcd -N -a %d -S %d -B %d -I0 -q %d -v0 -f 1 %s",
ar, cdsize, audio.bitrate, quality,
mpegonly ? "-d" : "");
else
- sprintf(p, "mpeg2enc -a %d -S %d -B %d -I0 -q %d -v0 -f 1 %s",
+ sprintf(p, "mpeg2enc -K kvcd -a %d -S %d -B %d -I0 -q %d -v0 -f 1 %s",
ar, cdsize, audio.bitrate, quality,
mpegonly ? "-d" : "");
}
else {
int videoBitrate = 2718 - audio.bitrate;
if (denoise2)
- sprintf(p, "mpeg2enc -N -a %d -S %d -B %d -I0 -q %d -v0 -f 4 -b %d %s",
+ sprintf(p, "mpeg2enc -K kvcd -N -a %d -S %d -B %d -I0 -q %d -v0 -f 4 -b %d %s",
ar, cdsize, audio.bitrate, quality,
videoBitrate, mpegonly ? "-d" : "");
else
- sprintf(p, "mpeg2enc -a %d -S %d -B %d -I0 -q %d -v0 -f 4 -b %d %s",
+ sprintf(p, "mpeg2enc -K kvcd -a %d -S %d -B %d -I0 -q %d -v0 -f 4 -b %d %s",
ar, cdsize, audio.bitrate, quality,
videoBitrate, mpegonly ? "-d" : "");
}
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index