3 ms·
This is most excellent and huge thanks to everyone working on this. I tried it recently on Pinephone connected via USB-C dock to an external monitor, and it's j
by megous 6y ago
This is most excellent and huge thanks to everyone working on this. I tried it recently on Pinephone connected via USB-C dock to an external monitor, and it's just awesome what it can do: https://www.youtube.com/watch?v=dHOgVmxH_dA https://www.youtube.com/watch?v=dHOgVmxH_dA (using gstreamer) Hopefully, the support will start trickling down to ffmpeg and common players, like mpv, now that the API will be stable.
- swiley 6y agoAs a pinephone owner who would like to be able to charge the phone while watching videos. What do you have to do to get this working on PostmarketOS? (or will I have to recompile everything?)
- voltagex_ 6y agoIIRC, on many PinePhones, you'll need to break out the soldering iron first. [1]: https://wiki.pine64.org/index.php?title=PinePhone_v1.1_-_Braveheart#USB-C_CC_pins_are_pulled_to_the_GND_by_AW3512_.28VCONN_switches.29_when_VCONN_is_off https://wiki.pine64.org/index.php?title=PinePhone_v1.1_-_Bra...
- megous 6y agoAnything from pmOS edition onwards is fine.
- megous 6y agoJust check if pmOS has the latest gstreamer, and then you can try running it with some simple playbin pipeline. Playbin should automatically select the HW decoder. I used kmssink for testing: gst-play-1.0 --use-playbin3 a.mkv --videosink="queue ! kmssink connector-id=52 palne-id=42 plane-properties=s,zpos=2" (I had to patch the kernel too, because kmssink has trouble selecting a correct plane/connector. But if you'll not use kmssink, you should be fine.) If you want to use it from within some compositor, you'll need to select some other video sink. You'll probably have less trouble if you use some wayland compositor that supports HW planes properly. I don't know many players that use gstreamer (is totem still alive?), so hard to tell what GUI to use.