[MPlayer-users] SVCD from TV card
Torsten Römer
troemer at swipnet.se
Mon Dec 22 15:40:50 CET 2003
Hello
I am trying to encode to SVCD from the TV card. It "almost" seems to
work, MPlayer and Xine can play the resulting SVCD (while MPlayer hangs
a bit) but my DVD Player cannot play it at all (just hangs)
I encode like this:
mencoder -tv driver=v4l:width=480:height=576 tv://
-of mpeg
-ovc lavc
-oac lavc
-lavcopts
vcodec=mpeg2video:vbitrate=1500:aspect=4/3:acodec=mp2
-o test.mpg
Then I use vcdimager to create the SVCD. Something is strange here, it
warns me:
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: autopadding requires to insert additional 232944 zero bytes
into MPEG stream (due to 844 unaligned packets of 845 total)
++ WARN: this VCD type should not contain MPEG1 streams
Regarding the packet alignment I have no idea how to solve it. I tried
many options, like vrc_buf_size=917 as recommended in the manpage for
SVCD, but I cannot get rid of the warning.
I am also surprised about the warning that it's an MPEG1 stream, while
mplayer says:
VIDEO: MPEG2 480x576 (aspect 2) 25,000 fps 0,0 kbps ( 0,0 kbyte/s)
and mpgtx tells me this:
test.mpg
Mpeg 2 Program Stream File [Video/Audio]
Muxrate : 2.11 Mbps
Estimated Duration: 12.23s
Aspect ratio 4/3 (TV)
Not interlaced, chroma format: 4:2:0
Size [480 x 576] 25.00 fps 104.86 Mbps
Audio : Mpeg 1 layer 2
224 kbps 44100 Hz
Stereo, No emphasis
I am using MPlayer 1.0pre3-3.2 and tried with both ffmpeg 0.4.8 and CVS.
I also played a bit with ffmpeg's -target option but with no success.
Does anybody have an idea why my DVD Player (and also MPlayer) don't
like the resulting SVCD?
I created some SVCD's with transcode and mpeg2enc which works nice, but
it's way too slow to encode from the TV card...
Thanks in advance
Torsten
More information about the MPlayer-users
mailing list