Solved

Making an AVI file from two streams

Posted on 2002-05-12
6
554 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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
Windows 10 Scheduled Tasks 11 107
Poor Man's .NET Framework Certification 2 60
WPF issue with Trigger 2 130
PL SQL Developer 7 75
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

726 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