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. Modifying input stream of Video before playing it

Modifying input stream of Video before playing it

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

    I need some quick help with this problem: I've created a simple video player using DirectShow. When I set playing a video file (f.e. wmv) I need do some file decryption (file is encrypted with own algorithm) before playing the movie stream - during reading data from file into DirectShow's stream buffer. I need some ideas, how can I do this: > Open video file > fread(buffer, bufflen) / apply buffer decryption -> redirect to DirectShow (apply filters, etc.) -> Play Thank you for any support

    tibiZ.net homepage

    M 1 Reply Last reply
    0
    • T tibiz

      I need some quick help with this problem: I've created a simple video player using DirectShow. When I set playing a video file (f.e. wmv) I need do some file decryption (file is encrypted with own algorithm) before playing the movie stream - during reading data from file into DirectShow's stream buffer. I need some ideas, how can I do this: > Open video file > fread(buffer, bufflen) / apply buffer decryption -> redirect to DirectShow (apply filters, etc.) -> Play Thank you for any support

      tibiZ.net homepage

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

      For DirectShow, you'll probably need to write your own transform filter that decrypts the raw file data and passes it downstream unencrypted. Writing DirectShow Filters[^] Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      T 1 Reply Last reply
      0
      • M Mark Salsbery

        For DirectShow, you'll probably need to write your own transform filter that decrypts the raw file data and passes it downstream unencrypted. Writing DirectShow Filters[^] Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        T Offline
        T Offline
        tibiz
        wrote on last edited by
        #3

        Thanx, I've done it during today, but created a Source filter (file reader). The transform filter won't work as well

        tibiZ.net homepage

        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