Use of capsfilter

Maciej Łaski laski.maciej at gmail.com
Wed Nov 28 23:20:25 PST 2012


You should use caps on media stream. Filesrc well give you raw file bytes.
For mp4 use qtdemux.

... filesrc ... ! qtdemux name=demux  demux.audio_00 ! capsfilter ... !
...sink

Some thing like this.
29-11-2012 07:00, "deepthips" <deepthips at tataelxsi.co.in> napisał(a):

> Hi , I am really confused about the use of capsfilter in a pipeline. I
> understand it is for setting some properties.
>
> gst-launch filesrc location=sample.ac3 ! ac3parse ! myaudio   ---> will
> work.
>
> gst-launch filesrc location=sample.mp4! ac3parse ! myaudio   ---> will give
> error saying "Failed to parse stream"
>
> gst-launch filesrc location=sample.mp4!  capsfilter caps="audio/x-ac3" !
> ac3parse ! myaudio   ---> (Using caps filter) will give me same error
> itself
>
> Anyways the pipeline wont allow us to set unmatched properties to next
> element right.? Then what is the specific use of capsfilter?
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Use-of-capsfilter-tp4657112.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121129/a5107374/attachment.html>


More information about the gstreamer-devel mailing list