Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Playing WAV (& AVI)

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32
Win32  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Mon Jul 17, 2006 11:47 am    Post subject: Playing WAV (& AVI) Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Aug 26, 2006 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Sep 23, 2006 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Sat Nov 25, 2006 12:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group