Properly segment a video file
Pedro Côrte-Real
pedro at pedrocr.net
Mon Jan 6 09:26:09 PST 2014
Adrien,
See the thread call "Trouble getting fully valid files with
matroskamux" for a discussion on this. Not all muxes are using the
offsets correctly so before that's fixed you need to adjust PTS on
every frame. That thread includes a link to working code that splits
an incoming stream into several files.
Pedro
On Mon, Jan 6, 2014 at 5:22 PM, adrien_sch
<adrien.schwartzentruber at gmail.com> wrote:
> Hello guys,
>
> I'm trying to segment a video file every X seconds and it's work well expect
> that the time information of the video file seems to be wrong.
>
> For example, when I'm opening a video created after C swap, the player seems
> to pause for C*X secs and then play for X seconds.
>
> I tried to update the PTS info, but it doesn't work.
>
> I guess that I should update/send a new segment event with an offset, but I
> gave some tries without success.
>
> Thx in advance for your help.
>
> Code sample : http://pastebin.com/1i8KHxuM
>
>
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Properly-segment-a-video-file-tp4664496.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list