IRC logs for #automotive for Thursday, 2017-08-17

*** jlrmagnus has quit IRC00:05
*** jlrmagnus has joined #automotive00:06
furyJEEB: wow, so it’s already built for QML, I guess I could prolly just try to glom that into my “hello world” AGL QML project00:36
furyhttps://github.com/radiosound-com/agl-hello-qml00:36
JEEByea, after you build libmpv one of the headers that gets installed is a Qt helper00:36
JEEB"#include <mpv/qthelper.hpp>"00:37
JEEBbut I bet just the basic libmpv API shouldn't be too bad, either00:37
JEEBsince I've done it with JNI once already :)00:37
JEEB(for android)00:38
*** jlrmagnus has quit IRC00:39
furyJEEB: would it use a hardware decoder where available? I guess that’s where the appropriate gstreamer plugin comes in00:45
furyor does it not use gstreamer00:46
JEEBmpv has nothing to do with gstreamer to be honest :) it can use the rpi hw decoding through FFmpeg if it is built with the libraries enabled. It can utilize the hw decoding capabilities straight-to-overlay ("dumb" mode) or by copying back to RAM00:46
furyah ok00:47
JEEBthe first mode is more performant, but "dumb" as in it misses the whole opengl-based rendering pipe line of mpv00:47
furygetting a little more caught up now :P my brain is still in “/sys/class/gpio sucks” mode at the moment, I’m a little slow00:48
JEEBwhile the latter occurs some penalty in performance, it can use the proper rendering chain00:48
JEEBdepending on the use case one or the other can be used00:48
furywould the dumb mode mean it can’t be obscured by an on-top window because the hw decoder is drawing on top of whatever it gets?00:49
JEEBI haven't tested it myself yet, but I wouldn't be surprised due to it being noted as using "hw overlay"00:50
furyI guess if I needed the lowest latency it’d be dumb mode, but then would have to switch to the other mode if I needed to draw something on top00:50
JEEBuntil I've tried myself I'm generally basing on the plethora of comments @ https://mpv.io/manual/master/#options-hwdec00:53
JEEBesp. the "Quality reduction with hardware decoding" part which mentions the overlay part00:53
JEEBthe "dumb" hwdec is called "rpi" and the copy one is called "rpi-copy"00:53
furyKinda like the iPhone Plus series, when it’s rendering a video full screen it’s native 1920x1080 but when the overlay is tapped, it switches to up scaling to 2208x1242 so the UI can be overlaid00:54
furywhich is then downscaled back to 1080 :P00:54
JEEBDPI scaling :)00:55
JEEB(or not, I'm getting tired. it's almost 4 in the morning here)00:56
furygo sleep!00:57
furysorry :P00:57
furyDidn’t mean to keep you up :D00:57
JEEBanyways, the minimum requirements for mpv are: opengl headers, alsa or pulse development headers/libs, FFmpeg (with the things you need enabled) and "--enable-libmpv-shared" (or static if that's your thing). Generally people also add lua 5.1/2 and libass for scripting/subtitle|on-screen controls rendering.00:59
JEEBand yea, hitting the bed now o/00:59
furyhave a good one :D01:00
mranostaydl9pf: think the option you need to enable is "forge author"03:10
*** thaytan has quit IRC04:42
*** brlogger` has quit IRC04:42

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!