Code: Select all
/usr/bin/vlc -I dummy "$1" --sout "#transcode{vcodec=mp2v,vb=4096,canvas-width=448,canvas-height=252,acodec=mp2a,ab=64,samplerate=44100,channels=1}:standard{access=file,mux=ts,dst="$2"}"
1) Samplerate conversion is not working. Youtube sends an MP3, 22050 Hz, 64Mbps stream and when I transcode to mp2a 44100 Hz, the audio plays really fast.
2) canvas-width and canvas-height are not working at all.
No error messages are displayed in the terminal