Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ DirectX directshow
I am very new on visual c++ and directx and i needed a simple video playback (preferable full screen) with defined screen part of video. Actually thinking control this window with trackbars to pan video horizantally and vertically.
I found the interface VMR7 and VMR9 which have SetVideoPosition method receives two rect pointers for source and destination. However i could not find simple code for my purpose. I do not need any menu or program interface. Could you recommend a way to figure out this ?
Posted 3-Dec-12 2:14am
Edited 3-Dec-12 2:46am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Code to do this, likely won't seem simple to someone who is new to C++.
 
Start with a sample that displays video, and then implement those methods the best you can. Incrementally adapt the sample to do what you want.
 
Come back if you have any specific issues along the way.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 420
1 DamithSL 253
2 Sergey Alexandrovich Kryukov 210
3 Peter Leow 205
4 Maciej Los 195


Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid