Quality Difference Streaming MJPEG Linux vs Windows

*nix specific usage questions
jhaislip
New Cone
New Cone
Posts: 1
Joined: 25 Nov 2009 22:27

Quality Difference Streaming MJPEG Linux vs Windows

Postby jhaislip » 01 Feb 2013 04:05

Hi Everyone,

I'm still very new to all of this. I've been working on a project that involves re-broadcasting an mjpeg stream. I began testing on a windows machine and was very happy with the result. However, to aid in management of the tool I moved over to a linux machine. Even though I am running the same command, the linux stream is much poorer quality and has a longer lag time. The two machine's are comparable with respect to memory and processing power. Does any one have suggestions for how I can make VLC in linux produce as good a stream as I am seeing from VLC in windows? Here is a comparison of the quality (linux on the left, windows on the right):

Image

Here is the command I am running in windows:

vlc --sout="#transcode{acodec=none,vcodec=mjpg,vb=1024}:std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:9000/image.jpg}" "url/to/stream"


and in linux it is the same but using cvlc instead of vlc. In linux I see the following messages once the stream starts:

VLC media player 1.0.6 Goldeneye
[0x11d7d88] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated a
bnormally with the following error: Autolaunch error: X11 initialization failed.

[0x11d7d88] main interface error: no suitable interface module
[0x10e4888] main libvlc error: interface "inhibit,none" initialization failed
[0x11d3748] main interface error: no interface module matched "screensaver,none"
[0x11d3748] main interface error: no suitable interface module
[0x10e4888] main libvlc error: interface "screensaver,none" initialization failed
[0x10e4888] main libvlc error: option drawable-xid does not exist
[0x11d8688] main interface error: no interface module matched "globalhotkeys,none"
[0x11d8688] main interface error: no suitable interface module
[0x10e4888] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x11d83d8] dummy interface: using the dummy interface module...
[0x11f2828] main access out: creating httpd
[0x11ec498] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:none)
[0x11ec498] stream_out_transcode stream out error: cannot create audio chain
[0x22c99d8] main packetizer error: cannot create packetizer output ( ms)
[0x7f413c0011f8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late, increasing pts_delay to 1200 ms
[0x7f413c0011f8] main input error: ES_OUT_RESET_PCR called
^C[0x11cdd78] signals interface error: Caught Interrupt signal, exiting...


I also just ran apt-get update and apt-get install vlc-nox to make sure I had the newest version on linux. Any suggestions would be greatly appreciated. Thanks!

TypX
Developer
Developer
Posts: 287
Joined: 21 Oct 2011 15:59

Re: Quality Difference Streaming MJPEG Linux vs Windows

Postby TypX » 01 Feb 2013 12:02

Well 1.0.6 is very old... even Debian stable has a later version. Your best chance is to compile a newer version (like 2.0.5) and test.


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

Who is online

Users browsing this forum: No registered users and 3 guests