MJPEG Transcoding

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DeLoVaN
New Cone
New Cone
Posts: 1
Joined: 10 Aug 2010 12:43

MJPEG Transcoding

Postby DeLoVaN » 10 Aug 2010 12:53

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.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 77 guests