Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: what video backend to use?

  1. #11
    Constant Bitrate Needstorage's Avatar
    Join Date
    May 2004
    Location
    Belgium
    Posts
    176
    Quote Originally Posted by Grayscale
    As a few of you know I'm writing my own carpc software, and for the dvd/divx part of it i was wondering what would be the best program to leech off of. I was thinking about windows media player, but wanted you guys's opinions. Thanks!
    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.

    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:\?

  2. #12
    Jesus Freak antimatter's Avatar
    Join Date
    Jan 2004
    Location
    California
    Posts
    4,545
    Hey there is a smoking monkey impersonator..... that just aint right
    -Jesus- King of Kings Lord of Lords

  3. #13
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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:
    Code:
    Dim mGraph as New QuartzTypeLib.FilgraphManager()
    3. Write your Play and Stop functions:
    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
    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...)

    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)

  4. #14
    Jesus Freak antimatter's Avatar
    Join Date
    Jan 2004
    Location
    California
    Posts
    4,545
    but what about this imposter?
    -Jesus- King of Kings Lord of Lords

  5. #15
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    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!

  6. #16
    Maximum Bitrate deadweasel's Avatar
    Join Date
    Nov 2003
    Location
    Detroit MI
    Posts
    886
    Quote Originally Posted by frodobaggins
    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
    Except for the fact that the grayscale monkey looks like he's smoking a doob...
    The ALEXIS Project
    MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
    Color Coding :
    DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED

  7. #17
    Maximum Bitrate deadweasel's Avatar
    Join Date
    Nov 2003
    Location
    Detroit MI
    Posts
    886
    Quote Originally Posted by NoPistonPC
    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)...
    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).

    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

  8. #18
    Clover Grayscale's Avatar
    Join Date
    May 2004
    Location
    Arkansas
    Posts
    1,549
    Lol, im not an imposter, im using the new logo i made for frodoplayer Anyways 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...

  9. #19
    Clover Grayscale's Avatar
    Join Date
    May 2004
    Location
    Arkansas
    Posts
    1,549
    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...

  10. #20
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by Grayscale
    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
    It's all in the SDK, use MSDN Web.
    [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!

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Custom Video Switching Device
    By mbkowns in forum General Hardware Discussion
    Replies: 2
    Last Post: 07-14-2004, 12:10 AM
  2. Media Car video player
    By MatrixPC in forum MediaCar
    Replies: 2
    Last Post: 03-22-2004, 12:33 PM
  3. Weird problems with video and ME 2.1
    By Rireal in forum Media Engine
    Replies: 4
    Last Post: 02-20-2004, 06:33 PM
  4. Divx video playback
    By mindtool in forum MediaCar
    Replies: 0
    Last Post: 12-08-2003, 05:19 PM
  5. video RAM for Advantech PCM-5862
    By Meatballman in forum LCD/Display
    Replies: 9
    Last Post: 09-27-2001, 10:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •