Announcement

Collapse
No announcement yet.

Patrice Terrier's Poor Mans movie player

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

    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.

    #2
    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, 06:34 AM. Reason: added link

    Comment


      #3
      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
      Patrice Terrier
      www.zapsolution.com
      www.objreader.com
      Addons: GDImage.DLL 32/64-bit (Graphic library), WinLIFT.DLL 32/64-bit (Skin Engine).

      Comment


        #4
        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.
        Patrice Terrier
        www.zapsolution.com
        www.objreader.com
        Addons: GDImage.DLL 32/64-bit (Graphic library), WinLIFT.DLL 32/64-bit (Skin Engine).

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎