Shortcutting vaapih265enc-vaapidecode.
Nicolas Dufresne
nicolas at ndufresne.ca
Mon Nov 11 21:39:37 UTC 2019
Le lundi 11 novembre 2019 à 15:22 -0600, jeyp4 a écrit :
> Hello I am short-cutting encoding-decoding pipeline in below manner
>
> Transmitter pipeline:
> v4l2src !
> 'video/x-raw,format=(string)YV12,width=1280,height=720,framerate=(fraction)25/1'
> ! vaapih265enc ! appsink
>
> &
> Receiver pipeline:
> appsrc ! vaapidecode ! vaapisink
>
>
> In a C++ development.
>
> If I start Receiver pipeline first, everything works fine.
>
> But if I start Transmitter pipeline first,
> vaapidecode
> throws error
> 'No valid frames decoded before end of stream.'
>
> Even though in receiver pipeline, I start pushing buffer only after
> confirming first I frame and skipping initial P frames.
>
> Is there any way, I can solve this problem?
Naive question, but did you make sure there is PPS/SPS/VPS before your
I Frame ?
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191111/fb16a252/attachment.sig>
More information about the gstreamer-devel
mailing list