mGalaxy forum

General Discussions => Need Help? => Topic started by: flomartin on September 18, 2016, 08:53:48 AM

Title: The preview videos are not showing up
Post by: flomartin on September 18, 2016, 08:53:48 AM
Hi !

First thanks for this great program.

I have a problem, in the mGalaxy program the preview videos are not showing up. I hear the sound of the video, but the preview stays black !

Any idea ?

Thanks a lot,

Flo
Title: Re: The preview videos are not showing up
Post by: flomartin on September 18, 2016, 09:05:05 AM
Do you think it could be a codec problem ?

The videos are showing in Media Player Classic, but the video is black in Windows Media Player...

My videos are in MP4.
Title: Re: The preview videos are not showing up
Post by: flomartin 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
Title: Re: The preview videos are not showing up
Post by: jmd 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?
Title: Re: The preview videos are not showing up
Post by: flomartin 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 :(
Title: Re: The preview videos are not showing up
Post by: flomartin 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  :'(

Title: Re: The preview videos are not showing up
Post by: flomartin on September 19, 2016, 04:58:01 AM
Tried on another computer, Windows 10 64bits, 1 monitor, still nothing :(
Title: Re: The preview videos are not showing up
Post by: jmd 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
Title: Re: The preview videos are not showing up
Post by: dashingw 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)
Title: Re: The preview videos are not showing up
Post by: flomartin 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
Title: Re: The preview videos are not showing up
Post by: alpenjodler 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
Title: Re: The preview videos are not showing up
Post by: mgalaxy 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).
Title: Re: The preview videos are not showing up
Post by: SegaDoesWhatNintenDont 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?
Title: Re: The preview videos are not showing up
Post by: mgalaxy 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 :)
Title: Re: The preview videos are not showing up
Post by: SegaDoesWhatNintenDont 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. :)
Title: Re: The preview videos are not showing up
Post by: billyc666 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
Title: Re: The preview videos are not showing up
Post by: billyc666 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