Problem in using mpegtsmux

Peter Maersk-Moller pmaersk at
Sun Oct 4 11:52:59 PDT 2015

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.

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.

On Sun, Oct 4, 2015 at 8:04 PM, sina_sh <sina.shafai at> wrote:

> Well, the webcam I have to use for this purpose has the ability of
> capturing
> in HD only with MJPEG (doesn't support H.264...) and sadly the final result
> need to be inside a MPEG-TS container (It'll be converted to mp4 via
> another
> machine which I don't have access to it - just scp the file to the server
> and it does the converting and so on)
> the biggest problem right now is that my player (kdenlive) and also VLC can
> not detect the duration of the video while playing it, apparently this
> causes problem in the next step (converting ...)
> any suggestion to fix this issue is appreciated also
> Best,
> Sina
> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list