This is a discussion on mplayer fails to play some ASF streams within the Linux General forums, part of the Linux Forums category; I am having trouble playing some (but not all) pre-recorded ASF stream on mplayer 0.90 Some asf streams ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am having trouble playing some (but not all) pre-recorded ASF stream
on mplayer 0.90 Some asf streams play and others don't with mplayer. Note I have all the latest win32codecs installed as downloaded from the mplayerhq.hu site. Note also that the same files that don't play under mplayer, have no trouble playing under Xine and under Windoze Media Player. I have read the mplayer docs and googled, but haven't found any clear solutions. Couple of thoughts though: 1. The mplayer codec faq mentions something about codecs called wmav1 and wmav2 under the new/untested section. I could not find these on the mplayer codec download site. Would these solve the problem? If so, where can I find them? 2. Elsewhere, I saw mention of ffmpeg/libavcodec supporting WMA audio codecs. I installed the ffmpeg from psyche.freshrpms, but it didn't have any effect. Does the freshrpm version of mplayer support ffmpeg? Is ffmpeg a solution here? 3. Some people mention something about there being different versions/types of ASF with some being proprietary M$ format or encrypted. However, if so, why is Xine able to play them? Any other thoughts on what might be going on here? Note: I am running mplayer-0.90-4.0.rh80.20030808.fr.rpm (from psyche.freshrpms.net) under RH8.0/linux 2.4.20. Specifically, I get the following outpt from running: mplayer -v switch \ http://www.a7.org/data/songs2003/07/...y-madregot.asx ------------------------ MPlayer dev-CVS--3.2 (C) 2000-2003 MPlayer Team CPU: Intel (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Reading config file /etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/johndoe/.mplayer/config Reading /home/johndoe/.mplayer/codecs.conf: Can't open '/home/johndoe/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf CommandLine: '-ao' 'esd' '-v' 'switch' 'http://www.a7.org/data/songs2003/07/02/matay-madregot.asx' get_path('font/font.desc') -> '/home/johndoe/.mplayer/font/font.desc' font: can't open file: /home/johndoe/.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_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Using usleep() timing get_path('input.conf') -> '/home/johndoe/.mplayer/input.conf' Can't open input config file /home/johndoe/.mplayer/input.conf: No such file or directory Can't open input config file /etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config Can't init input joystick Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such device Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('matay-madregot.asx.conf') -> '/home/johndoe/.mplayer/matay-madregot.asx.conf' Playing http://www.a7.org/data/songs2003/07/...y-madregot.asx Failed to create AF_INET6 socket: Resolving www.a7.org for AF_INET... Connecting to server www.a7.org[198.65.148.152]:80 ... --- HTTP DEBUG HEADER --- START --- protocol: [HTTP/1.1] http minor version: [1] uri: [(null)] method: [(null)] status code: [200] reason phrase: [OK] body size: [277] Fields: 0 - Server: Microsoft-IIS/5.0 1 - Cache-Control: max-age=31536000 2 - Expires: Thu, 02 Sep 2004 02:28:25 GMT 3 - Date: Wed, 03 Sep 2003 02:28:25 GMT 4 - Content-Type: video/x-ms-asf 5 - Accept-Ranges: bytes 6 - Last-Modified: Wed, 02 Jul 2003 14:03:30 GMT 7 - ETag: "86f3b2b7a240c31:c54" 8 - Content-Length: 277 --- HTTP DEBUG HEADER --- END --- Content-Type: [video/x-ms-asf] Content-Length: [277] Trying ASF/HTTP... Failed to create AF_INET6 socket: Resolving www.a7.org for AF_INET... Connecting to server www.a7.org[198.65.148.152]:80 ... =====> ASF Redirector Connected to server: www.a7.org Parsing playlist http://www.a7.org/data/songs2003/07/...y-madregot.asx... Trying asx... Detected asx format Adding file mms://msmedia.a7.org/arutz7/mitzad/matay-madregot.wma to element entry Playlist successfully parsed get_path('matay-madregot.wma.conf') -> '/home/johndoe/.mplayer/matay-madregot.wma.conf' Playing mms://msmedia.a7.org/arutz7/mitzad/matay-madregot.wma Trying ASF/HTTP... Failed to create AF_INET6 socket: Resolving msmedia.a7.org for AF_INET... Connecting to server msmedia.a7.org[198.64.140.205]:80 ... =====> ASF Prerecorded =====> ASF header chunk follows Failed to create AF_INET6 socket: Stream bitrate properties object Max bandwidth set to 0 Resolving msmedia.a7.org for AF_INET... Connecting to server msmedia.a7.org[198.64.140.205]:80 ... =====> ASF Prerecorded Cache size set to 120 KBytes Connected to server: msmedia.a7.org CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0 Cache fill: 0.00% (0 bytes) =====> ASF header chunk follows Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) .... .... .... Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 0.00% (0 bytes) Cache fill: 1.96% (2403 bytes) ASF file format detected. ASF: packets: 698 flags: 2 max_packet_size: 5976 min_packet_size: 5976 max_bitrate: 128623 preroll: 1579 stream type: guid_audio_stream stream concealment: guid_audio_conceal_interleave type: 28 bytes, stream: 8 bytes ID: 1 unk1: 0 unk2: 199FBFC FILEPOS=0x87B ==> Found audio stream: 1 ======= WAVE Format ======= Format Tag: 353 (0x161) Channels: 2 Samplerate: 44100 avg byte/sec: 16000 Block align: 5945 bits/sample: 16 cbSize: 10 Unknown extra header dump: [0] [88] [0] [0] [f] [0] [e5] [5c] [0] [0] =========================== ASF: audio scrambling: 1 x 1 x 5945 ============ ASF Stream group == START === object size = 32 stream count=[0x1][1] stream id=[0x1][1] max bitrate=[0x1f66f][128623] ============ ASF Stream group == END === Title: Author: Found movie at 0x963 - 0x3FAF53 ASF: 1 audio and 0 video streams found ASF: Searching for audio stream (id:-1). ds_fill_buffer: EOF reached (stream: audio) ASF: No audio stream found -> no sound. No stream found. DEMUXER: freeing demuxer at 0x862e228 DEMUXER: freeing sh_audio at 0x86301f0 vo: x11 uninit called but X11 not inited.. Exiting... (End of file) ---------------------------------------------------- - Any ideas on what might be going wrong here? Thanks! |