Author Topic: The preview videos are not showing up  (Read 6201 times)

billyc666

  • Newbie
  • *
  • Posts: 3
Re: The preview videos are not showing up
« Reply #17 on: January 13, 2020, 01:40:06 PM »
Ok i thought i would create a new reply as this is a soloution i've just come up with so you cant see the missing media text

first you need to create a bat file using notepad & containing

Code: [Select]
dir /a /b/-p/o:gen >C:\WINDOWS\Temp\file_list.txt
start notepad C:\WINDOWS\Temp\file_list.txt
save the name as .0 (dot+zero)
run it within you rom folder , it will then create a file_list.txt file delete the first line of the text file which will be the name of the bat file you just run (.0)
save the text file to your desktop keeping the same name (file_list)

now create a folder on your desktop and add the blank.png (640x480) image attached

now create another bat on your desktop (this will read the file_list.txt file
Code: [Select]
@echo off
setLocal EnableDelayedExpansion

for /f "tokens=* delims= " %%a in (file_list.txt) do (
echo copy "Blank.png" "%%a.png">>run-me-in-folder-with-blank-png.bat
)

run this bat file, it will now create another bat file named (run-me-in-folder-with-blank-png) place this bat file in the folder with the blank png and run it, you will now have a new blank png for every rom, which you place in the screenshots folder
which will now hide the missing media text
 

Aquick edit i just realised the first batch file is leaving the extension in so ending up with a double ectension
, anyone know how to remove them within the batch

For now im using bulk rename utility to remove the double extension
« Last Edit: January 14, 2020, 09:56:44 AM by billyc666 »

billyc666

  • Newbie
  • *
  • Posts: 3
Re: The preview videos are not showing up
« Reply #16 on: January 13, 2020, 12:14:20 PM »
The preview videos load and play fine, but only after a second. Every time I switch to another game the default "missing media" screen shows. Is there a way to make the previews seemless?
This is the normal behavior! :)
A screenshot is first shown for a couple seconds (to maximize scrolling list speed) then the video is played (if available)
The fact is that you're missing screenshots for those games, so the system first display a generic image then the video.

That said, there is a hidden feature allowing you to specify the video play delay. Try to set it to 0 and see if it's good for you!
mGalaxy folder > Data folder > Preferences.xml
Open this file with a text editor, then search for this line:
Code: [Select]
<advanced_videoplaydelay>1</advanced_videoplaydelay>change the value to 0
Code: [Select]
<advanced_videoplaydelay>0</advanced_videoplaydelay>Save :)

thanks for this tip.. is there anyway i can have a default image (static tv) that would work for all, or would i need to create an image for each rom.....Great frontend by the way

SegaDoesWhatNintenDont

  • Newbie
  • *
  • Posts: 26
Re: The preview videos are not showing up
« Reply #15 on: January 27, 2019, 03:39:42 PM »
That's a great tip, thank you. I got it to work now, for some reason the screenshots were not displayed but they are now. :)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1054
    • Email
Re: The preview videos are not showing up
« Reply #14 on: January 27, 2019, 08:41:29 AM »
The preview videos load and play fine, but only after a second. Every time I switch to another game the default "missing media" screen shows. Is there a way to make the previews seemless?
This is the normal behavior! :)
A screenshot is first shown for a couple seconds (to maximize scrolling list speed) then the video is played (if available)
The fact is that you're missing screenshots for those games, so the system first display a generic image then the video.

That said, there is a hidden feature allowing you to specify the video play delay. Try to set it to 0 and see if it's good for you!
mGalaxy folder > Data folder > Preferences.xml
Open this file with a text editor, then search for this line:
Code: [Select]
<advanced_videoplaydelay>1</advanced_videoplaydelay>change the value to 0
Code: [Select]
<advanced_videoplaydelay>0</advanced_videoplaydelay>Save :)

SegaDoesWhatNintenDont

  • Newbie
  • *
  • Posts: 26
Re: The preview videos are not showing up
« Reply #13 on: January 27, 2019, 08:08:11 AM »
I'm on Windows 10 64 bit, Media Player 12. The preview videos load and play fine, but only after a second. Every time I switch to another game the default "missing media" screen shows. Is there a way to make the previews seemless?

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1054
    • Email
Re: The preview videos are not showing up
« Reply #12 on: August 21, 2018, 11:13:51 AM »
Quote
Solution: On XP you also need to install the latest version of Windows Media Player then it works https://www.microsoft.com/en-us/download/confirmation.aspx?id=8163
Sure! As written on the download page: "Users experiencing video/audio problems will have to install Windows Media Player 10" (https://www.microsoft.com/en-us/download/details.aspx?id=20426). This is the first step!

Then, if you're still experiencing problem, follow the advices given on this topic:
- either install the LAV Filters! These are the same DirectShow filters that are used by Media Player Classic HC (https://www.fosshub.com/LAV-Filters.html)
- or use Win7DSFilterTweaker (http://www.codecguide.com/windows7_preferred_filter_tweaker.htm).
« Last Edit: August 21, 2018, 11:15:46 AM by mgalaxy »

alpenjodler

  • Newbie
  • *
  • Posts: 9
Re: The preview videos are not showing up
« Reply #11 on: August 19, 2018, 08:32:34 AM »
I have the same problem on my windows xp machine.

I have K-Lite installed and the videos play in Windows Media Player but not in mGalaxy. The snaps just turn black and there is no sound either.

Edit: Does anyone have videos on windows xp? If you do, what kind of  codec pack you got installed?
I already tried x-codec pack,cccp, just lavfilters and now k-lite

Solution: On XP you also need to install the latest version of Windows Media Player then it works https://www.microsoft.com/en-us/download/confirmation.aspx?id=8163
« Last Edit: August 20, 2018, 02:43:10 PM by alpenjodler »

flomartin

  • Newbie
  • *
  • Posts: 17
Re: The preview videos are not showing up
« Reply #10 on: May 13, 2017, 04:20:50 AM »
Today I decided to install mGalaxy to my laptop, as I'm travelling a lot.

And of course the videos didn't show up... Then I remembered this topic and I could get the videos running like on my desktop.

I think you should really pin these explanations, or even better, explain these steps in the tutorial !

Because I guess MANY people will encounter the same troubles, as my setup is really standard, Win10 64bit.

Thanks again
« Last Edit: June 07, 2017, 04:42:45 PM by mgalaxy »

dashingw

  • Jr. Member
  • **
  • Posts: 92
    • Email
Re: The preview videos are not showing up
« Reply #9 on: October 24, 2016, 01:12:11 PM »
I had the same problem a while back but with windows 7, this is what Mgalxy told me to do and it solved my problems....

use Win7DSFilterTweaker (http://www.codecguide.com/windows7_preferred_filter_tweaker.htm).

    Download Win7DSFilterTweaker
    Start it
    Click Media Foundation
    Disable "MP4" (depending on your app being 32-bit or 64-bit, you may need to check both options)
    Now you will need another MP4 decoder (ffdshow perhaps?)
    MediaElement will now play on a secondary monitor using the installed decoder (if you use ffdshow you will see an icon in the systray)

jmd

  • Full Member
  • ***
  • Posts: 178
    • Email
Re: The preview videos are not showing up
« Reply #8 on: October 24, 2016, 12:43:48 PM »
Quote
And by the way, when I play the videos in WMP, they are black as well !
So this is definitely not a problem with mGalaxy!
If I were you, I would install the LAV Filters! These are the same DirectShow filters that are used by Media Player Classic HC
https://www.fosshub.com/LAV-Filters.html

flomartin

  • Newbie
  • *
  • Posts: 17
Re: The preview videos are not showing up
« Reply #7 on: September 19, 2016, 04:58:01 AM »
Tried on another computer, Windows 10 64bits, 1 monitor, still nothing :(

flomartin

  • Newbie
  • *
  • Posts: 17
Re: The preview videos are not showing up
« Reply #6 on: September 19, 2016, 12:58:16 AM »
And by the way, when I play the videos in WMP, they are black as well !

Just can't find a proper codec to make them show up  :'(


flomartin

  • Newbie
  • *
  • Posts: 17
Re: The preview videos are not showing up
« Reply #5 on: September 19, 2016, 12:27:35 AM »
I have a Windows 10 with Windows Media Player 12 installed...

I indeed have a multi screen installation, but currently only one screen is ON, the others are OFF and deactivated in  the Radeon Control Panel.

So I really don't get it :(

jmd

  • Full Member
  • ***
  • Posts: 178
    • Email
Re: The preview videos are not showing up
« Reply #4 on: September 18, 2016, 04:21:30 PM »
That might be Windows Media Player not being installed on your PC!

Do you have Windows Media Player (min. v10) installed?
Does you PC use a dual monitor set-up?
« Last Edit: September 18, 2016, 04:46:48 PM by jmd »

flomartin

  • Newbie
  • *
  • Posts: 17
Re: The preview videos are not showing up
« Reply #3 on: September 18, 2016, 09:37:51 AM »
After hours of trying to find a way to play the videos, still no luck.

They are fine in Media Player Classic, but stay black in Windows Movie Player :(

Even with K-Lite codec pack.

I'm using Windows 10 if that can help