(vdpau h264 decoder)vdpauh264dec plugin use for H264 decode in gst-plugins-bad-0.10.23,but returning error.

zhang007z zhang007z at gmail.com
Tue Mar 3 02:17:26 PST 2015


recently I learn H264 decoder of cedar in gstreamer, but I don't H264 decoder
of cedar plugin in gstreamer, I find vdpauh264dec plugin in gstreamer.
then I test gstreamer command:
//------------------------------------use
command-----------------------------------------//
gst-launch-0.10 -e rtspsrc location=rtsp://192.168.1.6 ! rtph264depay !
h264parse ! capsfilter
caps="video/x-h264,width=1280,height=720,framerate=(fraction)25/1" !
vdpauh264dec ! ffmpegcolorspace ! x264enc ! flvmux name=mux ! rtmpsink
location="rtmp://127.0.0.1:1935/live/test live=1"
//------------------------------------------------------------------------------------------//
but returning error:
ERROR: from element /GstPipeline:pipeline0/GstVdpH264Dec:vdph264dec0: Could
not open X display with name: (null)
Setting pipeline to NULL ...
//------------------------------------------------------------------------------------------//
At above this command uses vdpauh264dec and x264enc plugins.it use
vdpauh264dec decode H264 video stream ,then it use x264enc to encode raw
video stream again.then video streamer send to rtmp server . this is my
originally opinion.
According to Allwinner chip A20
introduction,website(http://www.allwinnertech.com/en/clq/processora/A20.html)
this chip support vdpau h264 handware decoder .at A20 chip I use vdpau
utility and compile way at
website(http://wickwire2099.blogspot.com/2014/09/cubieboard-gstreamer-010-libvdpau-sunxi.html).youtube
video  for using vdpauh264dec  website :
(https://www.youtube.com/watch?v=OETsmG6IImw). this chip is linux-sunxi
architecture.this vdpau is "Video Decode and Presentation API for Unix"
mean. if you don't know vdpau .please you use wiki for finding this . I used
vdph264dec plugin, but it returned error to said "Could not open X display
with name: (null)". I think " vdpauh264dec ! vdpauvideopostprocess !
vdpausink " is necessarily command composited structure. in other words
vdpauh26dec plugin processing of video stream must be received by vdpausink
?? I doubt this problem. I've been no progress for this test.

anybody have any idea for me .Thank you for taking the time to answer this
question.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/vdpau-h264-decoder-vdpauh264dec-plugin-use-for-H264-decode-in-gst-plugins-bad-0-10-23-but-returning--tp4670966.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list