How to use pitch shifting module in Libvlc version 3.0.4 ?

This forum is about all development around libVLC.
minhvuongbmt
New Cone
New Cone
Posts: 2
Joined: 14 Sep 2018 17:38

How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby minhvuongbmt » 14 Sep 2018 18:04

Hi everybody.
I use the Libvlc3.0 library for my music player, I developed it on C # .net.
All the functions I expect have finished and run very well. But I need to add "pitch shift module" to use it. But I did not find any functionality in libvlc to do that.
Can someone guide me?
I think in libvlc3.0 did not update this function. But the Vlc Player application has been updated and used.
please help me, can the Development Team update this functionality in the next release?
Thanks everyone!

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby mfkl » 18 Sep 2018 16:37

What wrapper are you using?

Have you tried passing the CLI arguments?

https://wiki.videolan.org/VLC_command-line_help/

Code: Select all

--pitch-shift=<float [-12.000000 .. 12.000000]> Pitch Shift
https://mfkl.github.io

minhvuongbmt
New Cone
New Cone
Posts: 2
Joined: 14 Sep 2018 17:38

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby minhvuongbmt » 18 Sep 2018 18:44

Thanks you!
I'm using this Wrapp: "https://github.com/higankanshi/Meta.Vlc"
I tried it and it does not work. I think the vlc command used for vlc.exe
But my player only wrap Libvlc.dll and libvlccore.dll
Is there any other way?

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby mfkl » 19 Sep 2018 10:25

Don't know about Meta.Vlc much. This is what I'd do.

1. Figure out the command and arguments you need to achieve the result you want using the CLI and plain vlc.exe (no wrapper).
2. Then, use a maintained wrapper like Vlc.DotNet and pass the same arguments.

Good luck
https://mfkl.github.io

gomugomu
New Cone
New Cone
Posts: 2
Joined: 21 Feb 2019 07:03

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby gomugomu » 21 Feb 2019 07:49

Don't know about Meta.Vlc much. This is what I'd do.

1. Figure out the command and arguments you need to achieve the result you want using the CLI and plain vlc.exe (no wrapper).
2. Then, use a maintained wrapper like Vlc.DotNet and pass the same arguments.

Good luck

hallo.. can I call a pitch with VLCPlugin at delphi?
Image

and I done to use this code to change the channel and speed

Code: Select all

procedure TForm1.Button3Click(Sender: TObject); begin VLCPlugin21.audio.channel := 4; //audio channel end; procedure TForm1.Button4Click(Sender: TObject); begin VLCPlugin21.input.rate := tmpo - 0.50; //for speed end;
but for pitch am stuck :(

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby Jean-Baptiste Kempf » 10 Mar 2019 11:40

You cannot with the VLCPlugin21, no. You must use libVLC for this.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gomugomu
New Cone
New Cone
Posts: 2
Joined: 21 Feb 2019 07:03

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby gomugomu » 27 Mar 2019 07:18

You cannot with the VLCPlugin21, no. You must use libVLC for this.
any sample.. please :cry:

Ender2019
New Cone
New Cone
Posts: 1
Joined: 14 Aug 2019 15:41

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Postby Ender2019 » 14 Aug 2019 16:18

Hi,

I'm having the same problem, I tried with libvlc, but I still can't get it work , --pitch-shift.
Only with ffMpeg I can Adjust Pitch, Has anybody find a solution for libVLC, in Delphi or .Net ...?

I also try to figure it out in cmd line, but I can't find a solution.

Thanks,
Mihai


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests