RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Video preview not working after dist-upgrade (though i can hear the audio)

    Scheduled Pinned Locked Moved Help and Support
    raspberrypi3b+videopreviewbrokenafterupdatelogattached
    23 Posts 7 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 5schatten5
      5schatten @mitu
      last edited by

      @mitu can you post a link of your bug report?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @5schatten
        last edited by

        @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.

        5schatten5 1 Reply Last reply Reply Quote 0
        • 5schatten5
          5schatten @mitu
          last edited by 5schatten

          @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.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @5schatten
            last edited by mitu

            @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.

            5schatten5 1 Reply Last reply Reply Quote 0
            • 5schatten5
              5schatten @mitu
              last edited by 5schatten

              @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.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @5schatten
                last edited by

                @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.

                5schatten5 1 Reply Last reply Reply Quote 0
                • 5schatten5
                  5schatten @mitu
                  last edited by 5schatten

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • 5schatten5
                    5schatten
                    last edited by

                    @mitu since more than a month has passed have you any news about an updated MMAL patch from the devs from the raspberrypi forum?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @5schatten
                      last edited by

                      @5schatten No, the forum post is my only contact with them.

                      1 Reply Last reply Reply Quote 1
                      • 5schatten5
                        5schatten
                        last edited by

                        too bad but thanks anyway :-)

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @5schatten
                          last edited by

                          @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.

                          5schatten5 1 Reply Last reply Reply Quote 0
                          • 5schatten5
                            5schatten @mitu
                            last edited by

                            @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

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mha @5schatten
                              last edited by

                              @5schatten How to install, is it possible thru raspberry setup script?

                              5schatten5 1 Reply Last reply Reply Quote 0
                              • 5schatten5
                                5schatten @mha
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • TripleMusedT
                                  TripleMused
                                  last edited by

                                  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!

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  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.