Should the current sample get any improvements? #7
MasterAler
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hi @MasterAler , I found this repo pretty useful. I had a similar GL renderer working in RGB domain. But I420 helps (lower CPU usage, lower memory usage). However, it's still not as good as I'd like because the layout I'm working with is NV12 which I need to first convert to I420. Would you be able to add support for rendering NV12? Most HW accelerators work with NV12 and it would be good to directly render that. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I leave a discussion topic here just in case someone found the code useful and faces similar challenges in his coding activity.
Actually, once having to deal with video rendering in С++/Qt, a few recipes got collected and a few improvements were made some time ago when the current PoC became a production-ready component in a job project.
What comes in mind instantly:
Also, using FFMPEG decoding in a way it skips the
sws_scale
step was quite an edificatory piece of code.Thus, if by chance someone would like to see some improvents, or maybe another repo with a more complex player demo , whatever -- feel free to share your ideas here, that's what this discussion is being left here for.
Beta Was this translation helpful? Give feedback.
All reactions