LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-21-2004, 02:04 AM   #1
higunj1
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 8

Rep: Reputation: 0
Can't find codec for audio format 0xA


I'm using the latest version of Mplayer (MPlayer 0.90-RPM-3.2) with all the
codecs installed (win32 included).

When I am trying to play a Window Media Player 9 .wmv file Mplayer the video output comes but there is no audio output it fails with the following message

"Cannot find codec for audio format 0xA."

Can some one suggest possible solutions for it.

Thanks
Gunjan
 
Old 03-21-2004, 07:11 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
whats the output of
'mplayer /path/to/wmv'

read it, it will tell you what the name of the windows codec its trying to load is called, and where its looking for it. if the codec is on your disk, and in the right place, its likely that the file could be corrupt.

also... which win32 codec package did you install ? the "light" package does not have some of the rare codecs, and if you got the file from a p2p file sharieng program, its liekly that the file is not a wmv, just som idiot renameing the extension.

i have loads of mpeg's with the avi file extension... god knows why people do it. maybe they think that foing it magically converts the file.... lol.
 
Old 03-21-2004, 08:27 AM   #3
higunj1
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 8

Original Poster
Rep: Reputation: 0
I have downloaded the right kind of codecs from the mplayer.hu site. I have kept all the files in /usr/lib/win32

Down below I am giving you the output from the command you asked me to execute.
I would be thankful if you can guide me through it

*********************** start of text ************************************************************************


MPlayer 0.90rc3-RPM-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 49 audio & 130 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Input config file /etc/mplayer/input.conf parsed : 50 binds

Playing mms://myserver/PPC-PDS-2/PPC-2.wmv
Connecting to server myserver:80 ...
Connecting to server myserver:1755 ...
connected
unknown object
unknown object
file object, packet length = 8000 (8000)
unknown object
unknown object
stream object, stream id: 1
stream object, stream id: 2
unknown object
data object
mmst packet_length = 8000
Cache size set to 8192 KBytes
Connected to server: myserver
ASF file format detected.
============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x44c3][17603]
stream id=[0x2][2]
max bitrate=[0xb8faa][757674]
============ ASF Stream group == END ===
VIDEO: [WMV3] 640x480 24bpp
Clip info:
name:
author:
copyright:
comments:
==========================================================================
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0xA
==========================================================================
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
External func OLEAUT32.dll:8
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:921600 align:1
StreamCount r=0x0 1 1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU    
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2)
VDec: using BGR 32-bit as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 BGR 32-bit [fs] [zoom]
[x11] NET style stay on top ( layer 1 ). Using state _NET_WM_STATE_STAYS_ON_TOP.
SwScaler: using unscaled BGR 32-bit -> BGR 32-bit special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Audio: no sound
Starting playback...


********************* end of text ****************************************************************************


As you can see from the output its able to find the codec for video but not for audio which it mentions as 0xA .

Please let me know if you want any other information from me
Thanks
Gunjan
 
Old 03-21-2004, 11:18 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
looks to me like the file could be corrupt.
can your mplayer play other ASF video files ?
 
Old 03-21-2004, 03:06 PM   #5
higunj1
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 8

Original Poster
Rep: Reputation: 0
Yes I can play video file with ASF format but its the audio which is creating the problem !
 
Old 03-21-2004, 04:53 PM   #6
higunj1
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 8

Original Poster
Rep: Reputation: 0
I added the following line to my codec.conf file of mplayer wma9dmo codec and then I received the following output


************************ start of message ***********************************************************************

============ ASF Stream group == START ===
object size = 38
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0x44c3][17603]
stream id=[0x2][2]
max bitrate=[0xb8faa][757674]
============ ASF Stream group == END ===
VIDEO: [WMV3] 640x480 24bpp
Clip info:
name:
author:
copyright:
comments:
==========================================================================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 10 (0xA)
Channels: 1
Samplerate: 16000
avg byte/sec: 2000
Block align: 600
bits/sample: 16
cbSize: 46
Unknown extra header dump: [10] [0] [4] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [10] [0] [0] [0] [8d] [99] [5a] [0] [5] [c9] [2d] [48] [90] [1a] [60] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 16000
avg byte/sec: 32000
Block align: 2
bits/sample: 16
cbSize: 0
External func OLEAUT32.dll:7
External func OLEAUT32.dll:8
Total Unfree 0 bytes cnt 0 [(nil),0]
IMediaObject ERROR: 0x82e5af5 input format not accepted (0x80040205 : -2147220987)
ERROR: Could not open required Directshow codec wma9dmod.dll
ADecorder preinit failed
ADecoder init failed
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0xA
==========================================================================
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [dmo] DMO video codecs
External func OLEAUT32.dll:8
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:921600 align:1
StreamCount r=0x0 1 1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU    
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 640 x 480 (preferred csp: Packed YUY2)
VDec: using BGR 32-bit as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 640x480 => 640x480 BGR 32-bit [fs] [zoom]
[x11] NET style stay on top ( layer 1 ). Using state _NET_WM_STATE_STAYS_ON_TOP.
SwScaler: using unscaled BGR 32-bit -> BGR 32-bit special converter
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)

Audio: no sound
Starting playback

******************** end of messsage **********************************************************************

Please that now it is able to recognise the file which it needs but it says something about an error.

Is this information of help

Gunjan
 
Old 03-22-2004, 03:58 PM   #7
higunj1
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 8

Original Poster
Rep: Reputation: 0
I have still not received any help for the 0xA codec which I had asked can someone help me out with the problem. I cannot receive sound from my mplayer for a .WMV9 type file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find codec for audio format 0x56444152 allelopath Linux - Software 1 05-26-2005 03:35 PM
MPlayer unable to find appropriate audio codec for avi file hbbtstar Linux - Software 1 05-23-2005 05:51 PM
MPlayer cannot find audio codec seagreen Linux - Software 3 02-21-2005 05:09 AM
Installing Audio Codec hitman_et Linux - General 3 12-12-2004 10:07 AM
Trouble with audio codec Dare Linux - Software 1 05-02-2004 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration