Results 1 to 3 of 3

Thread: I.M.P.L (Java / DirectShow question)

  1. #1
    IRN-BRU(tm)
    Join Date
    Aug 2004
    Location
    Milton Keynes
    Posts
    484
    Thanks
    8
    Thanked
    9 times in 7 posts

    I.M.P.L (Java / DirectShow question)

    Right, I am sick and tired of trying to remeber which episode of a TV show i am currently up to for the various backed up box sets i have on my computer. SO i have decided to write a program that will remeber for me.

    The proposed program will consist of an interface that will allow you to choose a TV series based on the directory structure of a media storage folder, let you choose multiple series from one list and place it in a play list for you to watch e.g.
    Code:
    Available:                             Playlist:
    Alias                                  Star Trek DS9
    Farscape                               Stargate
    Star Trek DS9               ->         Star Trek DS9
    Stargate                               Stargate
    Stargate Atlantis                      Stargate
    Would let you watch episode x of DS9 followed by episode y of SG1 followed by episode x+1 of DS9 followed by episode y+1 of SG1, then y+2 of SG1.

    Now to the question, i want to include the ability to run the videos using DirectShow, does anybody know of a Java API to DirectShow? I would prefer a simple one because i am lazy, a simple play(), stop(), open() style one would be my ideal choice. However if i need to, a full directX API wont duant me.

    Also, would DirectShow automatically detect the codec used or would i have to tell it what it is doing?

    If noone knows of a DirectShow Java API, the various switches to make Media Player go full screen would be good to know, and how to make my Java program wait for the currently playing file to finish before opening the next one.

    Ta.

    Features to add welcome as well (if anybody cares)

    Edit: Oh, I.M.P.L stands Intelligent Media Play List (if anybody cares)
    Last edited by Purple; 27-07-2005 at 06:44 PM.

  2. #2
    Fod
    Fod is offline
    Registered+
    Join Date
    Nov 2004
    Posts
    25
    Thanks
    0
    Thanked
    0 times in 0 posts
    have a look at this.

    http://www.javaworld.com/javaworld/j...jw-04-jmf.html

    you could just launch files using the OS's registered handler for each filetype, and read the length to idle for from the file's metadata.

  3. #3
    IRN-BRU(tm)
    Join Date
    Aug 2004
    Location
    Milton Keynes
    Posts
    484
    Thanks
    8
    Thanked
    9 times in 7 posts
    oooo ta. Good idea on the idle time as well, many thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Key Java source code to be opened
    By Steve in forum HEXUS News
    Replies: 0
    Last Post: 27-06-2005, 10:54 AM
  2. Replies: 0
    Last Post: 14-06-2005, 12:02 PM
  3. ATi + Java + BSOD?
    By Kezzer in forum PC Hardware and Components
    Replies: 1
    Last Post: 11-06-2005, 01:26 PM
  4. Java constructor question
    By suryad in forum Software
    Replies: 9
    Last Post: 03-05-2005, 08:23 AM
  5. Java Web server / HTTP proto question
    By Purple in forum Software
    Replies: 9
    Last Post: 13-10-2004, 10:50 PM

Posting Permissions

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