News:

SMF - Just Installed!

Main Menu

Recent posts

#51
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
#52
Audio playback and audio management components / sample about in delphi
Last post by billychou - December 24, 2023, 11:51:23 AM
CastMixedStreams

TestEqualizer

Thanks.
#53
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
#54
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.

#55
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

#56
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.
#57
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
#58
Hello,

I am facing an issue on laptop,

1. CPU - i5
2. Ram - 8 GB
3. Windows 11 OS
4. Nvidia Graphics Driver

when I start a video in my application the screen flickers and display goes off.
Already Installed K-lite codec.

1. I kept K-lite Hardware acceleration at None because keeping any other accelerator problem still persists.

__________________________________________________________

The problem does not exists on similar laptop configuration without Nvidia Graphics drivers.

Can you suggest any solution to resolve the issue.

Regards,

Ravindra.
#59
Hello,

the window hosting the video rendering isn't aware about the resizing of the container panel so it needs to be resized accordingly through the VideoPlayer.VideoWindowMove method.
An example of usage of this method can be found inside the VideoMultipleOutput and VideoPlayerAdvanced sample projects.

Hope this helps

Kind Regards

Severino Delaurenti
MultiMedia Soft


#60
Hi,

I have put the Video window (Label) in one of the panel of Splitter Container. The label is Dock to Fill the entire area of the panel. When I start video it looks perfectly alright.
When I collapse all other panel except a video window panel to view a video in big size, i see that my label for
Video window is grown but the video size remain the same. It does not stretch itself to fit the label video window.
Can you suggest any solution so that Video will also become big and occupy full space?

I am attaching the images.
Not a valid attachment ID.Not a valid attachment ID. 
Thanks and Regards,

Ravindra.