Shortcutting vaapih265enc-vaapidecode.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Shortcutting vaapih265enc-vaapidecode.

jeyp4
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?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Shortcutting vaapih265enc-vaapidecode.

Nicolas Dufresne-5
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment