[vlc] Changing samplerate problem

Craig Whitmore lennon at orcon.net.nz
Sat Apr 26 07:31:20 CEST 2008


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.

Thanks
Craig





More information about the vlc mailing list