[gst-devel] ffdemux_asf in push mode

Edward Hervey bilboed at gmail.com
Wed Nov 22 12:49:58 CET 2006


Hi,

  Currently, NONE of the ffmpeg demuxers work push-mode, because
gstffmpegdemux doesn't support it. The problem is that ffmpeg demuxers
only seem to work in pull-mode (that is, THEY request buffers, instead
of being given buffers).
  This should be fix-able by implementing a GstAdapter in the
gstffmpegprotocol, blocking the _seek()/_read() functions in the
protocol until at least a buffer is available, and informing ffmpeg
that it is a streamable format. You need to be careful since you are
going to be acting on a thread boundary (one thread pushing data into
ffmpegprotocol, and the other one (demuxer) reading from
ffmpegprotocol). Otherwise... it should be pretty easy.

   Edward

On 11/22/06, Fabrice Triboix <gstdbg at yahoo.com> wrote:
> Hi all,
>
> Apparently, ffdemux_asf sinkpad can only be used in pull mode. When I try to play a .wma file directly, the sinkpad is activated in pull mode and everything is fine.
>
> But when I try to stream the same file using RTSP, the sinkpad is activated in push mode, which is not implemented by ffdemux_asf, and the pipeline can't be constructed.
>
> I would like to know if there is a workaround for such a problem...
>
> Thank you very much!
>
>   Fabrice
>
>
>
>
>
>
> ____________________________________________________________________________________
> The all-new Yahoo! Mail beta
> Fire up a more powerful email and get things done faster.
> http://new.mail.yahoo.com
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


-- 
Edward Hervey
Multimedia editing developer / Fluendo S.A.
http://www.pitivi.org/




More information about the gstreamer-devel mailing list