ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 video (and audio) stream capture with compression
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

sandy771

57 Posts

Posted - Jul 03 2020 :  10:02:50  Show Profile  Reply
I want a very basic application that will take the input from a single camera (but preferably two) and output to two separate video streams (files).

Simultaneously I need to capture the audio from a discrete mic (rather than the mic on the web cam) and save to a separate stream

Finally I would want to play and at the same time output the content of an MP3 to a fourth file.

basically it will be an application to record me plying an instrument to a backing track but where i could subsequently sync the video(s), instrument and backing track in a video/audio editing package such as kdenlive and edit audio levels. Sync can be a bit of a faff so each of the streams would have a "clapper board" type sync video/audio inserted at the start(hence also copying the backing track).

I could possibly capture all sources and output to a single video/file and tweak the levels before I record, and this might be an option.

That is all background incase someone has a better suggestion :)

I think I can do all of that with imageEn, but I knocked up a quick application with imageEn to do this and the output video was massive and as I understand it by searching the forum imageEn when capturing with DirectShow does not allow simultaneous video compression (audio compression is not really an issue).

Is there a way of capturing video and audio with imageEn while compressing at the same time?

If ImageEn doesn't/can't do this then suggestions of other libraries (or even a third party tool - cheap as its for fun) would be welcome.

I am using C++ Builder and don't have delphi.

xequte

38179 Posts

Posted - Jul 05 2020 :  20:18:14  Show Profile  Reply
Hi

This sounds like it requires a more specialist video encoding library than ImageEn. I'm not sure what to recommend. I've used Multimedia Conversion Library in the past, but that no longer seems to be available.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

sandy771

57 Posts

Posted - Jul 06 2020 :  06:27:35  Show Profile  Reply
Thank You Nigel - Am I right re the compression issue with ImageEn. I might be able to get a solution if I can get the file sizes down.

I was using DShowNewFrame to display the video.
Go to Top of Page

xequte

38179 Posts

Posted - Jul 07 2020 :  01:08:46  Show Profile  Reply
ImageEn is offloading all the video handling to DirectShow. I can't see any reason that DirectShow would be unable to handle video and audio compression.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

sandy771

57 Posts

Posted - Jul 08 2020 :  04:53:20  Show Profile  Reply
Thank You Nigel - have I misunderstood a previous answer you gave in this thread?

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=2614&SearchTerms=DShowNewFrame,
Go to Top of Page

xequte

38179 Posts

Posted - Jul 09 2020 :  04:10:05  Show Profile  Reply
Sorry, I had forgotten about that limitation. The other post is correct.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: