do your search here :) :-

Google
 

Friday, December 14, 2007

Forget Controls MultiMedia. Now By API Support DVD Video Version 6.1


Forget Controls MultiMedia. Now By API Support DVD Video Version 6.1


(New version, now version 6.1 with control volume channels audio) Hello, You can here make Controls for audio,video and midi files just by pure Windows API. you can open,play,pause,resume,stop,close,make control for audio channels,Get Progress,Get Total Time,Get Total frames,Get Number frames per second,SetAutoRepeat,GetCurrent frame (Get current position),Get cuurent time,Get Actual size,Get Current Size,resize the movie,SetDefaultDevice,let you at the end of file..for all types Multimedia qt,mov, dat,snd, mpg, mpa, mpv, enc, m1v, mp2,mp3, mpe, mpeg, mpm au,snd, aif, aiff, aifc,wav,avi,mid,rmi,(and *.vob this format for dvd video)...etc.
Are you Sure wanna using Windows API to Playing video *.dat) or audio (including (including *.mpg and *.mp3) or Midi files and forget ocx?Then Download this source.
I know the Controls like MCI32.ocx, ActiveMovie and Media player can do this but the control have disadvantages like it size about more than 90 kb,but now your program just will increased 6 kilo bytes(this size of the Module) and not take system resources.
Advantages for this Source Code
1-This code Just use Windows API calls (no ocx) ,no install new dll.
2-This code work useful for Windows98,Windows 2000 and Windows NT without installing any other programs.
3-It has ready functions in the Module or Dll for Standerd use just for copy and paste in your own projects.
4-More faster than WinAmp and Xing Mpeg in playing and viewing Movie.
5-It can playing all Multimedia files by less lines included mp3,mpg,avi,wav..etc.
6-It has the most controls for multimedia files(keep on reading the page and you will know the controls).
7-It can open all movie files.
8-It have descriptions.
9-It Include four Sources in the zip (three for vb and dll in C++).
10-It for all Levels (advanced - intermediate - beginner).
11-very easy (read the code carefully).
12-Others (keep on reading this page).
This code Updated to be more well Download it again
Please reRead the descriptions for function OpenMultimedia in the form or in the Module.
Version 6.1
Special thanks to "Hans de Vries" For Notice me about bug when playing rmi files in some computers (it was repaired).
Version 6.0
For request Members planet-source-code I add four Functions:
1-Two Functions to deal with volume audio for every channel(left or right) or the the both:
one to get volume for every channel audio and the another to set volume for every channel or the both.
NOTE: Contolling with volume for every Multimedia file not for all Multimedia files(not like Mixer windows).
2-Two Functions to deal with Rate playing Multimedia file (one to increase speed playing or decrease speed playing and the another to get current Rate).
NOTE: Contolling with Rate for every Multimedia file not for all Multimedia files.
Via this version you can watch a movie file and also playing mp3 file at the same time and decrease the volume for mp3 in one channel or the both.
See the screenshot.
Good luke.
Version 5.0
1-In this version there were common errors in Windows 2000 was repaired (now the code useful for win2000).
2-I added Function for Channels Audio Control (see the screenshot).
What the Advantages for this Update?
you can here play on Left channel audio file and on right channel another audio file at the same time Or:
play the file two times at the same time one on the left and the another on the right.
Click on buttons "Demo" to see some effect by this way.
Note: you must Extract all files from the zip.
Good luke.
(Update IIII)
there were some common errors in Windows NT4 was repaired (Special thanks to Alex for notice me)
and I added function for request memebers to get the actual size and current size.
Note the update just in source "MultiMedia Contoller"
(Update III)
I added the source code which sent to MSDN library and it Update for previous version from "Pure API".
What the Advantages for this Update?
It can open more than one Multimedia file at the same time and play it .
e.g.
(you can play more than one mp3 or movie at the same time).
Important note: You can play a lot files at same time if it from type "MPEGVideo" this mean just the following types you can play it altogther :
qt,mov, dat,snd, mpg, mpa, mpv, enc, m1v, mp2,mp3, mpe, mpeg, mpm au,snd, aif, aiff, aifc,wav,,etc.
and the following types can not play altogether :
mid,rmi,avi. becsause the sound card will be busy.
anyway most peoples using mpg,dat,mov,etc for the movie and mp3,mp2,mp1,wav,etc for the audio and if you have movie (avi) you can convert it to mpg ,dat ,mov or any other mpegs types and play it altogther.
if you wanna the ways to convert avi to mpegs types please contact to me at : a_ahdal@yahoo.com
this will benefit you if you wanna make some simple games,,etc.
see the picture in this page to show the program.
(UPDATE II)
I added two Functions one to Get Frames per Second
and the Another to let you know if the File Multimedia at the End (this benefit you if you wanna play a list of Multimedia Files).
(UPDATE I)
You can by this update to open any file even have spaces.(Special Thanks to Janet)
And I added two Functions to repair any problem will met you if you used Xing Mpeg Drivers.
You can here Play all MultiMeida Files by Pure API
in first if you wanna playing these types:qt , mov, dat,snd, mpg, mpa, mpv, enc, m1v, mp2,mp3, mpe, mpeg, mpmau , snd, aif, aiff, aifc,wav.The Secret is:You Must use when you write Command To MCI by FunctionmciSendString write like this :open c:\myfile type MpegVideo .......etcnote: we written "MpegVideo" as a typeand we will writtenopen c:\myfile type AviVideo .......etcif we wanna opening avi files..

No comments:

TAKE A TOUR HERE ::-