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. Input video to my background form

Input video to my background form

Scheduled Pinned Locked Moved C#
question
2 Posts 2 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.
  • Y Offline
    Y Offline
    youssef
    wrote on last edited by
    #1

    hi, I am looking for replacing my background color winform by my input video. How can I do this ? best Regards youssef

    E 1 Reply Last reply
    0
    • Y youssef

      hi, I am looking for replacing my background color winform by my input video. How can I do this ? best Regards youssef

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      With difficulty ;P Your best bet would be to embed a media player like the Windows Media Player control thingy in your application (just drop the control on the form) and use that, otherwise you'll have to deal with decompressing the video, converting it to a displayable format, drawing it on the form, as well as dealing with trying to optimize it so that the video displays in it's realtime. At least with an embedded control then the majority of stuff is native code and will be faster and also the drawing will be done by Win32 rather than GDI+ so will be faster as well. You could do what you want if you know how to decode the video but it probably won't be displayed in realtime. Sorry to burst your bubble :sigh: Ed

      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