[Mplayer-dvb] MPEG-PES in error?

Andy Knuts mplayer-dvb at akke.net
Sat Oct 5 20:15:11 CEST 2002


Hi,

I'm using current CVS mplayer and i'm willing to use mplayer to playback
divx using my DVB-s card.
My box is to slow to handle this in realtime (even when downscaled) so
what i wanted to do is have mplayer write it's grab.mpg file by using
--disable-dvb and then, when finished, playback the mpeg file. This way i
should still be able to use subtitles etc...

I did a test using a sample avi file, and it created the file grab.mpg as
expected. Now when i want to playback that file i get some audio at the
very first beginning (weird audio tho, like it's the original audio played
at faster speed and with some computerized nooise, hard to describe) after
which the audio suddenly stops. The video image seems to be very well.
Looks like there's a bug in this code somewhere? is this a known problem?
When i try to playback the grab.mpg file i see the folowing in mplayer too:

----
$bash# mplayer grab.mpg  -vo mpegpes -ao mpegpes


MPlayer CVS-020929-21:11-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading /root/.mplayer/codecs.conf: 38 audio & 106 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz)
Input config file /root/.mplayer/input.conf parsed : 50 binds

Playing grab.mpg
Detected MPEG-PES file format!
VIDEO:  MPEG1  352x288  (aspect 1)  25.00 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 192000->192000 (1536.0
kbit)
Selected audio codec: [dvdpcm] afm:dvdpcm (Uncompressed DVD LPCM)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [mpegpes] 352x288 => 352x288 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or
Dxr3/DVB card))
==========================================================================
AO: [mpegpes] 48000Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
A:  40.4 V:  12.7 A-V: 27.697 ct:  0.808  205/205   0% 26% 15.7% 0 0 0% 0%
DEMUXER: Too many (4096 in 7801014 bytes) video packets in the buffer!
Maybe you are playing a non-interleaved stream/file or the codec failed?
For .AVI files, try to force non-interleaved mode with the -ni option.

----

I have tried to playback the file grab.mpg using the test_av.c app
included in the DVB drivers under apps/test/ and it's able to play the
file WITH the right audio, except the audio and video is completely out of
sync. (maybe there's a bug in mplayer's mpeg-pes code?)

Anyone got any idea's what could be done about this ?


Besides my above question i would like to ask if someone know or have code
that can output mpeg2 instead of mpeg1. (non-realtime that is) Or can
somebody point me to some good docs on how to implement such an output
'plugin' (-vo) for mplayer. (This would allow mplayer to convert divx in
mpeg2 with subtitles and be able to play them with vdr or whatever, create
svcds.... )

With kind regards,
Andy Knuts






More information about the MPlayer-dvb mailing list