I'm trying to combine an audio stream and a video stream using:
Code: Select all
cvlc --ipv4 screen:// --screen-left 0 --screen-top 0 --screen-width 1920 --screen-height 1200 --screen-fps=60 :input-slave=rtp://127.0.0.1:46998 --sout '#transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=3000,acodec=mp4a,ab=32,channels=2,samplerate=22050}:file{dst="/home/batrick/foo.mov"}'
The above command seems to execute fine but it quickly consumes all of my system memory (there's a bug in there somewhere?). Any idea what's wrong? Is this command even going to do what I hope?
If I do this, the audio works just fine:
vlc rtp://127.0.0.1:46998