Needed caps for piping into qtdemux
Sebastian Dröge
sebastian at centricular.com
Wed Mar 9 06:45:56 UTC 2016
On Di, 2016-03-08 at 20:47 +0000, Kristoffer Glembo wrote:
> Hi there,
>
> I'm trying to create a video source which can output an MP4 stream
> (with H264 video and ALAC sound) into a qtdemux for demuxing.
>
> The MP4 stream itself has been created by the mp4mux element.
>
> I can not manage to get the video source and qtdemux to link.
>
> My source outputs the following: caps = "video/x-h264, stream-
> format=(string)avc, alignment=(string)au"
>
> This is similar to what is output if I read the MP4 using filesrc. I
> have also tried with video/quicktime and video/mpeg4 but never manage
> to get the pipe to link.
Take a look at qtdemux with gst-inspect-1.0:
> [...]
> Pad Templates:
> SINK template: 'sink'
> Availability: Always
> Capabilities:
> video/quicktime
> video/mj2
> audio/x-m4a
> application/x-3gp
> [...]
That's all the caps qtdemux can accept. If you have MP4 container, the
first is what you want: video/x-quicktime.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160309/e6facbf5/attachment.sig>
More information about the gstreamer-devel
mailing list