[vlc] Changing samplerate problem

Jean-Paul Saman jpsaman at videolan.org
Sat Apr 26 13:57:47 CEST 2008


Craig Whitmore wrote:
> Hi there.
> 
> I have an mpeg2 multicast stream I am encode to FLV1 to send via unicast
> and i use the command line below:
> 
> vlc udp://@239.0.0.10:5004 --sout
> "#transcode{sync-audio,deinterlace{deinterlace=linear},scale=0.5,vcodec=FLV1,vb=512,acodec=mp3,ab=96,venc=ffmpeg{hurry-up,keyint=80,vt=800000},samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=:8081/stream.flv}"
> 
> the problem is the MPEG2 source is 48000 samplerate and flv only allows
> to be 44100 so the sound is lower pitch that it should be when playing
> on the flash player.
> 
> How can I fix this? I can't find any option to fix this problem.

You either need 0.8.6-bugfix or 0.9.0-git branches for this to work 
properly.

Gtz
Jean-Paul Saman



More information about the vlc mailing list