[MPlayer-dev-eng] wma spdif passthrough

Ulion ulion2002 at gmail.com
Fri Nov 16 21:54:50 CET 2007


2007/11/15, Ulion <ulion2002 at gmail.com>:
> There's some trick I think maybe help: If we can capture the digital
> output when wmp doing the passthrough(such like like output to another
> digital input of a sound card and record), after research the captured
> stream, maybe we can figure out how to split wma pro frames from a raw
> wma pro stream that's what I currently need to know. Or a sound card
> sniffer support spdif would help also.
>

I did the capture, got the spdif output from wmp11's output.

Test file is this:
http://samples.mplayerhq.hu/A-codecs/WMA9/wmapro/Beethovens%20nionde%20symfoni%20(Scherzo)-2.wma

The correct spdif output for the beginning of that wma file is
uploaded to upload.mplayerhq.hu, located at
ftp://upload.mplayerhq.hu/MPlayer/incoming/wmapro_spdif/

After little look through, beside the IEC 61937 8 bytes header, the
spdif output of wma pro also has sync frame header for each wma pro
frame. The sync frame header seems can be identified by '28 11 07 F0',
but the sync header seems not existed in the original wma pro file,
and also, each payload part of spdif for wmapro seems also has a frame
end, it also seems not existed in the wma file. So only way to
passthrough wmapro is to figure out how the frame header and end be
added or rely on some wma dmoes to do that.

Any help is wellcome for this problem.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list