Direct Show Introduction Direct Show Introduction to DirectShow And, I wish, a discussion.

Slides:



Advertisements
Similar presentations
Chapter 18 Building the user interface. This chapter discusses n Javas graphical user interface. n Swing: an enhancement of a library called the Abstract.
Advertisements

Windows Movie Maker Introduction to Video Editing Mindy McAdams.
Computer Fundamentals Multimedia MSCH 233 Lecture 10.
Cyneda MODULE 1 EXAM QUESTIONS MODULE 1 EXAM QUESTIONS GCE AS GCE AS QUESTIONS QUIZ.
CS335 Principles of Multimedia Systems Audio Hao Jiang Computer Science Department Boston College Oct. 11, 2007.
Embedded Streaming Media with GStreamer and BeagleBoard ESC-228 Presented by Santiago Nunez santiago.nunez (at) ridgerun.com.
Tae-wan You, Seoul National University, Korea
1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second.
Interactive Video Tours MSR Interactive Visual Media Group //msrweb/vision/IBR Rick Szeliski, Sing Bing Kang, Matt Uyttendaele, Simon Winder, Antonio Criminisi.
Distributed Multimedia Systems
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004.
Image Filtering Advanced Image Filtering Advanced Image filtering with GDI and DX HW accelerations.
Editing Programs By A.J. Milardo. Overview Of Editing Programs Editing programs are computer software programs that are used to edit video data or sound.
1 IEEE based Wireless MAN ( WiMAX )架構下 IPTV Multicasting 系 統之設計與研究 Design and Study of an IPTV multicating system over IEEE based Wireless.
Final Year Project Presentation Supervisor : Marker : Prof. Michael R. Lyu Prof. Cai Leizhen LYU 9902 Digital School Student :Wong Kwok Hung Wong.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Multimedia Enabling Software. The Human Perceptual System Since the multimedia systems are intended to be used by human, it is a pragmatic approach to.
                      Digital Video 1.
Let’s Monkey Jam!. Free software we will use to create our animations: Monkey Jam Windows Moviemaker.
Stop Motion Creation Objective Know what stop motion is Know the steps of creating a stop motion Realize the points that needs to be alerted in creation.
Digital Media & TV Production Training. The One Thing & The Main Thing There is only one common experience that all staff and students at each school.
3dtv.at DV/HDV Tape Drive Synchronization Stereoscopic Displays and Applications Conference 29 th – 31 th January 2007 San Jose, United States.
 A device that  accepts input,  processes data,  stores data, and  produces output, all according to a series of stored instructions. 4 Step process.
Chapter II The Multimedia Sysyem. What is multimedia? Multimedia means that computer information can be represented through audio, video, and animation.
Multimedia and Interactivity. Interactivity Allows users to manipulate information and to contribute to the story Promotes user involvement and understanding.
Computer Concepts – Illustrated 8th edition
A Tutorial to DirectShow Ruigang Yang August, 2001.
DVTS for Windows Keio University, Graduate School of Media and Governance WIDE Project Kazuhiro MISHIMA
DirectShow.
Multimedia – An Introduction
Windows Movie Maker. Before We Begin.. One of the most important parts of this business is being a product of the product so that you can market yourself.
Twenty Questions Multimedia and Webpage Design Twenty Questions
2.02 Develop Computer Animations Review By: Adam Garcia,Christian Brown, Richard Williams, Tyler Borden.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Hands-on Introduction to After Effects Chris Jackson Author, Designer, Professor.
Multimedia Elements: Sound, Animation, and Video.
CSC 361/661 Digital Media Spring 2010 Professor Burg.
Vclass Presentation Component Kanchana Kanchanasut, DEC Director Dr. Akavute Sujare, DEC Consultant Mr. Chaiwarat Chaiyapotpanit, Project Manager Distance.
Choose camera and microphone
CSC 361/661 Digital Media Spring 2010 Professor Burg.
Strategies for Transforming Face-to- Face Courses to Hybrid or Fully Online Courses David Wizer, Ph.D. David Robinson, Ed.D.
 Persistence of Vision-The way our eyes retain images for a split second longer than they actually appear, making a series of quick flashes appear as.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES
Driver’s Sleepiness Detection System Idit Gershoni Introduction to Computational and Biological Vision Fall 2007.
Sound DirectMusic & DirectSound. DirectShow Video Formats DirectShow is an open architecture, it can support any format as long as there are filters to.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES
GAM 200 Club. How to Game Engine GAM 200 Club Zachary Nawar.
Rafi Khan, Mike Levine, Jacob Metrick, and Hari Ganesan.
视频处理相关技术. Basic Concept Image Sequence (图像序列) FPS ( Frames Per Second ) Resolution 1080p , 720i , DVD , VCD , HD Compression Codec H.264 、 MPEG Quick.
In and Out are opposites. This is something to keep in mind when considering Input and Output. INPUT OUTPUT Ask: Does this device send information in?
Microsoft DirectX 8.0 Project Introduction Microsoft COM DirectShow Instruction: Hsiao Kung Wu Students: 賴建利、林廷駿、楊惟仁.
Class 9 LBSC 690 Information Technology Multimedia.
Dasar-Dasar Multimedia
CSCI-100 Introduction to Computing Hardware Part II.
A 3-D Rendering System Final Project Ben Hebert & Mayur Desai Spring 2005.
Ready for Your Close-Up MovieMaker in the Classroom Beth Breiner Carbon Lehigh Intermediate Unit #21.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Overview Key Terms Tape formats. Memory card vs. Tape Shot Composition. Basic Functions of a camcorder.
1 VRoIP (Virtual Reality over IP) NCHC TDW TaskForce Jacky Chih-Lung Chang
© ExplorNet’s Centers for Quality Teaching and Learning 1 Objective % Understand advanced post-production methods for digital audio.
Multimedia. A medium (plural media) is something that a presenter can use for presentation of information Two basic ways to present information are: –Unimedium.
Windows Movie Maker Tutorials By: Aaron L, James C, John W.
Introduction to Microsoft Windows Movie Maker Steve Stoker Support Professional MPSD Microsoft Corporation.
Before you start, Let’s check your hardware If you want to record audio and video, you’ll need: Microphone Webcam Office Mix.
Office Mix Before you start, Let’s check your hardware
Creating Desktop Video and Animation
VIDEO.
The Multiplexer Multi what?
Image Filtering Advanced
Microsoft DirectShow.
Presentation transcript:

Direct Show Introduction Direct Show Introduction to DirectShow And, I wish, a discussion

Direct Show Introduction Component Model Direct Show can build your application composing filters, Combining them togheter you can view movies, capture and so on.....

Direct Show Introduction What does DirectShow manage? Video (play Back / Capture) Audio (play Back / Capture) Compression / Decompression Filtering Splitting / Mux / Demux

Direct Show Introduction But, what’s the story with DSound and DMusic? DShow uses DSound to manipulate music a DirectGraphics (3D and Draw) to manipulate images and video effects DMusic is something advanced for music orchestration, a scripting environment to control musical timeline

Direct Show Introduction What’s a DShow App like? 1.The application creates an instance of the Filter Graph Manager. 2.The application uses the Filter Graph Manager to build a filter graph. The exact set of filters in the graph will depend on the application. 3.The application uses the Filter Graph Manager to control the filter graph and stream data through the filters. Throughout this process, the application will also respond to events from the Filter Graph Manager.

Direct Show Introduction Recrompress Example Open a file with a file Source Split audio and video First decompress the video stream Recompress the Video Use a mux to put video and audio togheter again Write it down to a file

Direct Show Introduction The Direct Show Transormation DShow use a graph from sources to renderes (audio and video) Along the graph you can have filters 2 approaches In place transformations Not in place transformations Only C++ (the unmanaged one!)

Direct Show Introduction CTransformFilter::Transform This filter uses the CTransformInputPin class for its input pin, and the CTransformOutputPin class for its output pin. Use this base class if you want to try filter and then pass it through the graph Beware of memory leak!

Direct Show Introduction Example of transform HRESULT CRleFilter::Transform(IMediaSample *pSource, IMediaSample *pDest) { // Get pointers to the underlying buffers. BYTE *pBufferIn, *pBufferOut; hr = pSource->GetPointer(&pBufferIn); if (FAILED(hr)) { return hr; } hr = pDest->GetPointer(&pBufferOut); if (FAILED(hr)) { return hr; } // Process the data. DWORD cbDest = EncodeFrame(pBufferIn, pBufferOut); KASSERT((long)cbDest GetSize()); pDest->SetActualDataLength(cbDest); pDest->SetSyncPoint(TRUE); return S_OK; }

Direct Show Introduction CTransInPlaceFilter::Transform Transform the input sample in place Use it for real real-time processing What do you want more?

Direct Show Introduction The Frame Dispatcer Class If you want to apply filter to a real time camera or to an avi file in C# there’s an utility from the Medialab (university of Pisa) that can help you to get your frames inside a managed application!