Solved

Making an AVI file from two streams

Posted on 2002-05-12
6
553 Views
Last Modified: 2013-12-03
I'm trying to use AVISaveV() function to assemble of just written video stream (into some temporary AVI) and external audio (PCM WAV) file.
All goes well when the video stream isn't compressed. I even can create a compressed video in the target AVI using compression options in AVISaveV().
But it takes too large temporary AVI file. I'd like to create a compressed video stream "on-the-fly". And I can do that! But the error occures just when I call AVISaveV with such compressed video stream on input.
What is my mistake? MSDN says nothing about AVISaveV() sources!
0
Comment
Question by:abb1
  • 3
6 Comments
 
LVL 15

Assisted Solution

by:lyonst
lyonst earned 200 total points
ID: 7006490
0
 
LVL 3

Author Comment

by:abb1
ID: 7007002
Oops...
I saw that page!
I haven't any information there about what is the problem in compressed stream writing by AVISaveV() function.
It only says "do not compress twise" But I ofcourse know that even without MSDN :)
I'm compressing only once, but I just wish to compress "on-the-fly"!
And how to use in practice AVIMakeFileFromStreams() function? Can I save the file onto disk with it?
0
 

Accepted Solution

by:
Displacer earned 200 total points
ID: 7350066
Maybe using AVIStreamGetFrame to get bitmap with later use of ICCompress and AVIStreamWrite for each stream will help?
0
 
LVL 15

Expert Comment

by:lyonst
ID: 10678782
Split points and PAQ.

Cheers, T.
0
 
LVL 15

Expert Comment

by:lyonst
ID: 10680999
Thanks..
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Event ID 10010 3 69
Application vs Workbook.applicaiton 3 39
Issue testing the Class Library 4 58
What namespace do I need to import? 2 38
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question