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 3:14am
Edited 3-Dec-12 3: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 DamithSL 400
1 Maciej Los 217
2 OriginalGriff 213
3 BillWoodruff 130
4 Zoltán Zörgő 85
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100