[Matroska-devel] Problem creating an infinite size segment with libmatroska

Steve Lhomme slhomme at matroska.org
Thu May 17 09:39:02 CEST 2012


It's hard to tell without looking at the code, but normally setting
SetSizeInfinite(true) on the elements you want to make infinite (you
have to do it on upper level elements as well, otherwise it doesn't
make much sense) should suffice.

On Tue, May 15, 2012 at 7:39 AM, Markus Goetz <markus at woboq.com> wrote:
> It was the latest ones, libebml 1.2.2 and libmatroska 1.3.0
>
>
> On 08.05.12 16:20, Steve Lhomme wrote:
>
> What code base/library are you using ?
>
> On Sat, Mar 31, 2012 at 12:19 PM, Markus Goetz <markus at woboq.com> wrote:
>
> Hello,
>
> My goal is to write a small application that creates a straming MKV.
>
> However I am having problems creating an infinite size KaxSegment.
> I played around with WriteHead, SegmentSize, SetSizeInfinite etc..
>
> I'm expecting to get 18 53 80 67 ff in my stream, but I only get 18 53 80 67
> 80 (or a variation of that for different values for SizeLength, but always
> size 0 instead of all bits set).
>
> Can someone post a small snippet that does what I want to achieve?
>
> thanks a lot,
> Markus
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane:
> http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
>
>
>
>
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane:
> http://dir.gmane.org/gmane.comp.multimedia.matroska.devel



-- 
Steve Lhomme
Matroska association Chairman


More information about the Matroska-devel mailing list