[MPlayer-dev-eng] [PATCH] asf demuxer changes for dvr-ms

John Donaghy johnfdonaghy at gmail.com
Fri Mar 9 22:18:03 CET 2007


Hi

This patch enhances the ability of the asf demuxer to play dvr-ms files.

It does the following:
1) Removes the need to parse the video stream to find frame boundaries.
2) Correctly locates video keyframes in the container
3) Uses the dvr-ms timestamps in the replicated data
4) Improves seeking in dvr-ms files
5) Detects most ac3 audio stream from the container

Regarding 5) as discussed previously on this list a better solution
would be to examine the audio stream because there is one known sample
where it is impossible to determine the audio format from the
container alone. However the method in this patch has been widely
tested by several people and generally works. I will probably submit a
future patch that does examine the audio stream to determine the type
(which can only be ac3 or mp2 in dvr-ms files).

If required, I can post some samples that dont play correctly with the
SNV version - but where on ftp.mplayerhq.hu do I post them these days?

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asf_dvrms.patch
Type: application/octet-stream
Size: 21246 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070309/47f4c035/attachment.obj>


More information about the MPlayer-dev-eng mailing list