h264parse causes decode errors "Got unexpected packet after EOF"

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

h264parse causes decode errors "Got unexpected packet after EOF"

omer.tal
Hey guys,

So in the last few days I've been working on streaming H264 over RTP.
I've noticed that when I'm using h264parse before avdec_h264 I'm getting
many errors saying:



I used to think that I must use h264parse before decoding, and now I realize
that I was probably wrong and also that I have know clue what is the purpose
of h264parse.

Can someone explain to me please, why is h264parse causes all these errors,
and when should I use it?

Thanks.



--
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: h264parse causes decode errors "Got unexpected packet after EOF"

Nicolas Dufresne-5
Le jeudi 17 décembre 2020 à 08:59 -0600, omer.tal a écrit :

> Hey guys,
>
> So in the last few days I've been working on streaming H264 over RTP.
> I've noticed that when I'm using h264parse before avdec_h264 I'm getting
> many errors saying:
>
>
>
> I used to think that I must use h264parse before decoding, and now I realize
> that I was probably wrong and also that I have know clue what is the purpose
> of h264parse.
>
> Can someone explain to me please, why is h264parse causes all these errors,
> and when should I use it?

Using h264parse before the decoder is the right thing to do. The parser seems to
detect an invalid stream. Perhaps your source is buggy ?Perhaps it's a false
positive ? Share sufficient bits of that stream if you'd like to get us into
looking deeper.

>
> Thanks.
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: h264parse causes decode errors "Got unexpected packet after EOF"

omer.tal
The source is basically an appsrc that sends RGB images at a rate of 30 fps.
Before the encoder I convert it to I420.
Then rtph264pay and udpsink.

Maybe it's a question of the format I'm using? Because I don't recall I had
these errors when I used a different format.



--
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: h264parse causes decode errors "Got unexpected packet after EOF"

omer.tal
This post was updated on .
So I made some more tests.. It seems that I don't get these errors if I use:
xvimagesink sync=false

h264parse is back in the pipeline.

Why is that?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel