playing, seeking form a non closed mkv file
peter.bocz at vidux.net
Wed Apr 2 10:11:48 PDT 2014
i have a problem, let me introduce it form an example. I have a
pipeline, which is recording video from a source to a file in matroska
format. Meanwhile it is still recording the video i want to play back it
from a different pipeline (maybe form another process), and it is
working. But if I want to seek, play backward it is not working.
Sometimes it's freezing, sometimes i get "gray" picture (decoded B frame
whitout I frame). I know if i stop the recording as it have to (eos
....), and the file will be closed, everything is good, if I didn't stop
the pipleline well, i have the same problems. As i see (know) the
problem is that in an unclosed file the seek_indexes are not reachable.
My idea is to rewrite matroskademux and every time we seek parse the
reachable part of the file like in the matrokskamux, and build the
seek_indexes to be able to seek as a closed one.
Would you except such patch to gstreamer ?
More information about the gstreamer-devel