Media Player [Windows]

Share your advanced PureBasic knowledge/code with the community.
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Media Player [Windows]

Post by Michael Vogel »

chris319 wrote:

Code: Select all

Line 702: Label not found (Mute3).

Code: Select all

Rule 42 broken: cut and paste incomplete (code from posting 2 is missing).
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: Media Player [Windows]

Post by gurj »

https://onedrive.live.com/redir?resid=3 ... iVCj6N-XZk
I login OneDrive, but can't download:
This item might not exist or is no longer available
This item might have been deleted, expired, or you might not have permission to view it. Contact the owner of this item for more information.
my pb for chinese:
http://ataorj.ys168.com
dige
Addict
Addict
Posts: 1406
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Media Player [Windows]

Post by dige »

Is someone else using this nice DirectShow Media Player?

I have the problem that often videos are randomly not loaded correctly and only the sound is played. The video screen remains black.

Do you know this problem?

What technology would be used to build a video player today?

Greetings, Dige
"Daddy, I'll run faster, then it is not so far..."
infratec
Always Here
Always Here
Posts: 7619
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Media Player [Windows]

Post by infratec »

@dige

I would prefer VLC.
viewtopic.php?t=77848
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4954
Joined: Sun Apr 12, 2009 6:27 am

Re: Media Player [Windows]

Post by RASHAD »

Hi dige
It's nice talking to you
I have changed the code to use directshow and lav codecs but sorry I can't post it
I prefer Justin WMPlayer-OCX
It uses Windows codecs and no need to extra installed app
Beside you can adapt it to your needs in no time
Have fun :)
Egypt my love
dige
Addict
Addict
Posts: 1406
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Media Player [Windows]

Post by dige »

RASHAD! Really nice to hear from you!! 😃
Could you share your update via dropbox or
something like that?

Have a nice day!
"Daddy, I'll run faster, then it is not so far..."
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4954
Joined: Sun Apr 12, 2009 6:27 am

Re: Media Player [Windows]

Post by RASHAD »

Egypt my love
dige
Addict
Addict
Posts: 1406
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Media Player [Windows]

Post by dige »

RASHAD wrote: Wed Oct 19, 2022 6:55 pm [..]I prefer Justin WMPlayer-OCX
It uses Windows codecs and no need to extra installed app[..]
Hi RASHAD, thanks for the tip about MediaPlayer OCX. That seems to work very well. Above all, the video is scaled up better.
I have also tested your MPlayer. I noticed that there are still blocks when scaling. Is it still based on DirectShow?
"Daddy, I'll run faster, then it is not so far..."
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4954
Joined: Sun Apr 12, 2009 6:27 am

Re: Media Player [Windows]

Post by RASHAD »

Hi dige
Sorry for late
I just finished fixing a lot of bugs for this very old thread (Correct Resizing media etc...)
I will upload it soon
BTW black screen and sound is on maybe you are running H265 movie with VRM7 or VRM9
Try VRM9 windowless mode
Be tuned
Egypt my love
Post Reply