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

    [SOLVED] - Video Snaps not Playing

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiosnap videogamelist.xml
    44 Posts 8 Posters 15.4k 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.
    • H
      Hyuma @mitu
      last edited by

      @mitu yes i have both, but as I said video preview works but not all preview are working and i'm trying to understand why..

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

        @hyuma What theme are you using ? If you play the video from the CLi with omxplayer <video_file> do you get any errors or the playback is ok ?

        H 2 Replies Last reply Reply Quote 0
        • H
          Hyuma @mitu
          last edited by

          @mitu I tested various theme also with basic theme i had the problem, now I'll try that command to see which error i get. ;)

          1 Reply Last reply Reply Quote 0
          • H
            Hyuma @mitu
            last edited by

            @mitu running from terminal

            omxplayer input.mp4

            Video codec omx-h264 width 480 height 360 profile 100 fps 29.970030
            Audio codec aac channels 2 samplerate 44100 bitspersample 16
            Subtitle count: 0, state: off, index: 1, delay: 0
            V:PortSettingsChanged: 480x360@29.97 interlace:0 deinterlace:0 anaglyph:0 par:1.12 display:0 layer:0 alpha:255 aspectMode:0

            I got no error

            1 Reply Last reply Reply Quote 0
            • W
              wiggy808
              last edited by

              Here's the update.

              First tried changing the OMX hardware acceleration ("Other Settings">"Use OMX Player (HW Accelerated)"), same result on or off, video snap preview doesn't play.

              Second attempt was the re-encoding. File size doubled, so something changed, result was the same however, snap video didn't play.

              Third attempt was based on @mitu suggestion to play on CLI using omxplayer command. Both the original (_orig.mp4) and the new (ffmpeg converted) files played. Here are the outputs:

              pi@retropie:~/RetroPie/roms/mastersystem/snap $ omxplayer Ace\ of\ Aces\ \(Europe\).mp4
              Video codec omx-mpeg4 width 320 height 240 profile -99 fps 30.000000
              Audio codec aac channels 2 samplerate 48000 bitspersample 16
              Subtitle count: 0, state: off, index: 1, delay: 0
              V:PortSettingsChanged: 320x240@30.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
              have a nice day ;)
              pi@retropie:~/RetroPie/roms/mastersystem/snap $ omxplayer Ace\ of\ Aces\ \(Europe\)_orig.mp4
              Video codec omx-h264 width 320 height 240 profile 100 fps 30.000000
              Audio codec aac channels 2 samplerate 48000 bitspersample 16
              Subtitle count: 0, state: off, index: 1, delay: 0
              V:PortSettingsChanged: 320x240@30.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
              have a nice day ;)
              pi@retropie:~/RetroPie/roms/mastersystem/snap $
              

              Side note, I did have to use @Hyuma command ffmpeg as the avconv alias wasn't there. It seemed to work fine.

              So still kinda scratching my head, gamelist.xml file looks correct to me, file is there, encoding seems okay, plays from CLI with omxplayer...This is very odd and I hope we can figure this out.

              let me know what else we can try.

              H 1 Reply Last reply Reply Quote 0
              • H
                Hyuma @wiggy808
                last edited by

                @wiggy808 do you use chat like irc or discord? we can talk there if you want to

                1 Reply Last reply Reply Quote 0
                • W
                  wiggy808
                  last edited by

                  Yes, I'm on discord, how do I message you my name without posting it here, lol

                  1 Reply Last reply Reply Quote 1
                  • W
                    wiggy808
                    last edited by

                    @Hyuma I guess its not that big of a deal. My discord name is same as it is here, wiggy808

                    H ClydeC 2 Replies Last reply Reply Quote 0
                    • H
                      Hyuma @wiggy808
                      last edited by

                      @wiggy808 i need also the numbers after the "#" in nickname

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        wiggy808 @Hyuma
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • ClydeC
                          Clyde @wiggy808
                          last edited by

                          @wiggy808 @Hyuma As a word of advice, it may be suboptimal to move your discussion to a private chat, because others can't follow and thus, can't provide any additional counsel.

                          That said, it would be nice if you'd provide us with any insights in the matter, no matter if success or failure, since both can be educational.

                          W 1 Reply Last reply Reply Quote 1
                          • W
                            wiggy808 @Clyde
                            last edited by wiggy808

                            @clyde I agree! It was more as an easier way to test somethings in a live manner. It was just today that we figured it out after some testing.

                            It was DEFINITELY a scraper / gamelist.xml issue!

                            It appears that the gamelist.xml file in the /home/pi/.emulationstation/gamelists/mastersystem was causing some issues as it conflicted with the one in /home/pi/RetroPie/roms/mastersystem. I deleted the one in .emulationstation and began to manually edit the one in RetroPie (Ace of Aces rom and snap file names didn't match, that was another issue caused by either the scraper or something else that I had done).

                            However, after making changes and rebooting, the gamelist.xml in the RetroPie directory reverted back to the original syntax it had before I made the changes. So we decided to shut down ES, edit the file, then start ES back up. This worked and the changes are persistent and the previews began to show!

                            Couple questions:

                            1. How did the gamelist.xml file in the .emulationstation directory get created?
                            2. Why did the gamelist.xml file in the RetroPie directory revert to the original syntax? Is shutting down ES the only / best way to change that file?
                            3. What is the best / recommended way to produce a gamelist.xml file?
                            mituM 1 Reply Last reply Reply Quote 1
                            • mituM
                              mitu Global Moderator @wiggy808
                              last edited by mitu

                              @wiggy808 said in Video Snaps not Playing:

                              How did the gamelist.xml file in the .emulationstation directory get created?

                              This is where it's created by default, so it was probably created the first time you copied the ROMs in mastersystem folder and restarted Emulationstation.

                              Why did the gamelist.xml file in the RetroPie directory revert to the original syntax? Is shutting down ES the only / best way to change that file?

                              Because that's how things work - Emulationstation generates a gamelist.xml file if there are ROMs in the folder and no previous gamelist.xml file was found. The file is written by Emulationstation when it restarts/stops, so any external modifications to the file while Emulationstation is running are more likely to be overwritten.
                              Note that if there is a gamelist.xml file in the ROMs folder, Emulationstation will not create a new gamelist.xml file in ~/.emulationstation, but it will use that file for further edits/changes.

                              What is the best / recommended way to produce a gamelist.xml file?

                              Use a scraper - either the built-in Emulationstation scraper or another scraper which understands and produces the Emulationstation gamelist.xml format.

                              1 Reply Last reply Reply Quote 1
                              • W
                                wiggy808
                                last edited by wiggy808

                                @mitu Going to put this as resolved, thanks for the explanation as well!

                                I don't seem to have that option...help, lol

                                ClydeC mituM 2 Replies Last reply Reply Quote 0
                                • ClydeC
                                  Clyde @wiggy808
                                  last edited by

                                  @wiggy808 Thanks for the summary of your solution. :)

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

                                    @wiggy808 said in Video Snaps not Playing:

                                    I don't seem to have that option...help, lol

                                    Usually you edit the title and add/prepend Solved/Resolved.

                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      wiggy808 @mitu
                                      last edited by

                                      @mitu Under Topic Tools, I can only Delete Topic, no option for editing title... sorry, trying but not intuitive yet.

                                      ClydeC 1 Reply Last reply Reply Quote 0
                                      • ClydeC
                                        Clyde @wiggy808
                                        last edited by

                                        @wiggy808 There really is no "Edit" entry under "Tools", right above "Delete"? That would be strange.

                                        Mind that here's no separate "Edit Title" entry, you edit the title with the whole post.

                                        W 1 Reply Last reply Reply Quote 0
                                        • W
                                          wiggy808 @Clyde
                                          last edited by

                                          @clyde wish i could say so buddy. Just Delete topic, no edit. Maybe I don't have those permissions yet?
                                          @administrators any guidance gang?

                                          dankcushionsD 1 Reply Last reply Reply Quote 0
                                          • dankcushionsD
                                            dankcushions Global Moderator @wiggy808
                                            last edited by

                                            @wiggy808 you're clicking the wrong thing. don't click 'topic tools', click the three vertical dots to the right of the 'reply quote ^ 0 v' bit under your post.

                                            W ClydeC 3 Replies Last reply Reply Quote 1
                                            • 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.