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

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

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

Postby portsample » 01 Jun 2015 05:38

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.

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: Streaming MJPEG direct to file: crashes on playback after 1 second

Postby Jean-Baptiste Kempf » 16 Jul 2015 13:59

Can you share a backtrace?
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 23 guests

cron