Opened 10 years ago

Last modified 9 years ago

#1438 new defect

lavf demuxer fails to autodetect EVO (HD-DVD) file format

Reported by: alain.perrot@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Hi,

I am using latest mplayer from SVN repository on my Linux x86_64 system.

It used to be able to play EVO files using the lavf demuxer, but on latest revisions, the lavf demuxer fails to autodetect their format.

For sample files, see for example the sample.evo and MAININTRO.EVO files from http://samples.mplayerhq.hu/evob/.

Using ffplay (from ffmpeg SVN repository), both video and audio are played.

Using mplayer's default demuxer, video can be played, but there is issue with EAC3 audio.

Using mplayer with lavf demuxer without specifying the format, none of video or audio are played:

$ mplayer -v -demuxer lavf MAININTRO.EVO
MPlayer SVN-r29154-4.3.2 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel? max cpuid level: 10
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/alain/.mplayer/codecs.conf'
Reading /home/alain/.mplayer/codecs.conf: Can't open '/home/alain/.mplayer/codecs.conf': No such file or directory
Reading /home/alain/.local/etc/mplayer/codecs.conf: Can't open '/home/alain/.local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/home/alain/.local
CommandLine?: '-v' '-demuxer' 'lavf' 'MAININTRO.EVO'
init_freetype
get_path('font/font.desc') -> '/home/alain/.mplayer/font/font.desc'
font: can't open file: /home/alain/.mplayer/font/font.desc
font: can't open file: /home/alain/.local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
get_path('fonts') -> '/home/alain/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/alain/.mplayer/input.conf'
Can't open input config file /home/alain/.mplayer/input.conf: No such file or directory
Can't open input config file /home/alain/.local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('MAININTRO.EVO.conf') -> '/home/alain/.mplayer/MAININTRO.EVO.conf'

Playing MAININTRO.EVO.
get_path('sub/') -> '/home/alain/.mplayer/sub/'
[file] File size is 137259008 bytes
STREAM: [file] MAININTRO.EVO
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: no clue about this gibberish!

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)

Using mplayer with lavf demuxer and specifying the format, both video and audio are played:

$ mplayer -v -demuxer lavf -lavfdopts format=mpeg MAININTRO.EVO
MPlayer SVN-r29154-4.3.2 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel? max cpuid level: 10
CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/alain/.mplayer/codecs.conf'
Reading /home/alain/.mplayer/codecs.conf: Can't open '/home/alain/.mplayer/codecs.conf': No such file or directory
Reading /home/alain/.local/etc/mplayer/codecs.conf: Can't open '/home/alain/.local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/home/alain/.local
CommandLine?: '-v' '-demuxer' 'lavf' '-lavfdopts' 'format=mpeg' 'MAININTRO.EVO'
init_freetype
get_path('font/font.desc') -> '/home/alain/.mplayer/font/font.desc'
font: can't open file: /home/alain/.mplayer/font/font.desc
font: can't open file: /home/alain/.local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
get_path('fonts') -> '/home/alain/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/alain/.mplayer/input.conf'
Can't open input config file /home/alain/.mplayer/input.conf: No such file or directory
Can't open input config file /home/alain/.local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('MAININTRO.EVO.conf') -> '/home/alain/.mplayer/MAININTRO.EVO.conf'

Playing MAININTRO.EVO.
get_path('sub/') -> '/home/alain/.mplayer/sub/'
[file] File size is 137259008 bytes
STREAM: [file] MAININTRO.EVO
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Forced lavf MPEG-PS format demuxer
libavformat file format detected.
stream_seek: WARNING! Can't seek to 0x82E6800 !
stream_seek: WARNING! Can't seek to 0x82E6800 !
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======

biSize 73
biWidth 1920
biHeight 1080
biPlanes 0
biBitCount 0
biCompression 826496599='WVC1'
biSizeImage 0

Unknown extra header dump: [0] [0] [1] [f] [db] [fe] [3b] [f2] [1b] [ca] [3b] [f8] [86] [f1] [80] [c9] [9] [a5] [b8] [d7] [7] [fc] [0] [0] [1] [e] [5a] [c7] [fc] [ef] [c8] [6c] [40]
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 16709 (0x4145)
Channels: 6
Samplerate: 48000
avg byte/sec: 96000
Block align: 1
bits/sample: 0
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3416064
VIDEO: [WVC1] 1920x1080 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35 fourcc:0x31435657 size:1920x1080 fps:29.970 ftime:=0.0334
get_path('sub/') -> '/home/alain/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[vc1 @ 0xc4acc0]Header: DBFE3BF2
[vc1 @ 0xc4acc0]Advanced Profile level 3:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter?=0, ChromaFormat?=1, Pulldown=1, Interlace: 1
TFCTRflag=0, FINTERPflag=0
[vc1 @ 0xc4acc0]Display extended info:
[vc1 @ 0xc4acc0]Display dimensions: 1920x1080
[vc1 @ 0xc4acc0]Aspect: 1:1
[vc1 @ 0xc4acc0]Entry point: 5AC7FCEF
[vc1 @ 0xc4acc0]Entry point info:
BrokenLink?=0, ClosedEntry?=1, PanscanFlag?=0
RefDist?=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=0
INFO: libavcodec init OK!
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.

FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [ffeac3] afm: ffmpeg (FFmpeg E-AC-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying every known audio driver...
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[vc1 @ 0xc4acc0]Entry point: 5AC7FCEF
[vc1 @ 0xc4acc0]Entry point info:
BrokenLink?=0, ClosedEntry?=1, PanscanFlag?=0
RefDist?=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=0
[vc1 @ 0xc4acc0]ACPRED plane encoding: Imode: 5, Invert: 0
[vc1 @ 0xc4acc0]VOP DQuant info
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra@…> and others
[ASPECT] Warning: No suitable new res found!
* [vo] Exporting mp_image_t, 1920x1080x12bpp YUV planar, 3110400 bytes
get_path('subfont.ttf') -> '/home/alain/.mplayer/subfont.ttf'
Unicode font: 4929 glyphs.
get_path('subfont.ttf') -> '/home/alain/.mplayer/subfont.ttf'
Unicode font: 4929 glyphs.
[vc1 @ 0xc4acc0]MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0xc4acc0]MB Skip plane encoding: Imode: 5, Invert: 1
[vc1 @ 0xc4acc0]VOP DQuant info
get_path('subfont.ttf') -> '/home/alain/.mplayer/subfont.ttf'
Unicode font: 4929 glyphs.
get_path('subfont.ttf') -> '/home/alain/.mplayer/subfont.ttf'
Unicode font: 4929 glyphs.
[... vc1 messages ...]
Uninit audio filters... 0.018 ct: 0.000 0/ 0 53% 25% 1.7% 23 0
[libaf] Removing filter dummy
Uninit audio: ffmpeg
Uninit video: ffmpeg
vo: uninit ...

Exiting... (Quit)

Attachments (1)

mplayer-revert-r29121.diff (357 bytes) - added by alain.perrot@… 10 years ago.
Patch reverting change in revision 29121

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by compn

the other .evo files work fine with -demuxer lavf and

MPlayer SVN-r29150-4.2.4 (C) 2000-2009 MPlayer Team

i'll svn up and dig up a copy of mainintro.evo to test further.

comment:2 Changed 10 years ago by compn

reproduced...

MPlayer SVN-r29169-4.3.3 (C) 2000-2009 MPlayer Team
AltiVec? found
CPU: PowerPC
get_path('codecs.conf') -> '/home/compn/.mplayer/codecs.conf'
Reading /home/compn/.mplayer/codecs.conf: Can't open '/home/compn/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --disable-inet6 --enable-debug=3 --codecsdir=codecs
CommandLine?: 'MAININTRO.EVO' '-vo' 'null' '-ao' 'null' '-demuxer' 'lavf' '-v'
get_path('font/font.desc') -> '/home/compn/.mplayer/font/font.desc'
font: can't open file: /home/compn/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay?
Using nanosleep() timing
get_path('input.conf') -> '/home/compn/.mplayer/input.conf'
Can't open input config file /home/compn/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('MAININTRO.EVO.conf') -> '/home/compn/.mplayer/MAININTRO.EVO.conf'

Playing MAININTRO.EVO.
get_path('sub/') -> '/home/compn/.mplayer/sub/'
[file] File size is 12440660 bytes
STREAM: [file] MAININTRO.EVO
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: no clue about this gibberish!

Exiting... (End of file)

possibly related to the cache-size change reimar made?

comment:3 Changed 10 years ago by alain.perrot@…

I took some time today to test different mplayer revisions.

I have finally found that mplayer revision 29120 works as expected (the lavf demuxer does autodetect the file format), while revision 29121 fails.

------------------------------------------------------------------------
r29121 | reimar | 2009-04-01 11:24:46 +0200 (mer 01 avr 2009) | 2 lines

Increase probe buffer size to 32kB, this makes ac3 auto-detection far more reliable.

------------------------------------------------------------------------

Reverting reimar's change in revision 29121 with an up-to-date revision of mplayer (r29176) solves the issue.

Changed 10 years ago by alain.perrot@…

Patch reverting change in revision 29121

comment:4 Changed 10 years ago by alain.perrot@…

comment:5 Changed 9 years ago by compn

  • Owner changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.