I'm using VLC to save my IP camera stream to a file and it works fine but output file doesn't contain any audio. So I was trying to figure it out and noticed G711 is not supported on TS, so tried to transcode only audio and leave the video as it is. I tried almost all the codecs but I couldn't get it work, output file still doesn't have any audio. Can you please guide me to fix this issue?
Code: Select all
cvlc -vvv rtsp://URLTOMYCAM --sout='#transcode{acodec=aac,ab=192,scale=1,channels=2,deinterlace}:std{access=file,mux=ts,dst="test.mpg"}'