With VLC 2.0.7, the audio is always ahead of the video. I tried to add "--audio-desync=-500" but this has no effect.
example transcode string:
Code: Select all
--sout '#duplicate{dst="transcode{vcodec=h264,vb=450,fps=24,width=480,height=320,venc=x264{profile=baseline,keyint=24},acodec=mp4a,ab=64,channels=1,audio-sync,samplerate=44100}",select="es=511,es=515"}:rtp{mp4a-latm,dst=127.0.0.1,port-audio=20006,port-video=20008,ttl=127,sdp=file:///Library/QuickTimeStreaming/Movies/something.sdp}'
The values of transcode string regarding the keyint values are rather a result of experiments then real knowledge, however it currently works very reliable, also the reference client (blackberry OS V5) is not able to accept a different x264 profile then baseline, and no other codec then mp4/aac, and, not more then 30fps.
There is also a problem that with VLC v2, I wont get a picture on the client, it only starts buffering (with vlc v1, the picture starts immediately). Display works with VLC as a client, but it takes more then 30seconds until the picture appears.
Any Idea on this ?
Thanks.