Article View: borland.public.cppbuilder.nativeapi
Article #7796How to add audio data into AVI file
From: sky
Date: Mon, 20 Dec 2004 09:08
Date: Mon, 20 Dec 2004 09:08
15 lines
1422 bytes
1422 bytes
Hi all I need capture my digital-camera data into a AVI file, the push mode was used for adding camera frame into video stream one by one, it works great. But now I want to add audio information into this AVI file at the same time three question: 1. how to set the information for audio stream, for example dwScale, dwRate etc. 2. Can I use the waveIn... functions get audio data and write it into audio stream directly(WM_WIM_DATA) 3. how to make the audio data and video data written into the corresponding stream synshronously. TIA sky
Technical Details
Message-ID:
<41c69692$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,867ccc9a7269ac57,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "sky" <huangc@motic.com> From: "sky" <huangc@motic.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to add audio data into AVI file Date: Mon, 20 Dec 2004 17:08:31 +0800 Lines: 17 Organization: motic X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 218.85.121.51 Message-ID: <41c69692$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103533714 218.85.121.51 (20 Dec 2004 01:08:34 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail