This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, September 19, 2007 6:35:02 AM(UTC)
Groups: Registered
Posts: 5
Hi
I am looking to combine audio from 2 streams.
Any help combining audio for 2 streams in .NET would be much appreciated
Thanks
AJ
Edited by moderator Thursday, August 8, 2019 1:44:22 PM(UTC)
| Reason: Not specified
#2
Posted
:
Thursday, September 20, 2007 3:27:34 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
AJ,
How do you want to join the 2
streams? Please explain what the sources are, and how exactly they will end up
in the resulting output. For example, do you want 2 audio files to be
concatenated into one audio file?
#3
Posted
:
Thursday, September 20, 2007 7:30:58 AM(UTC)
Groups: Registered
Posts: 5
Hi Adam,
The easiest way to describe our requirements would be in relation to the DrawOnVideo .NET sample..
In this sample, frames are caught from a play or capture stream via a video callback and fed into the AVI_Builder class which records an AVI of the original stream merged with the user's annotations. The problem for us is that it doesn't look like this AVI_Builder class does sound also, so how would we capture the sound from a play or capture stream and build an AVI like in this sample?
In terms of the 2 stream I mentioned, once we understand how to build sound into the AVI_Builder class above, we then will develop it to merge audio from 2 play or capture streams (along with the picture using a video callback and raster processing) and save all this audio and video into a custom AVI_Builder class.
Regards,
AJ
#4
Posted
:
Sunday, September 23, 2007 9:00:48 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
AJ,
The demo uses our ltmmConvert
control to save the AVI file. It specifies the file in this line:
ltmmConvertCtrl1.TargetFile =
"c:\\video.avi"
For the source, it uses an
ltmmSampleSource object. If you want to support both video and audio streams, you
can use an object of type ltmmMultiStreamSource instead of the Sample Source
object.
Using this object is
explained in the help file and shown in the demo that installs with the toolkit
under:
LEADTOOLS15\Examples\ltmm\Dotnet\CS\ConcatSameSize
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.