Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MCI Video Playback - How to get MPEG-4 to work

MCI Video Playback - How to get MPEG-4 to work

Scheduled Pinned Locked Moved C#
helptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shultas
    wrote on last edited by
    #1

    Hello Everyone! I am building a test application that plays video files. I found a tutorial and am importing WinMM.dll, and calling mciSendString to open the file and then play it back. It works great for almost all videos except MPEG-4. When I load an MPEG-4 file, MCI returns an error that the specified device is not open or not recognized by MCI. I originally thought this to be a codec issue, however I can open and play the file back in Windows Media Player just fine. I went and downloaded ffdshow just in case, but I still receive this error from the MCI device. Is there something I am missing to tie this together, or is it just not possible? If it is not possible, could someone please point me in the right direction to head so I can make an application that allows me to play back MPEG-4 video? I only need very basic control (Play,Stop,Pause,Seek). I am building an application that is going to view two video files side by side and display them simultaneously for evaluation. Thank you in advance! EDIT: I think they are using H.264 encoding on their MPEG-4 file if that helps, but none of the video inspectors that I have used on the file have been able to successfully tell me what codec exactly it is using.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups