Page 1 of 1

Capturing MJPEG stream, compressing and storing as file

Posted: 26 May 2015 07:32
by portsample
I am working on an application that captures an MJPEG stream and stores as .mov (or other format) files that are 10 minutes in length.
Here's what I've got so far:

Code: Select all

vlc v4l2:///dev/video0 :v4l2-standard= :live-caching=300 --sout="#transcode{vcodec=MJPG,vb=512,fps=1,scale=1,acodec=none,ab=128,channels=2,samplerate=44100}:duplicate{dst=file{mux=mov,dst=/home/scott/VideoProjects/MondayFile.mov,no-overwrite},dst=display}" :sout-keep
Is there anything that I can do to improve image quality?
The cameras for this application will be located at remote rivers and will be used to enumerate salmon migration. Technicians will review the imagery frame by frame to achieve an estimate of fish passage.

I'm pretty new at video processing, any suggestions and advice would be appreciated. Thanks.

Re: Capturing MJPEG stream, compressing and storing as file

Posted: 26 May 2015 20:06
by Jean-Baptiste Kempf
increase vb= to improve quality.