Fails to detect bitrate for some stream ids

Bug #414892 reported by Sebastian Dröge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmms
Won't Fix
Undecided
Unassigned

Bug Description

Hi,
libmms fails to detect the bitrate for some stream ids while vlc can detect it. See this bug http://bugzilla.gnome.org/show_bug.cgi?id=591334

In summary the problem is:
Use this stream mms://wm0.c90805.cdn.qbrick.com/90805/kluster/20080512/080512kobra.wmv

VLC detects:
[0x93ccdb8] access_mms access: ignoring stream[0x1] audio (35 kb/s)
[0x93ccdb8] access_mms access: selecting stream[0x2] audio (67 kb/s)
[0x93ccdb8] access_mms access: selecting stream[0x3] video (738 kb/s)
[0x93ccdb8] access_mms access: ignoring stream[0x4] video (207 kb/s)
[0x93ccdb8] access_mms access: connection successful

But libmms only detects:
[...]
GUID: stream bitrate properties
stream bitrate properties
streams 4
stream id 1
stream id 1, bitrate 36630
stream id 2
stream id 3
stream id 4
stream id 4, bitrate 212792
length : 50
[...]
bandwitdh 10752000, left 10715370
selected streams: audio 1, video 4
disabling other streams
[...]

This makes libmms select the low-quality streams although the available bandwidth is large enough for the other ones.

Revision history for this message
Daniel Svensson (dsvensson) wrote :

Two bugs spotted I think, off-by-one when parsing bitrate property, and GUID_ASF_HEADER_EXTENSION is never parsed.

Revision history for this message
Daniel Svensson (dsvensson) wrote :

A better idea than patching this mess is probably to simply drop the ASF parsing and start using libasf found at http://code.google.com/p/libasf/

libasf will soon be packaged in Debian/Ubuntu and is a really nice piece of software. We've used it (statically linked) in XMMS2 for the past 1.5 years while it's been developed, with great success, and iirc the Haiku project uses it too.

Changed in libmms:
status: New → Confirmed
Revision history for this message
Soren Hansen (soren) wrote :

Thanks for helping make libmms better! I've found myself unable to give libmms the love and care it needs, so I've passed maintainership over to Hans de Goede who has chosen to maintain the project on SourceForge instead of Launchpad. As such, I'm closing this bug. I encourage you to file this bug on the libmms bug tracker on SourceForge instead:

    https://sourceforge.net/tracker/?group_id=101989&atid=630607

Changed in libmms:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.