Hey there is a smoking monkey impersonator..... that just aint right![]()
Well, I'm making my own system too (hard- & software) and I started working with Zoom Player at first. I didn't get the message-thingy working on that player so I moved on to BSPlayer. This player kicks ***, I used it before on my desktop and laptop. You can embed it pretty nicely and tightly into your VB Application. But I have to warn you, you are facing an advanced mix of Message handling/sending and API-calling.Originally Posted by Grayscale
My player now fully embeds the BSPlayer, it controls play, pause, stop, ffd, back, next, previous, mute, full screen, ...
If you're intrested, I'll post some code...
Needstorage
--------------------------
Who the hell is general failure?!?
And what the f@#k is he doing reading my drive C:\?
Hey there is a smoking monkey impersonator..... that just aint right![]()
-Jesus- King of Kings Lord of Lords
Ok, here is how easy it is to play a file using DirectShow:
1. Add "ActiveMovie control type library" as reference (quartz.dll) in VB (via Project/Add Reference... menu)
2. Declare a FilgraphManager variable:
3. Write your Play and Stop functions:Code:Dim mGraph as New QuartzTypeLib.FilgraphManager()
That's it! Just pass in any music or video filename into PlayFile and it will start playing. You can use the IVideoWindow interface to draw the video in one of your own windows and do things like full screen, etc. You can use the IMediaPosition interface to pause, ff, rew, skip, get current time/position, etc. You can use the IBasicAudio interface to set the balance and volume. It will automatically use all of the codec installed in your system (DivX, XviD, WinDVD, blah, blah, blah...)Code:Private Sub PlayFile(ByRef strFileName As String) mGraph = New QuartzTypeLib.FilgraphManager() mGraph.RenderFile(strFileName) mGraph.Run() End Sub Private Sub StopFile() mGraph.Stop() End Sub
It doesn't get any easier than that.![]()
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
but what about this imposter?
-Jesus- King of Kings Lord of Lords
I was confused at first too, I was like WTF I didn't make this thread !
They say imitation is the sincerest form of flattery though![]()
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
Except for the fact that the grayscale monkey looks like he's smoking a doob...Originally Posted by frodobaggins
The ALEXIS Project
MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
Color Coding :
DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED
Dude, I'm going to try this out, because using Winamp's video window for playback was driving CPU cycles through the ceiling (have the holes to prove it too).Originally Posted by NoPistonPC
If this works the way you make it sound, I will LOVE YOU MAN...
...errr... in a manly, completely non-gay platonic sense, that is...![]()
The ALEXIS Project
MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
Color Coding :
DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED
Lol, im not an imposter, im using the new logo i made for frodoplayerAnyways I can change it if you want, just need to make a new avatar...and i will def try that directshow thing.
any code would be greatly appreacated *cough* needstorage *cough*
CarPC install is starting to come along again...
Well, I decided I'm going the Directshow route...
How am I going to go about playing DVD's with it though? If I can't figure that out I guess I'll use BSPlayer...just want to try make it as fast as possible and with less dependencies so to speak
CarPC install is starting to come along again...
It's all in the SDK, use MSDN Web.Originally Posted by Grayscale
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
Bookmarks