<div dir="ltr"><div>You can transcode it to H264 (or something else) and then save it into a TS file. Remember the '-e' flag for gst-launch. Can also save it into a mp4 or avi or matroska file and later repack without renecodeing.<br><br></div>If VLC is to detect the duration of a TS file, it needs to read/parse the whole file to detect gaps/jumps/restarts/new streams etc. A MPEG TS stream has no single place it stores the duration of the stream. Not sure if VLC will do that.. Perhaps it will.<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 4, 2015 at 8:04 PM, sina_sh <span dir="ltr"><<a href="mailto:sina.shafai@gmail.com" target="_blank">sina.shafai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well, the webcam I have to use for this purpose has the ability of capturing<br>
in HD only with MJPEG (doesn't support H.264...) and sadly the final result<br>
need to be inside a MPEG-TS container (It'll be converted to mp4 via another<br>
machine which I don't have access to it - just scp the file to the server<br>
and it does the converting and so on)<br>
<br>
the biggest problem right now is that my player (kdenlive) and also VLC can<br>
not detect the duration of the video while playing it, apparently this<br>
causes problem in the next step (converting ...)<br>
<br>
any suggestion to fix this issue is appreciated also<br>
<br>
Best,<br>
Sina<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Problem-in-using-mpegtsmux-tp4673947p4673949.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Problem-in-using-mpegtsmux-tp4673947p4673949.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>