|
Igor Delovski Board My Own Personal Slashdot!
|
Win32 |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Jul 17, 2006 11:47 am Post subject: Playing WAV (& AVI) |
|
|
How to handle a wav files in C? (not C++ or other)
"You should read the MSDN documentation on PlaySound(). SND_SYNC
isn't a cure-all; there are times for it, and times where SND_ASYNC is
more appropriate. SND_SYNC causes PlaySound() to block, ie, from
main()'s point of view, the program pauses (as the sound is played)." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Aug 26, 2006 12:37 pm Post subject: |
|
|
Lucian Wischik: AVI example code for creating AVI files
"This code is free, and anyone can do with it whatever they like (except
sell it or claim ownership).
This code is concerned with creating AVI files, including video and audio.
The video can be compressed using whichever filters are installed on your
computer - you can make it pop up a system dialog box asking the user
which filter to use, or you can remember this information to avoid the
dialog box in future, or you can assume no compression and avoid the
dialog box totally. As for compressing the audio, I believe that this is
impossible using the AVI functions. Instead, you'll have to create an AVI
with uncompressed audio, and then compress it using some external utility
like Windows Movie Maker." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Sep 23, 2006 7:09 pm Post subject: |
|
|
Convert different video format (avi,mpeg,mp4, etc) file to a flash format
"How do I actually convert different video format (avi,mpeg,mp4, etc)
file to a flash format and view it as flash?"
"Each video file is a container . There are many different types of
containers, and they can contain more than video and audio. The video and
audio depend on codecs. There are many different video and audio codecs,
and multiple combinations of them can be used in a container.
Importing a video file means you have to deal with the container format,
the audio codecs, the video codecs, and any other miscellaneous data.
You'll most likely be exporting to FLV." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Nov 25, 2006 12:41 am Post subject: |
|
|
cboard: mci error playing files
"why is that mciSendString() cannot play media files which contains
spaces in their file/path names? for example, mciSendString() can play a
file called "Pilgrim.mp3", but when i tell it to play a file called "The Celts.mp3"
it gives the "The specified device is not open or is not recognized by MCI"
error. anybody know a solution?" |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|