Page 1 of 1

MJPEG Transcoding

Posted: 10 Aug 2010 12:53
by DeLoVaN
Hi,

I have an application which works only with MJPEG streams. I plan to used this software to process an MPEG4 stream.
So I thought of transcoding this real-time MPEG4 stream to real-time MJPEG stream.

I used this command line :

Code: Select all

vlc.exe rtsp://user:pass@x.x.x.x:x/video.amp :sout=#transcode{vcodec=MJPG,vb=5000,scale=1,acodec=none}:standard{access=http,mux=asf,dst=127.0.0.1:8080/}
The transcoding is working but the quality is horrible, with pixels as large as my thumb !

However, when I try to transcode a MPEG4 file with this command line, the quality is quite the same as the original video.

Code: Select all

vlc.exe file.avi :sout=#transcode{vcodec=MJPG,vb=5000,scale=1,acodec=none}:standard{access=http,mux=asf,dst=127.0.0.1:8080/}
What am I missing ? Is the quality limited since I read a real-time stream ?

I tried to improve the --rtsp-caching to 10000 ms but the result is the same.

Have someone an idea ?

Thanks.