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.
Original Author: Abdullah Al-Ahdal
Code
face="Comic Sans MS">Wow face="Comic Sans MS">Version 6.1 Note : This Please reRead Advantages 1-This code 2-This code 3-It has color="#FF0000" size="3" face="Comic Sans MS">ready 4-More color="#FF0000" size="3" face="Comic Sans MS">faster size="3" face="Comic Sans MS"> than WinAmp and Xing 5-It can 6-It has color="#FF0000" size="3" face="Comic Sans MS">the 7-It can open 8-It have color="#FF0000" size="3" face="Comic Sans MS">descriptions. 9-It Include 10-It for all 11-very easy 12-Others (keep face="Comic Sans MS">This code Updated to be more well Download Please face="Comic Sans MS">Version 6.1 face="Comic Sans MS">Special thanks to color="#FF0000" face="Comic Sans MS">"Hans de Vries" face="Comic Sans MS">Version 6.0 face="Comic Sans MS">For request Members planet-source-code face="Comic Sans MS">1- size="5" face="Comic Sans MS">Two Functions to deal with face="Comic Sans MS">one to get volume for every channel face="Comic Sans MS">NOTE: Contolling with volume for face="Comic Sans MS">2- size="5" face="Comic Sans MS">Two Functions to deal with face="Comic Sans MS">NOTE: Contolling with Rate for every face="Comic Sans MS">Via this version you can watch a face="Comic Sans MS">See the screenshot. face="Comic Sans MS">Good luke. face="Comic Sans MS">Version 5.0 face="Comic Sans MS">1- size="5" face="Comic Sans MS">In this version there were face="Comic Sans MS">2- size="5" face="Comic Sans MS">I added Function for face="Comic Sans MS">you can here play on Left channel face="Comic Sans MS">play the file two times at the same face="Comic Sans MS">Click on buttons "Demo" to face="Comic Sans MS">Note: you must Extract all files face="Comic Sans MS">Good luke. face="Comic Sans MS">(Update IIII) face="Comic Sans MS">(Update III) face="Comic Sans MS">It can open more than one Multimedia face="Comic Sans MS">e.g. face="Comic Sans MS">(you can play more than one mp3 or face="Comic Sans MS">Important note: You can play a lot qt,mov, and the mid,rmi,avi. anyway if you face="Comic Sans MS">this will benefit you if you wanna face="Comic Sans MS">see the picture in this page to show face="Comic Sans MS">(UPDATE II) face="Comic Sans MS">(UPDATE I) face="Times New Roman"> face="Times New Roman"> face="Comic Sans MS">Note all Multimedia extensions you can play face="Comic Sans MS">You have in Module and dll a standard face="Comic Sans MS">I Think You will never use any controls for Enjoyface="Comic Sans MS"> target="_blank">
content="text/html; charset=windows-1256">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.
source code Support DVD's Video if you had VGA Card Support DVD
like ATI RAGE II Or All in Wonder 128.
the description for Function OpenMultimedia in the Module or in
the form(This simple update for version 5.0)
for this Source Code
Just use face="Comic Sans MS">Windows size="3" face="Comic Sans MS"> color="#FF0000" size="3" face="Comic Sans MS">API
calls (no ocx) ,no install new dll size="3" face="Comic Sans MS">.
work face="Comic Sans MS">useful for Windows98, color="#800000" size="3" face="Comic Sans MS">Windows
2000 and Windows NT size="3" face="Comic Sans MS">without installing any
other programs face="Comic Sans MS">.
functions in the Module or Dll for Standerd use just for
copy and paste in your own projects size="3" face="Comic Sans MS">.
Mpeg in playing and viewing Movie.
playing all Multimedia files by color="#FF0000" size="3" face="Comic Sans MS">less
lines included face="Comic Sans MS"> mp3,mpg,avi,wav..etc.
most controls face="Comic Sans MS"> for multimedia files(keep on
reading the page and you will know the controls).
face="Comic Sans MS">all movie files size="3" face="Comic Sans MS">.
four Sources in the zip (three for vb and dll in C++).
Levels (advanced - intermediate - beginner).
(read the code carefully).
on reading this page).
it again
reRead the face="Comic Sans MS">descriptions for function OpenMultimedia in
the form or in the Module.
For Notice me about bug when playing rmi files in some
computers (it was repaired).
I add four Functions:
volume audio for every channel(left or right) or the the
both:
audio and the another to set volume for every channel or
the both.
every Multimedia file not for all Multimedia files(not
like Mixer windows).
Rate playing Multimedia file (one to increase speed
playing or decrease speed playing and the another to get
current Rate).
Multimedia file not for all Multimedia files.
movie file and also playing mp3 file at the same time and
decrease the volume for mp3 in one channel or the both.
common errors in Windows 2000 was repaired color="#800000" size="3" face="Comic Sans MS">(now the
code useful for win2000).
Channels Audio Control (see the screenshot).
What
the Advantages
for this Update?
audio file and on right channel another audio file at the
same time Or:
time one on the left and the another on the right.
see some effect by this way.
from the zip.
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"
I
added the source code which sent to MSDN library and it
Update for previous version from "Pure API".
What
face="Courier New">Advantages for this Update?
the
file at the same time and play it .
movie at the same time).
files at same time if it from type "MPEGVideo"
this mean just the following types you can play it
altogther :
dat,snd, mpg color="#800080" size="2">, mpa, mpv, enc, m1v, mp2, color="#FF0000" size="2">mp3 size="2">, mpe, mpeg, mpm au,snd, aif, aiff,
aifc,wav,,etc.
following types can not play altogether :
becsause the sound card will be busy.
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.
wanna the ways to convert avi to mpegs types please
contact to me at : a_ahdal@yahoo.com
make some simple games,,etc.
the program.
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).
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.
face="Comic Sans MS">You can here Play all MultiMeida Files by
Pure API
face="Comic Sans MS">in first face="Comic Sans MS"> if you wanna playing these types:
qt , mov, dat,snd, mpg, mpa, mpv, enc, m1v, mp2,mp3, mpe,
mpeg, mpm
au , snd, aif, aiff, aifc,wav.
The Secret is:
You Must use when you write Command To MCI by Function
mciSendString write like this :
open c:myfile type MpegVideo .......etc
note: we written "MpegVideo" as a type
and we will written
open c:myfile type AviVideo .......etc
if we wanna opening avi files
face="Comic Sans MS">I got this info "MPEGVideo"
for how you can plays MPEGs types from my experinace when
I openned file system.ini and I saw the section of MCI
like this:
extensions
Type
extensions
Type
snd
MPEGVideo
Mid
Sequencer
qt
MPEGVideo
rmi
MPEGVideo
dat
MPEGVideo
wav
waveaudio
mpg
MPEGVideo
avi
AVIVideo
mpeg
MPEGVideo
cda
CDAudio
mpe
MPEGVideo
aif
MPEGVideo
mpa
MPEGVideo
aiff
MPEGVideo
mp2
MPEGVideo
aifc
MPEGVideo
mov
MPEGVideo
m1v
MPEGVideo
au
MPEGVideo
vob (DVD)
MPEGVideo
it
Functions for all users to Do what you want in Multimedia(commands
very easy, any one can use it)
Multimedia If you Downloaded This Code.color="#008000" size="3" face="Comic Sans MS">
I think you
while reading the source you will forget vote me , don't forget=:)Okay?.
Nice
Example
Download
Sample Movie
Run the
program and Select the Movie which you downloaded it
1-Click on
button "open" and
2-write in
textbox "from" Value "20"
3-write in
textbox "to" Value "70"
4-Click on
button "play"
5-Set check
auto repeat true
This Example
will let the movie played from frame number 20 to frame
number 70
Listen the
Songer will say "Think in love" (just). :).
if you want
to play the file from beginning to end remove any value
from testbox "from"
and textbox
"to" .Enjoy :)
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 212 times
Categories
Attachments
CODE_UPLOAD91508202000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 122,088 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.