How to debug/fix running error when use rtph264pay?

Psychesnet Hsieh psychesnet at gmail.com
Tue Jul 28 02:52:10 UTC 2020


Hi gotsring,

Thanks for reply.

First, I was porting my code to x86 PC and run with
*SERVER: gst-launch-1.0 udpsrc port=5000 !*

*application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse
!avdec_h264 ! autovideosink*
*CLIENT: gst-launch-1.0 appsrc name=ringbuf ! 'video/x-h264,*

*stream-format=byte-stream' ! h264parse !  rtph264pay mtu=1400 !udpsink
host=10.0.0.10 port=5000*

Above combination is working. Thanks.

I still have a question.
Once I remove h264parse from client, it would *NOT* work anymore, why?
In the future, more complicate case, how do I know I should add h264parse
or not?
Please advise. Thank you.

gotsring <gotsring at live.com> 於 2020年7月28日 週二 上午3:29寫道:

> When I was streaming H.264 over UDP, I used the following pipelines. You
> might need to specify the caps in the receiver so that the rth264depay
> knows
> what it's decoding. I also had the MTU specified in rtph264pay, not sure
> why, but it worked (Gstreamer 1.14, I think? I no longer have the
> hardware).
>
> Server:
> gst-launch-1.0 nvcamerasrc ! omxh264enc ! 'video/x-h264,
> stream-format=byte-stream' ! queue ! h264parse !  rtph264pay mtu=1400 !
> udpsink host=10.0.0.10 port=5000 sync=false async=false
>
> Client:
> gst-launch-1.0 udpsrc port=5000 !
> application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse
> !
> avdec_h264 ! autovideosink
>
>
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200728/821cabcf/attachment.htm>


More information about the gstreamer-devel mailing list