Comments (6)
没有计划支持,理论上可行,有兴趣可以自行尝试移植和调试
from libv4l-rkmpp.
我用chromium_95.0.4638中的补丁编译了chromium_95.0.4638,通过查看chrome://gpu 显示已经开启视频硬件解码,但是不能播放视频,启动命令
chromium-browser --no-sandbox --gpu-sandbox-start-early --ignore-gpu-blacklist --ignore-gpu-blocklist --enable-accelerated-video-decode --enable-features=VaapiVideoDecoder
控制台有报错
from libv4l-rkmpp.
--use-gl=egl
from libv4l-rkmpp.
还是不能播放
完整日志
pi@SOM-RK3399v2:~$ chromium-browser --no-sandbox --gpu-sandbox-start-early --ignore-gpu-blacklist --ignore-gpu-blocklist --enable-accelerated-video-decode --enable-features=VaapiVideoDecoder --use-gl=egl [2164567:2164567:0224/102645.727058:ERROR:power_monitor_device_source_stub.cc(11)] Not implemented reached in virtual bool base::PowerMonitorDeviceSource::IsOnBatteryPower() [2164567:2164605:0224/102646.123501:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164567:2164605:0224/102646.123581:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164567:2164605:0224/102646.245727:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164567:2164605:0224/102646.246008:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164621:2164621:0224/102646.254802:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is egl, ANGLE is [2164567:2164599:0224/102646.386867:ERROR:login_database.cc(693)] Password store database is too new, kCurrentVersionNumber=31, GetCompatibleVersionNumber=33 [2164567:2164599:0224/102646.388114:ERROR:password_store_impl.cc(455)] Could not create/open login database. [2164567:2164601:0224/102646.400270:ERROR:login_database.cc(693)] Password store database is too new, kCurrentVersionNumber=31, GetCompatibleVersionNumber=33 [2164567:2164601:0224/102646.417919:ERROR:password_store_impl.cc(455)] Could not create/open login database. [2164567:2164605:0224/102646.551810:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164567:2164605:0224/102646.552202:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2164567:2164601:0224/102646.942742:ERROR:top_sites_backend.cc(80)] Failed to initialize database. [2164567:2164664:0224/102653.212343:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends. [2164567:2164664:0224/102653.212812:ERROR:chrome_browser_main_extra_parts_metrics.cc(233)] crbug.com/1216328: Checking Bluetooth availability ended. [2164567:2164664:0224/102653.214793:ERROR:chrome_browser_main_extra_parts_metrics.cc(236)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends. [2164567:2164664:0224/102653.408014:ERROR:chrome_browser_main_extra_parts_metrics.cc(240)] crbug.com/1216328: Checking default browser status ended.
from libv4l-rkmpp.
此类功能依赖较多,请使用rockchip官方 buildroot/debian/yocto SDK
from libv4l-rkmpp.
基本流程是:
chromium检测/dev/video-dec0 /dev/video-enc0文件,然后调用libv4l-utils,触发里面的libv4l-rkmpp,然后走到rockchip mpp和mpp驱动去解码, 解码的图像通过egl导入纹理进行渲染
里面任何一个环节异常都会导致软解
总体流程比较复杂,如果不方便调试可以使用sdk调好的环境
创建虚拟设备节点:
# Create dummy video node for V4L2 VDA/VEA with rkmpp plugin
echo dec > /dev/video-dec0
echo enc > /dev/video-enc0
from libv4l-rkmpp.
Related Issues (16)
- Dependency chain in README HOT 3
- about decode size limit HOT 3
- Can't play av1 video with big bit rate HOT 5
- does it possible to decode more than 1 video at the same time HOT 4
- Use Fuse instead of libv4l-utils HOT 14
- chromium has dropped libv4l2 since v117 HOT 1
- Trouble diagnosing RKMPP not loading when moving from chromium 100 - 114 HOT 8
- Feature request: H265 decoding HOT 9
- Chromium 91 support HOT 5
- 关于libv4l-rkmpp的使用 HOT 4
- some videos are displayed all green HOT 15
- is it possible to support AV1 decoding? HOT 14
- v4l2-ctl 通过libv4l-rkmpp抓取h264帧 HOT 1
- VLC support HOT 1
- rockchip_mpp not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libv4l-rkmpp.