From: Bo Xie Reply-To: Bo Xie To: MPlayer-dev-eng@mplayerhq.hu Date: May 18, 2005 9:49 PM Subject: Bug Report: Different audio sid in the output log by "mplayer dvd://4 -v" command Reply | Reply to all | Forward | Print | Add sender to Contacts list | Trash this message | Report phishing | Show original Hi, The following is a bug report about different audio sid in the output log by "mplayer dvd://4 -v" command. In one word, I find the following log -------- [open] audio stream: 0 audio format: dts (5.1) language: en aid: 136 [open] audio stream: 1 audio format: ac3 (5.1) language: en aid: 129 [open] audio stream: 2 audio format: ac3 (5.1) language: ja aid: 130 ... ==> Found audio stream: 131 ... -------- They have *different* audio aid! The following are steps to repeat the bug 1. Download the latest mplayer cvs MPlayer-20050518.tar.bz2. 2. Compile it by MinGW in my windows XP. 3. Run it and the following is the who log. ----------Begin of log---- $ mplayer dvd://4 -v MPlayer dev-CVS-050518-21:20-3.2.3 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CommandLine: 'dvd://4' '-v' get_path('font/font.desc') -> 'C:/msys/1.0/home/Xie Bo/mplayer/font/font.desc' font: can't open file: C:/msys/1.0/home/Xie Bo/mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Windows native timing get_path('input.conf') -> 'C:/msys/1.0/home/Xie Bo/mplayer/input.conf' Can't open input config file C:/msys/1.0/home/Xie Bo/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('4.conf') -> 'C:/msys/1.0/home/Xie Bo/mplayer/4.conf' getch2: 6 can't get number of input events [disabling console input] Playing dvd://4. get_path('DVDKeys') -> 'C:/msys/1.0/home/Xie Bo/mplayer/DVDKeys' Reading disc structure, please wait... There are 5 titles on this DVD. There are 1 chapters in this DVD title. There are 1 angles in this DVD title. DVD successfully opened. [open] audio stream: 0 audio format: dts (5.1) language: en aid: 136 [open] audio stream: 1 audio format: ac3 (5.1) language: en aid: 129 [open] audio stream: 2 audio format: ac3 (5.1) language: ja aid: 130 [open] number of audio channels on disk: 3. [open] subtitle ( sid ): 0 language: ja [open] subtitle ( sid ): 1 language: en [open] subtitle ( sid ): 2 language: ja [open] number of subtitles on disk: 3 DVD start cell: 0 pack: 0xD1E6-0x1C547 WINSOCK2 init: 0 DVD start=53734 end=116039 DVD Seek! lba=0xD1E6 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for Nullsoft Streaming Video Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename dvd://4 ext: (null) Checking for MOV Checking for VIVO header block 1 size: 0 DVD Seek! lba=0xD1E6 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! DVD Seek! lba=0xD1E6 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! Checking for PVA Checking for MPEG-TS... TRIED UP TO POSITION 110127136, FOUND 0, packet_size= 71, SEEMS A TS? 0 DVD Seek! lba=0xD20D cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! DVD Seek! lba=0xD1E6 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! Checking for LMLM4 Stream Format Invalid packet in LMLM4 stream: ch=0 size=1140851708 LMLM4 Stream Format not found system stream synced at 0x68F300D (110047245)! ==> Found video stream: 0 DVD Seek! lba=0x1B40F cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! ==> Found audio stream: 131 DVD Seek! lba=0x1C452 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! --- END OF CELL !!! --- dvd_next_cell: next1=0x0 dvd_next_cell: next2=0x0 MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) DVD Seek! lba=0xD1E6 cell=0 packs: 0xD1E6-0x1C547 Angle-seek synced by cell/vob IDN search! MPEG-PS file format detected. Searching for sequence header... OK! VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8000.0 kbps (1000.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334 get_path('sub/') -> 'C:/msys/1.0/home/Xie Bo/mplayer/sub/' get_path('default.sub') -> 'C:/msys/1.0/home/Xie Bo/mplayer/default.sub' ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 dec_audio: Allocating 3840 bytes for input buffer. dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer. AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0x2 AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== checking primary surface 14 BGR32 supported testing supported overlay pixelformats 0 YV12 supported 1 I420 not supported 2 IYUV not supported 3 YVU9 supported 4 YUY2 supported 5 UYVY supported 6 BGR8 not supported 7 RGB15 supported 8 BGR15 supported 9 RGB16 supported 10 BGR16 supported 11 RGB24 not supported 12 BGR24 not supported 13 RGB32 supported 14 BGR32 supported Your card supports 10 of 15 overlayformats hardware supports overlay ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES) Trying filter chain: vo Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale vo No accelerated IMDCT transform found Using MMX optimized resampler The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le AF_pre: 48000Hz/2ch/s16le ao_dsound: Output Devices: 0 主声音驱动程序 <-- 1 SoundMAX Digital Audio ao_dsound: DirectSound initialized ao_dsound: Samplerate:48000Hz Channels:2 Format:s16le ao_dsound: Buffersize:192000 bytes (1000 msec) ao_dsound: primary buffer created ao_dsound: secondary (stream)buffer created AO: [dsound] 48000Hz 2ch s16le (2 bps) AO: Description: Windows DirectSound audio output AO: Author: Gabor Szecsi 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... VDec: vo config request - 720 x 480 (preferred csp: 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 (720x480->854x480,flags=0,'MPlayer',0x32315659) VO: [directx] 720x480 => 854x480 Planar YV12 VO: Description: Directx DDraw YUV/RGB/BGR renderer VO: Author: Sascha Sommer overlay with format YV12 created *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes A: 0.5 V: 0.5 A-V: 0.007 ct: 0.027 15/ 12 ??% ??% ??,?% 0 0 demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate. No bind found for key 0 3% 1% 10.9% 0 0 No bind found for key 8 5% 1% 13.7% 0 0 No bind found for key 6 5% 1% 13.6% 0 0 Uninit audio filters... 0.039 ct: 0.080 209/206 5% 1% 13.7% 0 0 [libaf] Removing filter dummy uninit audio: liba52 uninit video: libmpeg2 WINSOCK2 uninit ao_dsound: DirectSound uninitialized Exiting... (Quit) ----------End of log------- If you need any more info about this bug report, please let me know. Looking forward to patch about it and thank you in advance! Best Regards, Xie Bo From: Bo Xie Reply-To: Bo Xie To: Guillaume POIRIER Cc: "MPlayer usage questions, feature requests, bug reports" Date: May 19, 2005 7:41 AM Subject: Re: [MPlayer-users] Re: [MPlayer-dev-eng] Bug Report: Different audio sid in the output log by "mplayer dvd://4 -v" command Reply | Reply to all | Forward | Print | Add sender to Contacts list | Trash this message | Report phishing | Show original > This should work, but it's probably better if you dump part of your > dvd into a file according to this entry of the faq: > http://mplayerhq.hu/DOCS/HTML/en/faq.html#id2887791 > > You probably want to restrain the lenght of the dump with the > "-frames" (300 should be more than enough) option and jump to a more > relevant part of the movie with "-ss". > Now I just hope that this works when used with "-dumpstream" > I've uploaded it. Please find it by url ftp://ftp.mplayerhq.hu/MPlayer/incoming/dvd_dump_small.vob. I use following steps to create the uploaded file: -------------------- 1. mplayer -dumpstream dvd://4 -chapter 1-1 -dumpfile dvd_dump.vob MPlayer dev-CVS-050518-21:20-3.2.3 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Creating config file: C:/msys/1.0/MPlayer-20050518/mplayer/config Playing dvd://4. Reading disc structure, please wait... There are 5 titles on this DVD. There are 1 chapters in this DVD title. There are 1 angles in this DVD title. DVD successfully opened. Core dumped ;) Exiting... (End of file) 2.dd if=dvd_dump.vob of=dvd_dump_small.vob bs=1024k count=5 5+0 records in 5+0 records out (I use dd(windows version) of GNU Unix Utility(http://unxutils.sourceforge.net/UnxUtils.zip) ) 3.mplayer c:\dvd_dump_small.vob -v MPlayer dev-CVS-050518-21:20-3.2.3 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CommandLine: 'c:\dvd_dump_small.vob' '-v' get_path('font/font.desc') -> 'C:/msys/1.0/MPlayer-20050518/mplayer/font/font.de sc' font: can't open file: C:/msys/1.0/MPlayer-20050518/mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Using Windows native timing get_path('input.conf') -> 'C:/msys/1.0/MPlayer-20050518/mplayer/input.conf' Can't open input config file C:/msys/1.0/MPlayer-20050518/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('c:\dvd_dump_small.vob.conf') -> 'C:/msys/1.0/MPlayer-20050518/mplayer/ c:\dvd_dump_small.vob.conf' Playing c:\dvd_dump_small.vob. WINSOCK2 init: 0 [file] File size is 5242880 bytes STREAM: [file] c:\dvd_dump_small.vob STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for Nullsoft Streaming Video Checking for NuppelVideo Checking for REAL Checking for SMJPEG Searching demuxer type for filename c:\dvd_dump_small.vob ext: .vob Trying demuxer 2 based on filename extension system stream synced at 0xD (13)! ==> Found video stream: 0 ==> Found audio stream: 131 MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG-PS file format detected. Searching for sequence header... OK! VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8000.0 kbps (1000.0 kbyte/s) [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334 get_path('sub/') -> 'C:/msys/1.0/MPlayer-20050518/mplayer/sub/' get_path('default.sub') -> 'C:/msys/1.0/MPlayer-20050518/mplayer/default.sub' ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 dec_audio: Allocating 3840 bytes for input buffer. dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer. No accelerated IMDCT transform found AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s A52 flags before a52_frame: 0x2A A52 flags after a52_frame: 0x2 Using MMX optimized resampler - Show quoted text - AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== checking primary surface 14 BGR32 supported testing supported overlay pixelformats 0 YV12 supported 1 I420 not supported 2 IYUV not supported 3 YVU9 supported 4 YUY2 supported 5 UYVY supported 6 BGR8 not supported 7 RGB15 supported 8 BGR15 supported 9 RGB16 supported 10 BGR16 supported 11 RGB24 not supported 12 BGR24 not supported 13 RGB32 supported 14 BGR32 supported Your card supports 10 of 15 overlayformats hardware supports overlay ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES) Trying filter chain: vo Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] SwScale params: -1 x -1 (-1=no scaling) Trying filter chain: scale vo - Show quoted text - The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... [libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le AF_pre: 48000Hz/2ch/s16le ao_dsound: Output Devices: 0 主声音驱动程序 <-- 1 SoundMAX Digital Audio ao_dsound: DirectSound initialized ao_dsound: Samplerate:48000Hz Channels:2 Format:s16le ao_dsound: Buffersize:192000 bytes (1000 msec) ao_dsound: primary buffer created ao_dsound: secondary (stream)buffer created AO: [dsound] 48000Hz 2ch s16le (2 bps) AO: Description: Windows DirectSound audio output AO: Author: Gabor Szecsi 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... VDec: vo config request - 720 x 480 (preferred csp: 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 (720x480->854x480,flags=0,'MPlayer',0x32315659) VO: [directx] 720x480 => 854x480 Planar YV12 VO: Description: Directx DDraw YUV/RGB/BGR renderer VO: Author: Sascha Sommer overlay with format YV12 created *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes *** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes A: 0.5 V: 0.5 A-V: 0.005 ct: 0.027 15/ 12 ??% ??% ??,?% 0 0 demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate. MPEG Stream reached EOF 0.016 ct: 0.074 163/160 13% 3% 0.2% 0 0 ds_fill_buffer: EOF reached (stream: audio) a52: CRC check failed! a52: error at resampling MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: audio) MPEG Stream reached EOF 0.004 ct: 0.083 183/180 13% 3% 0.1% 0 0 ds_fill_buffer: EOF reached (stream: video) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) MPEG Stream reached EOF ds_fill_buffer: EOF reached (stream: video) EOF code: 1 7.5 A-V: 0.010 ct: 0.084 183/180 13% 3% 0.1% 0 0 Uninit audio filters... [libaf] Removing filter dummy uninit audio: liba52 uninit video: libmpeg2 WINSOCK2 uninit ao_dsound: DirectSound uninitialized Exiting... (End of file) --------------------- If there is anything wrong, please let me know. I will correct it and re-upload the source. Thank you! Best Regards, Xie Bo