Announcement

Collapse
No announcement yet.

Patrice Terrier's Poor Mans movie player

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Patrice Terrier
    replied
    While playing WMV movies you will find soon that there are many problems playing them (not only with MCI but also using the low level API), because there are indeed several Microsoft WMV format (codec) that are not compatible together

    Also you must remember that MCI is a subset of the core low level DirectX API, and this is the reason why in another thread i said it is a toy.

    The complete SDK source code of the MovieBox MCI version is available on the forum of José Roca.

    Leave a comment:


  • Patrice Terrier
    replied
    Change the line in red to the line in blue.
    You know i did it fast, and while the code is "simplissime", there is everything in the MMengine to handle a movie, including audio level and seek tracker.

    CASE %ID_FILE_OPENCLIP
    'IF HIWRD(wParam) = %BN_CLICKED AND gbMoviePlaying = 0 THEN
    IF HIWRD(wParam) = %BN_CLICKED THEN
    strFileName = FileOpen(hwnd)
    IF LEN(strFileName) THEN MoviePlayNewMedia(hWnd, (strFileName))
    END IF

    Leave a comment:


  • Chris Holbrook
    replied
    Patrice,

    couple of problems, pretty much like the ones I found with Oliver Copp's code:

    with AVI and WMV, must drag the dialog to make it play.

    with AVI, MPG, WMV, once the clip is finished, that's it - impossible to load another.
    Last edited by Chris Holbrook; 29 Feb 2008, 07:34 AM. Reason: added link

    Leave a comment:


  • Chris Holbrook
    started a topic Patrice Terrier's Poor Mans movie player

    Patrice Terrier's Poor Mans movie player

    This is a thread to discuss the movie player posted in the Source Code forum by Patrice Terrier.
Working...
X