[Mplayer-dvb] Problem with grap.mpg
Clemens Ender
ender at sbox.tugraz.at
Mon Aug 12 10:09:16 CEST 2002
Hi,
I know this issue has already been discussed in a thread with topic "DVB
output .. doesn't". I hope you guys dont mind, starting a new thread
about the problem I'm having.
So here we go:
What I try to do, is Encode a DiVX (25 fps) to a Mpeg-PES stream.
Therefor I'm using a version of mplayer, without DVB support compiled
in. Later I wanna replay this stream on my DVB.
So I start mplayer (0.9pre6) with the following command:
mplayer -ao mpegpes -vo mpegpes -vop lavc,scale=352:576 my.avi
...
Detected AVI file format!
VIDEO: [DIV3] 608x272 24bpp 25.00 fps 1173.4 kbps (143.2 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->176400 (128.0
kbit)
Opening video filter: [lavc]
libavcodec: CPU flags: mmx mmxext 3dnow
Opening video filter: [scale=352:576]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [mpegpes] 44100Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
VDec: vo config request - 608 x 272 (preferred csp: Planar YV12)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 8 -> 8
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
VO: [mpegpes] 352x576 => 352x576 Mpeg PES
OK, so far for the creating of grab.mpg, there seems to be no problem so
far.
But now the replay:
For example, when i do:
mplayer -vo xv grab.mpg
(which doenst make too much sense, since i actually wanna view it via
the DVB-s later, but just for testing I use that way)
it gives me this:
Playing grab.mpg
Detected MPEG-PES file format!
VIDEO: MPEG1 352x576 (aspect 1) 25.00 fps 0.0 kbps ( 0.0 kbyte/s)
Detected audio codec: [dvdpcm] afm:8 (Uncompressed DVD LPCM)
Opening audio decoder: [dvdpcm] Uncompressed DVD PCM audio decoder
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 192000->192000 (1536.0
kbit)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 576 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 576 (preferred csp: Planar YV12)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 352x576 => 352x576 Planar YV12
Detected video codec: [mpeg12] vfm:1 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
A: 15.4 V: 0.2 A-V: 15.172 ct: 0.012 4/ 4 0% 0% 0.0% 0 0 0%
DEMUXER: Too many (4096 in 7877612 bytes) video packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)?
For .AVI files, try to force non-interleaved mode with option -ni
So what is wrong here ? The same happens of course when i playback with
-vo mpegpes -ao mpegpes on the machine, which has a DVB-s builtin.
I also tried to do the same with a non 25fps DiVX and also with a SVCD
(30fps). No success.
Basically I'd just like to know if this is a know problem, or if I'm
doing somethin wrong.
Thnx for your reply in advance,
Clemens
More information about the MPlayer-dvb
mailing list