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 / C++ / MFC
  4. VMR9 Renderless mode

VMR9 Renderless mode

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • F Offline
    F Offline
    Firedragonweb
    wrote on last edited by
    #1

    Hi, I'm just confused. I am trying to implement video playback in a 2D-World using D3D. The best would be to have the video on a D3D-surface, so i chose VMR9 in renderless mode to do the dirty work :/. But i have come to a point where i'm just running against a wall: Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile(). Has anyone a working solution, which he could share?

    M 1 Reply Last reply
    0
    • F Firedragonweb

      Hi, I'm just confused. I am trying to implement video playback in a 2D-World using D3D. The best would be to have the video on a D3D-surface, so i chose VMR9 in renderless mode to do the dirty work :/. But i have come to a point where i'm just running against a wall: Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile(). Has anyone a working solution, which he could share?

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Firedragonweb wrote:

      Although i'm doing quite the same as in the VMR9-Renderless sample, the program crashs while calling RenderFile().

      Crashes where? How? The VMR9 already draws by default to a Direct3D surface. The IVMRSurfaceAllocatorNotify9 should help. See Supplying a Custom Allocator-Presenter for VMR-9[^]

      "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

      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