Ideal encoding/mux for webcam streaming?

*nix specific usage questions
moeburn
New Cone
New Cone
Posts: 3
Joined: 07 Aug 2013 19:53

Ideal encoding/mux for webcam streaming?

Postby moeburn » 08 Aug 2013 00:39

Maybe you guys can help me out here.

I'm trying to stream a webcam from my Lubuntu Linux netbook to my Windows 8 desktop PC, using cvlc (without a display module) to stream, and VLC Window to view the stream. I downloaded the latest version of each about a week ago, so I believe they are both up to date.

I found the following command line on an internet guide on how to stream a webcam using VLC:

Code: Select all

cvlc v4l2:///dev/video0:size=640x480 --sout '#transcode{vcodec=MJPG,vb=400,scale=1,fps=10}:duplicate{dst=std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:1234/webcam.mjpg}}'
But I presume this isn't ideal, because I don't need to be able to access the webcam through an html browser, just VLC is going to be viewing it. So I don't need the http access, and I don't need the mpjpeg mux, and there is probably a more efficient encoder I could use than MJPG.

There's also the fact that this encoder/mux combo seems to completely ignore whatever vb= bitrate I set, and will only use my fps= setting if I set fps=10. Any other fps value is ignored, even 9 or 11.

Any suggestions?

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests