Video preview not working after dist-upgrade (though i can hear the audio)
-
@mitu can you post a link of your bug report?
-
@5schatten Sure - https://www.raspberrypi.org/forums/viewtopic.php?t=227948. The RPI packages are not yet updated though, so the fix is not included in the latest
vlc
versions. -
@mitu well that's not a problem for me since I build it from the source so I was wondering if I can stumble uppon a recent patch set. VLC 3.0.5 was released yesterday but still has the same swapped / inverted colors.
-
@5schatten As I said, the patches for the Raspbian version of VLC (that contains the new MMAL decoder/X11 splitter) that have this corrected are not released yet. If you build your own packages from source, then you can skip the patch added by the RPF guys.
-
@mitu I'm aware of this patch set https://github.com/RPi-Distro/vlc/commit/8ba628d62d80fcbebc873bbc4f29e5fa8eaabb15 & included them im my build https://github.com/5schatten/LibreELEC.tv/commit/ce30954944c8fac1590b52b668066ba66961acd9 but then again this is afaik raspbian specific since upstream VLC's MMAL implementation is broken for me and I just get a black/blank video output.
Well I guess I interpreted this sentence wrong "The person working on VLC has a couple of patches that appear to make RGBA work correctly" I thought he's refering to the VLC project not to the guy who wrote the raspbian patch. -
@5schatten said in Video preview not working after dist-upgrade (though i can hear the audio):
I thought he's refering to the VLC project not to the guy who wrote the raspbian patch.
No, the VLC 'vanilla' doesn't have this problem, it's the MMAL/X11 splitter patch that seems to have introduced it.
-
@mitu vanilla has no video output at all for me. ES video previews works for AML S905 & generic Intel systems fine though so it's some kind of messed up RPi implementation. I've tried 3.0.3 / 3.0.4 & the recent 3.0.5. None works without the MMAL patches on RPi but all other builds work fine, of course RPi works only with messed up colors but it's better than nothing.
-
@mitu since more than a month has passed have you any news about an updated MMAL patch from the devs from the raspberrypi forum?
-
@5schatten No, the forum post is my only contact with them.
-
too bad but thanks anyway :-)
-
@5schatten I think the latest VLC update on Raspbian fixed the inverted colors problem. I'm not sure if wasn't the firmware that was also updated that contributed to the fix, but seems to work fine now.
-
@mitu said in Video preview not working after dist-upgrade (though i can hear the audio):
@5schatten I think the latest VLC update on Raspbian fixed the inverted colors problem. I'm not sure if wasn't the firmware that was also updated that contributed to the fix, but seems to work fine now.
This new patchset resolved the problems for me :-) https://github.com/RPi-Distro/vlc/commit/837804c5eb6ff127bb5a3f41c9ce9ed64b6db3b6
-
@5schatten How to install, is it possible thru raspberry setup script?
-
@mha said in Video preview not working after dist-upgrade (though i can hear the audio):
@5schatten How to install, is it possible thru raspberry setup script?
I guess if you use Raspbian you'll get a patches vlc version from the repository. I compile my LibreELEC fork myself & use the patch set for my vlc lib that is used by Emulationstation.
-
I think I found another solution--I had the same problem. I converted the videos using Handbrake on its normal preset, and now they run fine with both sound and video. They run best using the OMX Player. I only converted about 70 videos, but they all show the previews correctly now.
Something like this happened before with the videos from Stephen Selph's scraper, so I just thought I would try it and it worked!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.