Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please do you have H264 decoder of cedar in gstreamer? #2

Open
zhang007z opened this issue Mar 2, 2015 · 1 comment
Open

please do you have H264 decoder of cedar in gstreamer? #2

zhang007z opened this issue Mar 2, 2015 · 1 comment

Comments

@zhang007z
Copy link

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:
//-----------------------------------------------------------------------------------------//
gst-launch-0.10 -e rtspsrc location=rtsp://192.168.1.6/vs1 protocols=tcp ! rtph264depay ! h264parse ! capsfilter caps="video/x-h264,width=1280,height=720,framerate=(fraction)25/1" ! vdpauh264dec ! ffmpegcolorspace ! cedar_h264enc ! 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 cedar_h264enc and vdpauh264dec plugins.it use vdpauh264dec decode H264 video stream ,then it use cedar_h264enc encode raw video stream again. 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 decoder , 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. so I think to ask you that you have cedar H264 decoder for gstreamer plugin ? I realize this plugin could handle my issue .
you have any idea for me .Thank you for taking the time to answer this question.

@ebutera
Copy link
Owner

ebutera commented Mar 3, 2015

yes that pipeline decode the stream with vdpauh264dec and then re-encode it with my gstreamer plugin.

The error string "Could not open X display with name: (null)" suggests that the vdpauh264dec needs the X display server, maybe it was not running when you tried it.
I don't know if it is possibile to compile it disabling the X display server requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants