Hi,
I am trying to do video streaming with UDP and take advantage of VDPAU decoder.... but no way to have this working! Please consider those 2 examples :
1 - UDP / h264 using ffdec_h264:
CLIENT : gst-launch-0.10 udpsrc port=10308 ! application/x-rtp, clock-rate=90000, payload=96 ! rtph264depay ! ffdec_h264 ! xvimagesink
SERVER : gst-launch-0.10 filesrc location=/myvideo.mkv ! matroskademux ! decodebin ! queue ! x264enc ! video/x-h264 ! rtph264pay pt=96 ! udpsink host=IP@@@@@ port=10308 sync=false
===> This works fine!
2 - UDP / h264 using vdpauH264dec :
CLIENT : gst-launch-0.10 udpsrc port=10308 ! application/x-rtp, clock-rate=90000, payload=96 ! rtph264depay ! vdpauh264dec ! vdpauvideopostprocess ! vdpausink
SERVER : gst-launch-0.10 filesrc location=/myvideo.mkv ! matroskademux ! decodebin ! queue ! x264enc ! video/x-h264 ! rtph264pay pt=96 ! udpsink host=IP@@@@@ port=10308 sync=false
===> No display.... and debug claims for "invalid packet size"!
What is wrog with vdpau decoding in this case? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
> 2 - UDP / h264 using vdpauH264dec : > > CLIENT : gst-launch-0.10 udpsrc port=10308 ! application/x-rtp, > clock-rate=90000, payload=96 ! rtph264depay ! vdpauh264dec ! > vdpauvideopostprocess ! vdpausink > > SERVER : gst-launch-0.10 filesrc location=/myvideo.mkv ! > matroskademux ! decodebin ! queue ! x264enc ! video/x-h264 ! > rtph264pay pt=96 ! udpsink host=IP@@@@@ port=10308 sync=false > > ===> No display.... and debug claims for "invalid packet size"! > > What is wrog with vdpau decoding in this case? > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel Hi! The vdpau h264 decoder needs more work and testing. You could probably try if the gst-vaapi plugins work better since those should work for vdpau too. best regards, Carl-Anton _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks Carl,
I have succeeded in displaying an HD video via UDProtocol with those gst-launch pipe :
SERVER : gst-launch-0.10 filesrc location=/home/jeremy/Bureau/FighterPilot.wmv ! decodebin ! x264enc ! rtph264pay pt=96 ! udpsink host=192.168.1.14 port=10308 sync=false CLIENT : gst-launch-0.10 udpsrc port=10308 ! application/x-rtp, clock-rate=90000, payload=96 ! rtph264depay ! vdpauh264dec ! queue ! autovideosink The main modification is that I use an autovideosink (in fact xvimagesink).... I must admit that I can't really explain why... The result is perfect! VDPAU acceleration seems to be there (<20% CPU for decoding operation of this 1280*720 video).
My problem now is to do this from a raw format video.
___________
|
Free forum by Nabble | Edit this page |