On Sun, 2002-12-08 at 21:35, Scott Zuk wrote: > can play VCDs but only some can play SVCDs. It seems like the cheapest DVD > players can handle just about every format under the sun but the more > expensive ones are more limited. *shrug*
That's what I have run into, I have a bottom of the line player and it will play DVD/CD/MP3CD/VCD/SVCD yet my parents expensive one will one play DVDs and VCDs. > For compatiability you should it's probably best to convert your MPEG2 files > into VCD compatable MPEG1 files. Transcode should be able to do this but you > said it was creating huge files. Are you sure you were converting to MPEG1? > It almost sounds like transcode was trying to create a 4.7GB DVD image before > you killed it. I figured out what the problem was here. I was using the example from the transcode page which looks like this: transcode [...] -V -y mpeg2enc,mp2enc -F 1 -Z 352x240 -E 44100 -b 224 -o test What I forgot was that you have to substitute -i filename for [...], I was just using filename so I guess it was encoding nothing all night :). I tried it using the -i switch, but it won't process the stream and gives me the following error: [jesse@ulb tmp]$ !853 transcode -i vid1.mpg -V -y mpeg2enc,mp2enc -F 1 -Z 352x240 -E 44100 -b 224 -o test transcode v0.6.2 (C) 2001-2002 Thomas �streich [transcode] auto-probing source vid1.mpg (ok) [transcode] V: import format | MPEG-2 (V=vob|A=vob) [transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame rate[transcode] V: import frame | 720x480 1.50:1 encoded @ 4:3 [transcode] V: zoom | 352x240 1.47:1 (Lanczos3) [transcode] V: bits/pixel | 0.889 [transcode] V: encoding fps | 23.976 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x50 MPEG layer-2 [48000,16,2] 384 kbps [transcode] A: export format | 0x50 MPEG layer-2 [44100,16,2] 224 kbps [transcode] A: bytes per frame | 8008 (8008.000000) [transcode] A: adjustment | 0@1000 [transcode] V: IA32 accel mode | 3dnow (3dnow mmxext mmx asm) [import_vob.so] v0.5.7 (2002-10-01) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle) [export_mp2enc.so] v1.0.3 (2002-06-05) (audio) MPEG 1/2 [export_mpeg2enc.so] v1.1.2 (2002-06-05) (video) MPEG 1/2 [import_vob.so] tccat -i "vid1.mpg" -t vob -d 0 -S 0 | tcdemux -a 0 -x mp3 -S 0 -M 2 -d 0 | tcextract -t vob -a 0 -x mp3 -d 0 | tcdecode -x mp3 -d 0 [import_vob.so] tccat -i "vid1.mpg" -t vob -d 0 -S 0 | tcdemux -s 0xc0 -x mpeg2 -S 0 -M 2 -f 23.976024 -P /tmp/filePNKL07 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12 [export_mpeg2enc.so] *** init-v *** ! [export_mp2enc.so] *** init-v *** ! [export_mpeg2enc.so] cmd=mpeg2enc -v 0 -f 1 -F 1 -n n -a 2 -o "test".m1v [export_mp2enc.so] (44/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "test".mpa write wave header: Bad file descriptor (encoder.c) audio export module error: open failed critical error: failed to open output - exit [jesse@ulb tmp]$ **ERROR: [mp2enc] EOF in WAV header **ERROR: [mp2enc] failure reading WAV file I also tried the other example on the transcode site using the bbmpeg interface ( transcode [...] -V -y mpeg -F v,4 -E 44100 -b 224 -o test ). This seemed to work fine, but I ended up with videos that had serious A/V sync issues. I tried using both tcmplex and mplex but I had the same problem with both. > If you can't get transcode to work you might want to try mjpegtools [1]. > Thier howto [2] contains information about encoding to various formats. Pay > particular attention to section 9, "Transcoding of existing MPEG2". The > script mpegtranscode included with mjpegtools seems do what you are looking > for. I've used mjpegtools to create mpeg stills for VCD menus before but > have never tried this script so I don't know if it works. It seems as though the script is now called mpegtranscode although the documentation refers to mjpegtranscode (I'm using mjpegtools 1.6). I installed all the dependencies and following the instructions but it kept passing bad options to mpeg2dec. I even installed the mjpegtools patched version of mpeg2dec. It was complaining that it didn't support YUVh, so I edited the mpegtranscode script and changed it to xv. The script will now run but it only gives me a video file, and no audio. Here's the output: [jesse@ulb tmp]$ mpegtranscode -V -o vcd_stream vid1.mpg Generating VCD stream mpeg2dec-0.2.1-mjpegtools-0.7 - by Michel Lespinasse <[EMAIL PROTECTED]> and Aaron Holtzman Using MMXEXT for IDCT transform Using MMXEXT for motion compensation 3851 frames in 56.82 sec (67.77 fps), 30 last 0.50 sec (60.00 fps) 3867 frames decoded in 57.33 seconds (67.45 fps) **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)! Extracting track 0 No such file or directory - Couldn't open file -m Reading from stdin Remember to set samplerate with '-s'. -------------------------------------------- Input File : '/dev/stdin' 44.1 kHz Output File: 'vcd_stream.mp2' 224 kbps MPEG-1 Layer II j-stereo Psy model 2 [De-emph:Off Copyright:No Original:No CRC:Off] [Padding:Normal Byte-swap:Off Chanswap:Off DAB:Off] -------------------------------------------- sox: Failed reading /dev/stdin: WAVE: RIFF header not found Hit end of audio data Avg slots/frame = nan; b/smp = nan; bitrate = nan kbps Done Error: unexpected end of stream > Hope some of this was useful... You certainly gave me a number of new roads to explore, thank you. Unfortunately I seem to be stuck between a rock and a hard place again :-). Do you have any ideas. Thanks for your help, Jesse
signature.asc
Description: This is a digitally signed message part
