Sending h265 by network gives corrupted video
Борис
bumatov at gmail.com
Sun Aug 18 08:57:17 UTC 2019
I'm trying to encode and decode video with h265 using next code:
1. "appsrc ! videoconvert !
video/x-raw,format=I420,width=1920,height=1080,framerate=60/1
2. ! omxh265enc bitrate=10000000 iframeinterval=30 ! rtph265pay !
udpsink host=10.20.55.66 port=4510"
1. "udpsrc port=4510 !
application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay
2. ! h265parse ! queue ! omxh265dec ! videoconvert ! appsink"
But video that i got in result was fragmented (watch this video):
https://drive.google.com/open?id=185ahiSzdvNQYSrrrRqFsxSbzAm8t4P7I
Also i have found, that if i save video in file:
1. "appsrc ! videoconvert !
video/x-raw,format=I420,width=1920,height=1080,framerate=60/1 ! "
2. "omxh265enc bitrate=10000000 iframeinterval=30 ! matroskamux "
3. " ! filesink location=test.mkv"
and then open it using some video player, it has perfect quality.
What is wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190818/15a96685/attachment.html>
More information about the gstreamer-devel
mailing list