[vlc-devel] Slow audio when streaming flv

Dave Still dave at stilldesigning.com
Thu Apr 17 02:59:30 CEST 2008


I finally got VLC git to build on Mac OS X (Intel Leopard with latest  
iPhone SDK), and everything works, but the audio is "slow".  Here's  
the command-line:

'/Users/stealthdave/Movies/D061219_01/VIDEO_TS/VTS_01_1.VOB' --sout  
"#transcode 
{vcodec 
= 
FLV1 
,acodec 
= 
mp3 
,samplerate 
=44100,ab=128,vb=256,width=320,height=240}:std{access=http{mime=video/ 
x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8090/stream.flv}"

The video plays at normal speed.  Rather than resampling the audio,  
vlc is slowing down the audio to match the requested samplerate.  In  
order to keep up with the video, vlc is dropping pieces of the audio.   
This keeps the video and audio in sync (well done), but makes videos  
of my wife sound like James Earl Jones (not so well done ;) ).  The  
build was from git latest as of a couple of hours ago.

Thanks,
- Dave



More information about the vlc-devel mailing list