<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi.</div><div><br></div><div>I need to split a mjpeg video stream into files of 1hr of duration; for that I use splitmuxsink with the muxer set to avimux. However, the files produced fail to load properly. VLC reports the index is either missing or corrupted, and other video players either crash or take several seconds to load. Only the first file is OK.</div><div><br></div><div>Note that AVI is chosen because the files need to usable by a Windows machine without needing extra software.<br></div><div></div><div><br></div><div>Below is my example pipeline. I've only tested with a Logitech 920c camera.</div><div>I did test several duration values and it seems the files will fail to load properly if the duration is set longer than 510s for the resolution and frame rate in use.<br></div><div><br></div><div></div><div>$ gst-launch-1.0 -e v4l2src device=/dev/video1 ! image/jpeg,width=1280,height=720,framerate=24/1 ! queue ! splitmuxsink muxer=avimux location=./testvid6-%02d.avi max-size-time=511000000000 sync=0</div><div></div><div><br></div><div>* I've noticed that all files with sizes larger than 1.2GB seem to be failing.<br></div><div> <br></div><div>Runtime Environment:</div><div><div>$ uname -a<br>Linux XXX 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux<br></div><div><br></div><div>GStreamer:<br></div></div><div>$ gst-launch-1.0 --gst-version<br>GStreamer Core Library version 1.14.1</div><div><br></div><div>$ gst-launch-1.0 --gst-version<br>GStreamer Core Library version 1.15.0.1<br><br></div><div>Any ideas on what is wrong with my pipeline or what to try next, are appreciated.</div><div><br></div><div>Thanks in advance.<br></div><div><br></div><div>-Rafael<br></div></div></div></div></div></div></div>