rafaello7 / nano-video Goto Github PK
View Code? Open in Web Editor NEWSimple video player for NanoPi M3
Simple video player for NanoPi M3
@rafaello7 ,
I just tried your nano-video with a MP4 sample and MKV sample.
For small win size is ok, for HD res there are some issues, like freeze at some random time. Board is still running.
Video samples:
Some times works (HW decoding), SW (always works)
http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.mp4
This always in SW but get almost 700% cpu and rendering is very slow, maybe 2 fps.
http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.mkv
I am not sure is codec issues or not.
here is the log so you can check what could be the issue:
[ 3746.496000] alloc_contig_range: [78e00, 78f00) PFNs busy
[ 3746.496000] alloc_contig_range: [78f00, 79000) PFNs busy
[ 3746.504000] alloc_contig_range: [78e00, 78f00) PFNs busy
[ 3746.508000] alloc_contig_range: [78f00, 79000) PFNs busy
[ 3746.516000] alloc_contig_range: [79200, 79600) PFNs busy
[ 3746.520000] alloc_contig_range: [79300, 79700) PFNs busy
[ 3746.524000] alloc_contig_range: [79400, 79800) PFNs busy
[ 3746.532000] alloc_contig_range: [79500, 79900) PFNs busy
[ 3746.540000] alloc_contig_range: [79600, 79a00) PFNs busy
[ 3746.540000] alloc_contig_range: [79700, 79b00) PFNs busy
[ 3747.468000] cma: cma_alloc: alloc failed, req-size: 1377 pages, ret: -16
[ 3747.468000] nx-vpu c0080000.video-codec: nx_alloc_memory is failed
[ 3747.472000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1301): Failed to allocate decoder buffers.
[ 3747.476000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1424): vpu_dec_decode_slice: additional buffers register failed
[ 3747.480000] nx-vpu c0080000.video-codec: vpu_dec_decode_slice failed, err=-12
[ 3747.500000] cma: cma_alloc: alloc failed, req-size: 1530 pages, ret: -16
[ 3747.500000] nx-vpu c0080000.video-codec: nx_alloc_memory is failed
[ 3747.508000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1301): Failed to allocate decoder buffers.
[ 3747.516000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1424): vpu_dec_decode_slice: additional buffers register failed
[ 3747.528000] nx-vpu c0080000.video-codec: vpu_dec_decode_slice failed, err=-12
[ 3747.544000] cma: cma_alloc: alloc failed, req-size: 1530 pages, ret: -16
[ 3747.544000] nx-vpu c0080000.video-codec: nx_alloc_memory is failed
[ 3747.552000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1301): Failed to allocate decoder buffers.
[ 3747.560000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1424): vpu_dec_decode_slice: additional buffers register failed
[ 3747.572000] nx-vpu c0080000.video-codec: vpu_dec_decode_slice failed, err=-12
[ 3925.984000] alloc_contig_range: 803 callbacks suppressed
[ 3925.984000] alloc_contig_range: [7c000, 7c1fb) PFNs busy
[ 3925.992000] alloc_contig_range: [7c100, 7c2fb) PFNs busy
[ 3926.000000] alloc_contig_range: [7c000, 7c07f) PFNs busy
[ 3926.000000] alloc_contig_range: [7c080, 7c0ff) PFNs busy
[ 3926.008000] alloc_contig_range: [7c100, 7c17f) PFNs busy
[ 3926.012000] alloc_contig_range: [7c180, 7c1ff) PFNs busy
[ 3997.364000] alloc_contig_range: [7c000, 7c1fb) PFNs busy
[ 3997.364000] alloc_contig_range: [7c100, 7c2fb) PFNs busy
[ 3997.372000] alloc_contig_range: [7c000, 7c07f) PFNs busy
[ 3997.372000] alloc_contig_range: [7c080, 7c0ff) PFNs busy
[ 3997.380000] alloc_contig_range: [7c100, 7c17f) PFNs busy
[ 3997.384000] alloc_contig_range: [7c180, 7c1ff) PFNs busy
[ 3997.396000] alloc_contig_range: [7c500, 7cafa) PFNs busy
[ 3997.396000] alloc_contig_range: [7c600, 7cbfa) PFNs busy
[ 3997.404000] alloc_contig_range: [7c700, 7ccfa) PFNs busy
[ 3997.408000] alloc_contig_range: [7c800, 7cdfa) PFNs busy
[ 3997.448000] cma: cma_alloc: alloc failed, req-size: 1683 pages, ret: -16
[ 3997.448000] nx-vpu c0080000.video-codec: nx_alloc_memory is failed
[ 3997.456000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1301): Failed to allocate decoder buffers.
[ 3997.464000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1424): vpu_dec_decode_slice: additional buffers register failed
[ 3997.476000] nx-vpu c0080000.video-codec: vpu_dec_decode_slice failed, err=-12
[ 3997.484000] cma: cma_alloc: alloc failed, req-size: 1683 pages, ret: -16
[ 3997.488000] nx-vpu c0080000.video-codec: nx_alloc_memory is failed
[ 3997.492000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1301): Failed to allocate decoder buffers.
[ 3997.496000] [DRV|VPU]drivers/media/platform/nxp-vpu/nx_vpu_dec_v4l2.c(1424): vpu_dec_decode_slice: additional buffers register failed
[ 3997.500000] nx-vpu c0080000.video-codec: vpu_dec_decode_slice failed, err=-12
nanopim3@nanopim3:~$
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.