News:

SMF - Just Installed!

Main Menu

Recent posts

#21
Audio recording components / Obtaining total record time
Last post by mjividen - March 12, 2024, 03:25:41 PM
Hello, Severino,

I've written an audio recording application for recording magazines and books that would later be listened to by persons who are blind.  The recordings are typically a half-hour to an hour long.  I've included a total time display but I haven't successfully made it work.  I've attempted to use the record position and record duration numbers but I when the I pause or stop and restart the recording, I'm not coming up with the total length of the recording in minutes and seconds.  Can you suggest a way to do this.  I'm most comfortable in visual basic. 

#22
Audio playback and audio management components / Re: Mic to icecast
Last post by Administrator - February 26, 2024, 02:40:08 PM
Hello,

please, take a look into the WasapiMixAndClone VB6 sample project which allows to attach an input device to a specific player and to send the output of the WASAPI stream mixer to a ShoutCast/IceCast server.

Hope this helps to achieve your goals.

Kind regards

Severino Delaurenti
MultiMedia Soft
#23
Audio playback and audio management components / Mic to icecast
Last post by grupo.virtual - February 26, 2024, 12:54:12 PM
Could you advice with a vb6 sample of the activex dj studio to know how to cast to icecast from a capture device (mic on my case, but I suppose applies exactly the same for line in).

I think the way is using wasapi, but I can't find how exactly


Cheers from Mazatlan, Mexico
#24
Hello,
unfortunately we don't have Delphi developers so we don't have a porting to this language available for the mentioned samples.

Kind regards

Severino Delaurenti
MultiMedia Soft
#25
Audio playback and audio management components / sample about in delphi
Last post by billychou - December 24, 2023, 11:51:23 AM
CastMixedStreams

TestEqualizer

Thanks.
#26
Hello,

1. Unfortunately the K-Lite pack is still needed also if not showing the video stream

2. Please, take a look into the VideoWaveform sample project that makes use of the VideoPlayer.AudioTrackExtract method in order to extract a video file into a memory buffer (or into a temporary file by just changing the bStoreInMemory parameter from TRUE to FALSE). Once you have the memory buffer (or the temporary file) you may load it through the LoadSoundFromMemory method (or LoadSound for a temporary file).
Please, note that you don't need to extract the audio track in order to change pitch and tempo: this can be applied to the video player directly as seen inside the VideoPlayerSimple sample project.

Hope this helps

Kind regards

Severino Delaurenti
MultiMedia Soft
#27
Hello Severino,

Thanks for Solution. I have some questions.

1. If I do not load video window it works, and play only Audio. Does that eliminates the need of K-lite codec
   pack ?

2. I tried with VideoPlayer.AudioTrackExtract method but not able to use it. I need the snippet of code how to extract please. Let me know can I get a wave file (.wav..) after extracting the audio and can I change pitch and tempo of this file ?
Does Extract method takes longer time ?

Thanks and Regards

Ravindra.

#28
Hello,

yes, this is possible: you simply need to avoid adding the video window which is created through the VideoPlayer.VideoWindowAdd method: in this case only the audio stream of the video clip will be instanced and rendered.
You can test this situation by using the VideoPlayerSimple sample project and commenting out the VideoPlayer.VideoWindowAdd method inside the source code.

In case you should need to extract the audio stream into a brand new WAV audio file (or W64 if bigger than 2 GBytes), you may use the VideoPlayer.AudioTrackExtract method.

In case you should need to extract the audio stream into a brand new audio file of a format different from WAV, like MP3 or Opus, our recorder component comes with the ExtractAudioFromVideoFile method which allows extracting and exporting the audio stream into one of the many supported formats.

Kind regards

Severino Delaurenti
MultiMedia Soft

#29
Hello,

Is it possible to play only Audio (mp3, wav) from a video file without displaying video on screen?

In short can I extract only Audio from Video file ? And later should be able to change pitch and tempo.

I know its weird question but have such requirement.

Thanks and Regards,

Ravindra.
#30
Hello,

unfortunately we cannot suggest definitive solutions for this kind of problems happening on a specific kind of laptop configuration: the only suggestion is to try updating the video card driver and trying to play with existing K-Lite settings.

Kind regards

Severino Delaurenti
MultiMedia Soft