mms element blocking application thread and mms in ffmpeg

Branislav Katreniak katreniak at gmail.com
Tue Aug 7 09:44:48 PDT 2012


Hi all

We are using gstreamer for internet radious playback and face problems with
blocked application thread.
The mms element uses libmms library and blocks application thread for
networking activity.
Related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=403122

Our  plan is to move the blocking IO to separate thread and close
networking + thread on shutdown.

We are not sure whether it makes sense to base such work on libmms library.
The FFMPEG library provides mms support with LGPL licence.
The source code in ffmpeg is smaller and seems better quality compared to
libmms.
And we found at least one mms stream that plays nicely in mplayer and not
in gstreamer using libmms.

Regarging non-blocking implementation, ... mms in ffmpef is blocking.
But given the small code size, the code can be refactored to nonblocking
and the changes may be accepted upstream in ffmpeg or forked.
But this is not our current target.

Do you have any comments? What solution gives us best hopes for being
accepted upstream?

Kind regards
 Brano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120807/05b26dd9/attachment.html>


More information about the gstreamer-devel mailing list