Page 1 of 1

Streaming MJPEG direct to file: crashes on playback after 1 second

Posted: 01 Jun 2015 05:38
by portsample
Hello,
The following command:

Code: Select all

vlc v4l2:///dev/video0 :v4l2-standard= :live-caching=300 --sout="#transcode{vcodec=MJPG,vb=512,fps=5,scale=1,acodec=none,ab=128,channels=2,samplerate=44100}:duplicate{dst=file{mux=mpjpeg,dst=/home/user/VideoProjects/SundayNight-1914.mpjpeg,no-overwrite},dst=display}" :sout-keep
It creates a file of expected size that crashes on playback in VLC after 1 second. I've tried varying vb, and fps with no luck. Camera is an ELP UBB500W02M-L21.
Is there anything nonstandard that needs adjusting in my command? Thanks.

Re: Streaming MJPEG direct to file: crashes on playback after 1 second

Posted: 16 Jul 2015 13:59
by Jean-Baptiste Kempf
Can you share a backtrace?