PDA

View Full Version : Audio doesn't work on this XViD


randominity
2005-12-14, 23:43
i'm trying to play this xvid (over samba and harddrive) and i get no sound from it. here is the debug dump:

14-12-2005 15:10:19 debug msg:mplayer_open_file(smb://192.168.1.2/movies/dvd.avi)
14-12-2005 15:10:19 info stating file smb://192.168.1.2/movies/dvd.avi.conf
14-12-2005 15:10:19 info stating file q:\system\players\mplayer\dvd.avi.conf
14-12-2005 15:10:19 debug msg:playing smb://192.168.1.2/movies/dvd.avi.
14-12-2005 15:10:19 debug msg:find subtitles
14-12-2005 15:10:19 debug msg:auto open z:\subtitle
14-12-2005 15:10:19 debug msg:protocol:smb
14-12-2005 15:10:19 debug msg:use standard file for protocol:smb
14-12-2005 15:10:19 debug msg:option stream url: this url doesn't have a hostname part.
14-12-2005 15:10:19 debug msg:
cache fill: 0.00% (0 bytes)
14-12-2005 15:10:19 debug msg:
cache fill: 0.00% (0 bytes)
14-12-2005 15:10:19 debug msg:
cache fill: 3.13% (65536 bytes)
14-12-2005 15:10:19 debug msg:
cache fill: 9.38% (196608 bytes)
14-12-2005 15:10:19 debug msg:
cache fill: 15.63% (327680 bytes)
14-12-2005 15:10:19 debug msg:
cache fill: 18.75% (393216 bytes)
14-12-2005 15:10:19 debug msg:avi file format detected.
14-12-2005 15:10:19 debug msg:video: [xvid] 576x240 12bpp 25.000 fps 1245.9 kbps (152.1 kbyte/s)
14-12-2005 15:10:19 debug msg:clip info:
14-12-2005 15:10:19 debug msg: software: nandub v1.0rc2
14-12-2005 15:10:19 debug msg:starting lookup for subs
14-12-2005 15:10:19 debug msg:global subsize: 0 - vobsub: -1, demux: -1, subs: -1
14-12-2005 15:10:19 debug msg:global subpos : -1
14-12-2005 15:10:19 debug msg:============================================== ============================
14-12-2005 15:10:19 debug msg:forced audio codec: hwdts
14-12-2005 15:10:19 debug msg:forced audio codec: hwac3
14-12-2005 15:10:19 debug msg:opening audio decoder: [hwac3] ac3/dts pass-through sp/dif
14-12-2005 15:10:19 debug msg:hwac3: switched to ac3, 448000 bps, 48000 hz
14-12-2005 15:10:19 debug msg:audio: 48000 hz, 2 ch, 16 bit (0x400), ratio: 56000->192000 (448.0 kbit)
14-12-2005 15:10:19 debug msg:selected audio codec: [hwac3] afm:hwac3 (ac3 through spdif)
14-12-2005 15:10:19 debug msg:============================================== ============================
14-12-2005 15:10:19 debug msg:============================================== ============================
14-12-2005 15:10:19 debug msg:opening video decoder: [ffmpeg] ffmpeg's libavcodec codec family
14-12-2005 15:10:19 debug msg:selected video codec: [ffodivx] vfm:ffmpeg (ffmpeg mpeg-4)
14-12-2005 15:10:19 debug msg:============================================== ============================
14-12-2005 15:10:19 debug msg:checking audio filter chain for 48000hz/2ch/16bit -> 48000hz/6ch/8bit...
14-12-2005 15:10:19 debug msg:[format] sample format big endian ac3 not yet supported
14-12-2005 15:10:19 debug msg:error at audio filter chain pre-init!
14-12-2005 15:10:19 debug msg:ao: [win32] 48000hz 2ch ac3 (1 bps)
14-12-2005 15:10:19 debug msg:building audio filter chain for 48000hz/2ch/16bit -> 48000hz/2ch/8bit...
14-12-2005 15:10:19 debug msg:[format] sample format big endian ac3 not yet supported
14-12-2005 15:10:19 debug msg:couldn't find matching filter/ao format!
14-12-2005 15:10:19 debug msg:starting playback...
14-12-2005 15:10:19 debug msg:mplayer_open_file(smb://192.168.1.2/movies/dvd.avi) done 1.0000
14-12-2005 15:10:19 debug playback has started

this plays fine (with audio) on both my bsd/windows boxen using mplayer.

malloc
2005-12-14, 23:58
14-12-2005 15:10:19 debug msg:selected audio codec: [hwac3] afm:hwac3 (ac3 through spdif)

i'm getting a very similar problem, although i do get audio. my problem though is that it's only outputting to two speakers (when i press the black button it shows 2ch audio instead of 6ch). i tested it out with another movie that shows up as 6ch and instead of getting "ac3 through spdif" i get "ac3-liba52" or something along those lines. if it helps, i encoded the avi that's giving me issues with the dec 05, 2005 build of mencoder. i don't know the details on how the working avi was encoded. mplayer shows both as being 5.1 channel when i play either movie on my windows box.

jmarshall
2005-12-15, 00:26
malloc:

when using passthrough, the ac3 is treated like 2 channel pcm, thus it displays as being 2 channel. when not using passthrough, it's being decoded so we know the data in the ac3 track (and it thus displays correctly).

if it says it's using ac3 passthrough then that's what it's doing. what your receiver is getting is what is in the file.

randominity:

your windows/bsd versions of mplayer will be using the ac3 decoder (ac3-liba52) which probably does support big endian ac3. the hardware passthrough ac3 method does not support big endian (thus the complaints in the log)

i suggest reporting this to mplayer, and supplying a small sample for them to test with.

cheers,
jonathan

malloc
2005-12-15, 00:37
jonathan,

thanks for the reply. i have another question on the topic though. why would some ac3 audio use passthrough and others use liba52?

thanks,
sean

jmarshall
2005-12-15, 00:41
manual to the rescue:

http://manual.xboxmediacenter.de/wakka.p....g&v=am3 (http://manual.xboxmediacenter.de/wakka.php?wakka=audioprocessing&v=am3)

in addition, the frequency (resolution as in the diagram) can change if adjust frame rate is on.

cheers,
jonathan

malloc
2005-12-15, 06:44
so if i understand this correctly, both will start out at the ac3 stage. the one that uses passthrough will take the path of ac3 capable receiver (yes), resolution check (48khz), > 2 channels, direct to ac3 5.1. the only place i can see that the other would bail out is at the resolution check but they are both 48khz, and i disabled "adust frame rate." any ideas?

jmarshall
2005-12-15, 22:30
settings are saved per-video file.

make sure adjust frame rate is off in the video osd while you are playing the movie.

malloc
2005-12-15, 22:36
that did it. thanks again, you're a big help.