splitmuxsink missing avi index

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

splitmuxsink missing avi index

kochmmi1
Hi all.
I have an C app for recieving MJPEG stream from USB cam (v4lsrc). If I want to save the stream as well I just copy each reciever frame to a second gstreamer pipeline:

 appsrc->queue->splitmuxsink (muxer=avimux)
The first 16 files created by splitmuxsink seems to be OK, all after that (until the last one if the pipeline is terminated correctly and not via the system loosing power) are reporting "broken or missing avi index" when played by VLC.

Later I ahave tried to use matroskamux instead of avimux. The resulted files have really messed-up timestamps (i think that the files have timestamps regarding the overall time, and not the time in the file - it is impossible to seek in the saved files in VLC since all the data are "after" the file ended.

Is there some setting causing this? Or is it an issue adressed in later vesrions ( I have multifilesink v1.14.2. It seems not to have some of the properties in documentation (e.g. reset-muxer), which I guess could be related).