decodebin - static linking of decoder and sink
Nicolas Dufresne
nicolas.dufresne at gmail.com
Sun May 1 15:29:19 UTC 2016
Le mercredi 27 avril 2016 à 09:55 +0300, Sebastian Dröge a écrit :
> On Di, 2016-04-26 at 23:50 -0700, Ash 20001 wrote:
> > I tried the "typefind - appsrc ! typefind ! h264parse ! omx_h264dec
> !
> > xvimagesink", but after submitting frame 2 i get:
>
> Get a debug log and check where the not-negotiated comes from. Most
> likely you need at least a videoconvert between decoder and sink.
>
> Also your pipeline graph is *not* from decodebin but from your manual
> pipeline.
You cannot typefind an h264 AVC stream. Only byte-stream format can be
instrospected (and byte-stream cost 1 frame latency in the parser, as
you need to wait for the next start-code before you submit the first
one). Instead, set caps property on appsrc correctly.
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160501/4f4fd76f/attachment.sig>
More information about the gstreamer-devel
mailing list