Page 1 of 1

Jittery sound on slow-motion converts

Posted: 23 Feb 2011 08:42
by friction
Hi Guys,

If I open a file from the command line like this:

Code: Select all

"c:\Program Files\VideoLAN\VLC\vlc.exe" --rate 0.7 in.flv
The file opens up and plays at 70% the normal speed, great.

If I convert a file to mp4 like this:

Code: Select all

"c:\Program Files\VideoLAN\VLC\vlc.exe" in.flv --sout=#transcode{vcodec=h264,acodec=mp4a}:file{dst="out.mp4"}
The file is sucessfully converted and all is well.

However if I do both, like this:

Code: Select all

"c:\Program Files\VideoLAN\VLC\vlc.exe" --rate 0.7 in.flv --sout=#transcode{vcodec=h264,acodec=mp4a}:file{dst="out.mp4"}
Then the sound goes all jittery and crappy. What am I missing?

Re: Jittery sound on slow-motion converts

Posted: 23 Feb 2011 17:08
by RĂ©mi Denis-Courmont
You need to resample the audio track. If you simply playback, this will be automatic, but it cannot be automated in streaming (since it requires decoding and re-encoding).