High/low speed with sound?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ghi42
New Cone
New Cone
Posts: 2
Joined: 18 Oct 2007 12:09
VLC version: 0.8.6c
Operating System: Windows (Vista)
Location: Cologne, Germany
Contact:

High/low speed with sound?

Postby ghi42 » 18 Oct 2007 12:16

Hi!

VLC allows to reduce or speed up the video playback speed. I adore that feature, but for me it lacks a central feature: Once playback speed is changed, the sound is lost.

Is there a chance to get sound playback when in "non-realtime" playback mode? I don't even need the proper sound pitching feature for that, simply double speed sound reduction would do the trick for me. The Windows Media Player for example has pitched low/highspeed sound playback, so I know that it's generally possible. ;)

Best regards,
Garvin

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: High/low speed with sound?

Postby CloudStalker » 20 Oct 2007 23:29

There's some support for this in the nightly builds, it's not quite done yet I believe.

SpamBucket
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2007 09:08

Re: High/low speed with sound?

Postby SpamBucket » 21 Oct 2007 09:41

I just grabbed the latest build.

The speed selection is kind of coarse. It appears that it only will double and then double again. Also the pitch is not shifted.

If I could get a 1.5x selection in addition to 2x, and if the pitch would shift, I would be very very happy. How can I encourage this?


Thanks!

SpamBucket
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2007 09:08

Re: High/low speed with sound?

Postby SpamBucket » 21 Oct 2007 11:22

OK. I can see how to change the rate. Just need to modify Control() in input.c to move differently on reception of each INPUT_CONTROL_SET_RATE_FASTER/SLOWER.

However, I am at a loss as to how to go about shifting the pitch... I don't even know where to start... Can it be done in one place just before handing the waveform out to the audio hardware? I'm not really an audio wizard, but I'm pretty handy with C code. Does anyone out there have any clues for me?


Thanks!

fenrir
Blank Cone
Blank Cone
Posts: 45
Joined: 09 Mar 2004 21:45

Re: High/low speed with sound?

Postby fenrir » 21 Oct 2007 18:03

I have added 1.5x and 3x speed position.
I plan to add audio pitch modification but it is not quite done yet (btw soundtouch is not suitable for our needs as it buffers too much audio when going slower and the current vlc audio output does not like that at all).

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: High/low speed with sound?

Postby Jean-Baptiste Kempf » 21 Oct 2007 18:46

I think 1.25x would be also useful.
Anyway, on the next version interface for windows and linux, you have a slider to choose the speed control with a lot of precision ( from 0.3x to 3.0x)
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.

SpamBucket
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2007 09:08

Re: High/low speed with sound?

Postby SpamBucket » 21 Oct 2007 19:53

That's excellent fenrir. If the pitch handling is good when going faster, then your solution is good enough for me. I only speed things up. When will I be able to see your code in a build?

I agree that 1.25x would be useful.

j-b, I have some questions:
  • Which version are you speaking of, 0.9?
    Will the next version also adjust sound pitch?
    What are the barriers to adding this functionality to the Mac interface? (I'd rather run it on my Mac.)
This is all good news. Thanks!

ghi42
New Cone
New Cone
Posts: 2
Joined: 18 Oct 2007 12:09
VLC version: 0.8.6c
Operating System: Windows (Vista)
Location: Cologne, Germany
Contact:

Re: High/low speed with sound?

Postby ghi42 » 21 Oct 2007 21:08

Hi!

That's great news, I'm excited about the future builds. Many thanks for your replies, I'm happy to see I'm not the only one who'd enjoy this. :-)

Best regards,
Garvin

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: High/low speed with sound?

Postby Jean-Baptiste Kempf » 21 Oct 2007 21:17

@spambucket:
yes, 0.9.0,
about sound pitch, no idea, ask fenrir :D
mac, no idea yet, I'll discuss it wiht the mac os guys
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.

SpamBucket
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2007 09:08

Re: High/low speed with sound?

Postby SpamBucket » 02 Nov 2007 04:22

Fenrir is there anything I can do to help you?

j-b, any word from the Mac guys? I haven't hacked Mac code since the 80's, but I'd be willing to put some time into this if it would help.


Thanks.

jimmywannadog
New Cone
New Cone
Posts: 1
Joined: 13 May 2008 20:22

Re: High/low speed with sound?

Postby jimmywannadog » 13 May 2008 20:32

Thanks for getting the sound in with the playback (running the nightly build from 5-13-2008). I watch a lot of public meetings and faster than 1x is better.
How's the pitch shift coming along?
Thanks again.

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: High/low speed with sound?

Postby Jean-Baptiste Kempf » 13 May 2008 23:51

The guy who worked on the pitched, we have no news since some time :'(
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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests