Capturing MJPEG stream, compressing and storing as file

About encoding, codec settings, muxers and filter usage
portsample
New Cone
New Cone
Posts: 6
Joined: 06 May 2015 05:29

Capturing MJPEG stream, compressing and storing as file

Postby portsample » 26 May 2015 07:32

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Capturing MJPEG stream, compressing and storing as file

Postby Jean-Baptiste Kempf » 26 May 2015 20:06

increase vb= to improve quality.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests