Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#172 closed defect (worksforme)

Mplayer crashes when trying to select second audio track in wmv file

Reported by: rkrig@… Owned by: alex@…
Priority: important Component: ad
Version: 1.0pre4 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I have a multilanguage wmv file. e.g. It contains two audio tracks. Audio 1 is
japanese, audio 2 is english.
If I just play it, then it plays japanese. If I try to select the second audio
track via "mplayer -aid 2 filename.wmv" then mplayer crashes.

This happens everytime on every machine that Ive tested it on. My main desktop
is a AthlonXP 2600, my Laptop is a PIII 1,1ghz. It crashes on both machines
using different versions of mplayer.

I have tried playing the file under Windows XP with Windows Media Player 10, and
there it plays without a hitch. Both tracks are easily selectable and work.

Workaround:
The only workaround that seems to work is to boot windows and play the file with
Windows Media Player. Not exactly a viable solution.

Change History (4)

comment:1 Changed 14 years ago by reimar

Please provide a mplayer -v log of the crash and upload a sample (or at least
part of it) to ftp://mplayerhq.hu/MPlayer/incoming, otherwise we can't help.

comment:2 Changed 14 years ago by rkrig@…

(In reply to comment #1)

Please provide a mplayer -v log of the crash and upload a sample (or at least
part of it) to ftp://mplayerhq.hu/MPlayer/incoming, otherwise we can't help.

Ok, Im uploading the wmv file as we speak, might take a while, its 180mb large.
I dont know how to extract a sample of the video since its in wmv format.
Allthough Im guessing that even a partial wmv file will play through mplayer.
The file is called DG.wmv and Ive included a DG.txt which explains it again.

Here is the output from mplayer:
mplayer -v -aid 2 DG.wmv
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

77 audio & 188 video codecs
CommandLine?: '-v' '-aid' '2' 'DG.wmv'
init_freetype
/usr/share/fonts/TTF/luxisr.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/share/fonts/TTF/luxisr.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay?
Using nanosleep() timing
get_path('input.conf') -> '/home/chojin/.mplayer/input.conf'
Can't open input config file /home/chojin/.mplayer/input.conf: No such file or
directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 59 binds
Setting up LIRC support...
get_path('DG.wmv.conf') -> '/home/chojin/.mplayer/DG.wmv.conf'
Playing DG.wmv.
[file] File size is 179660075 bytes
STREAM: [file] DG.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:4046848
Checking for YUV4MPEG2
ASF file format detected.
ASF: packets: 11227 flags: 2 max_packet_size: 16000 min_packet_size: 16000
max_bitrate: 1029284 preroll: 5000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 6E3A0
FILEPOS=0xEE6
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 48000
avg byte/sec: 8001
Block align: 2731
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [f] [0] [ad] [2a] [0] [0]
===========================
ASF: audio scrambling: 1 x 1 x 2731
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes, stream: 0 bytes ID: 3
unk1: 0 unk2: 1781E70
FILEPOS=0xF58
==> Found video stream: 3
======= VIDEO Format ======

biSize 44
biWidth 448
biHeight 336
biPlanes 1
biBitCount 24
biCompression 861293911='WMV3'
biSizeImage 0

Unknown extra header dump: [4e] [e1] [1a] [1]
===========================
============ ASF Stream group == START ===

object size = 44
stream count=[0x3][3]

stream id=[0x1][1]
max bitrate=[0xfec4][65220]
stream id=[0x2][2]
max bitrate=[0xfec4][65220]
stream id=[0x3][3]
max bitrate=[0xeb5e0][964064]

============ ASF Stream group == END ===
Found movie at 0xFED - 0xAB5076D
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 3
Auto-selected ASF audio ID = 2
ASF: Searching for audio stream (id:2).
Auto-selected ASF audio ID = 2

MPlayer interrupted by signal 11 in module: demux_open

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.

vo: x11 uninit called but X11 not inited..

comment:3 Changed 14 years ago by rkrig@…

I wasnt able to upload the whole file, it stopped at about 14mb I think. I hope
that gives you enough data to check it out.

comment:4 Changed 13 years ago by reynaldo@…

  • Resolution set to worksforme
  • Status changed from new to closed

Non reproducible, current svn plays it correctly regardles of the aid
been chosen.

Note: See TracTickets for help on using tickets.