rk3288 视频硬件vpu解码
哪里有资源?怎么都是android的?1、rk3288四路高清1080p解码,保存图片;
2、rk3288基于ubuntu的1080p解码怎么做? 怎么没人回复我呀,ubuntu16.04固件有用gsteamer调用vaapi硬解码的例子,但不知道用ffmpeg编程怎么调用这接口!!!
root@localhost:/usr/local/bin# ./test_dec.sh
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'rockchip'
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/rockchip_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'pipeline0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL;
Redistribute latency...
init done status 0 dpb_size 20
h264d ctx created
~~ AllocateAsicBuffers, support:3
Width 1920 Height 1088
videoRange 0, matrixCoefficients 2
(ret == H264DEC_HDRS_RDY) decInput.dataLen 720903
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:09.999815165
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
************* freeDpbMem buffer index 17
************* freeDpbMem buffer index 18
************* freeDpbMem buffer index 19
deinit DONE
Freeing pipeline ... test_dec.sh
#!/bin/sh
export DISPLAY=:0.0
export LIBVA_DRIVER_NAME=rockchip
# gst-launch-1.0filesrc location=/usr/local/test.mp4 ! \
# qtdemux ! vaapidecode ! video/x-raw,format=NV12 ! videoconvert ! xvimagesink
gst-launch-1.0filesrc location=/usr/local/test.mp4 ! \
qtdemux ! vaapidecode ! vaapisink
# --gst-debug=vaapi:9 大哥!解决了吗?解决了把解决方案说一下好吗? x5762210 发表于 2017-3-23 16:48
怎么没人回复我呀,ubuntu16.04固件有用gsteamer调用vaapi硬解码的例子,但不知道用ffmpeg编程怎么 ...
兄弟 你这例子哪里找的 x5762210 发表于 2017-3-23 16:48
怎么没人回复我呀,ubuntu16.04固件有用gsteamer调用vaapi硬解码的例子,但不知道用ffmpeg编程怎么 ...
你这例子从哪里找的 楼主你好,请问你用的哪个镜像测试的,我测试gstream cpu占用100% 你gstreamer版本多少?
页:
[1]