[MPlayer-dev-eng] [PATCH] PVA demuxer

Dominik Mierzejewski dominik at rangers.eu.org
Tue Sep 10 23:46:35 CEST 2002


On Tuesday, 10 September 2002, Arpi wrote:
> Hi,
> 
> >  PVA_FashionTV_BROKEN.pva
> > sound is strange, sound like 2 mpeg audio track interleaved
> > probably the file contains more than one audio and as your demuxer doesn't
> > do stream id checking, it reads both stream and mix them...
> 
> ok i've found taht you just skip the audio PES header, instead of parsing
> and checking stream id out of it.
> 
> > it looks unstable, i mean i wouldn't put it before the mpeg ps/pes/es
> > detection but maybe pva files will be misdetected then.
> i've changed the pva_check_file, to read and check only the first 5 byte
> 
> it's commited to cvs.

Great, but it looks like I have two samples that aren't recognized by current
code at all:
mplayer -v _B5_Crusade_-_Kosmiczna_Krucjata_01pl_1276.pva
MPlayer CVS-RPM-020910-23:34-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile
mplayer from sources with --disable-runtime-cpudetection
Reading /home/dominik/.mplayer/codecs.conf: can't open '/home/dominik/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine: '-v' '_B5_Crusade_-_Kosmiczna_Krucjata_01pl_1276.pva'
get_path('font/font.desc') -> '/home/dominik/.mplayer/font/font.desc'
font: can't open file: /home/dominik/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/dominik/.mplayer/input.conf'
Can't open input config file /home/dominik/.mplayer/input.conf : No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 50 binds

Playing _B5_Crusade_-_Kosmiczna_Krucjata_01pl_1276.pva
Not an URL!
File size is 724197470 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 16.16% (2711552 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8381e98
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8381e98
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8381e98
Checking for MOV
DEMUXER: freeing demuxer at 0x8381e98
Checking for VIVO
header block 1 size: 86
DEMUXER: freeing demuxer at 0x8381e98
Checking for REAL
DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing demuxer at 0x8381e98
Checking for PVA
Detected PVA file...
==> Found video stream: 0
==> Found audio stream: 0
Opened PVA demuxer...
Searching for sequence header... ds_fill_buffer: EOF reached (stream: video)
demux_pva: pva_get_payload() missed a SyncWord at 24!! Trying to sync...
ds_fill_buffer: EOF reached (stream: video)
demux_pva: pva_get_payload() missed a SyncWord at 2058!! Trying to sync...
ds_fill_buffer: EOF reached (stream: video)
demux_pva: pva_get_payload() missed a SyncWord at 3500!! Trying to sync...
ds_fill_buffer: EOF reached (stream: video)
demux_pva: pva_get_payload() missed a SyncWord at 9640!! Trying to sync...
ds_fill_buffer: EOF reached (stream: video)
NONE :(
MPEG: FATAL: EOF while searching for sequence header
Video: can't read properties
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
demux_pva: pva_get_payload() missed a SyncWord at 15784!! Trying to sync...
ds_fill_buffer: EOF reached (stream: audio)
ADecoder init failed :(
Couldn't initialize audio codec! -> nosound
Audio: no sound!!!
Freeing 0 unused audio chunks
Video: no video!!!
Freeing 0 unused video chunks

DEMUXER: freeing demuxer at 0x8381e98
DEMUXER: freeing sh_audio at 0x835d810
DEMUXER: freeing sh_video at 0x835d780
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

So I'll upload a part of each file to incoming along with descriptions.
 
-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"



More information about the MPlayer-dev-eng mailing list