Solved

Making an AVI file from two streams

Posted on 2002-05-12
6
552 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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 88
VBA Error Since Excel 2016 x64 5 112
Need to impress with my knowledge of .NET 5 90
What .NET URL re-routing tool did I use? 2 56
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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…

773 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