baylibre / ffmpeg-drm Goto Github PK
View Code? Open in Web Editor NEW101 code to validate ffmpeg DRM changes
101 code to validate ffmpeg DRM changes
When I first execute run.sh,the output is:
[h264_v4l2m2m @ 0x1b16be20] Could not find a valid device
[h264_v4l2m2m @ 0x1b16be20] can't configure decoder
1604472023:00728678 :error: Could not open codec
And then I changed the decoder:h264,the output is:
1604471950:00018876 : ffmpeg-drm: drm: connector: connected
1604471950:00019070 : ffmpeg-drm: available connector(s)
1604471950:00019089 : ffmpeg-drm: connector id:47
1604471950:00019099 : ffmpeg-drm: encoder id:46 crtc id:45 fb id:0
1604471950:00019110 : ffmpeg-drm: width:3840 height:2160
1604471950:00019136 :drm: found planes 3
1604471950:00019187 :error: Cannot find plane
1604471950:00019242 :error: Error initializing drm
How could I solve it?
Hi,
I had tried this project on rockchip platform using h264_rkmpp decoder.
The screen flickered and only few frame can be displayed.
I have tried to add time-delay(about 20ms) between drmModeSetPlane and drmModeRmFB. Then the flicker alleviated.
I know the modification above is not a good method and i want to resolve the flicker problem in a appropriate way. Can you help me?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.