[Matroska-devel] Asserion failure in test6.cpp - any up-to-date examples or tutorials?

Gruenke,Matt mgruenke at Tycoint.com
Fri Dec 23 18:40:25 CET 2016


Using libmatroska6v5 (1.4.4) on Ubuntu 16.04.1, I get the following assertion failure, when running test6.cpp:

#0  0x00007ffff6fdf428 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff6fe102a in __GI_abort () at abort.c:89
#2  0x00007ffff6fd7bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion at entry=0x7ffff7baa012 "false",
    file=file at entry=0x7ffff7bab79c "src/KaxSemantic.cpp", line=line at entry=777,
    function=function at entry=0x7ffff7bac4e0 "virtual filepos_t libmatroska::KaxAudioPosition::RenderData(libebml::IOCallback&, bool, bool)") at assert.c:92
#3  0x00007ffff6fd7c82 in __GI___assert_fail (assertion=0x7ffff7baa012 "false", file=0x7ffff7bab79c "src/KaxSemantic.cpp",
    line=777,
    function=0x7ffff7bac4e0 "virtual filepos_t libmatroska::KaxAudioPosition::RenderData(libebml::IOCallback&, bool, bool)")
    at assert.c:101
#4  0x00007ffff7b98693 in libmatroska::KaxAudioPosition::RenderData(libebml::IOCallback&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libmatroska.so.6
#5  0x00007ffff791ca5c in libebml::EbmlElement::Render(libebml::IOCallback&, bool, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#6  0x00007ffff791f336 in libebml::EbmlMaster::RenderData(libebml::IOCallback&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#7  0x00007ffff791ca5c in libebml::EbmlElement::Render(libebml::IOCallback&, bool, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#8  0x00007ffff791f336 in libebml::EbmlMaster::RenderData(libebml::IOCallback&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#9  0x00007ffff791ca5c in libebml::EbmlElement::Render(libebml::IOCallback&, bool, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#10 0x00007ffff791f336 in libebml::EbmlMaster::RenderData(libebml::IOCallback&, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#11 0x00007ffff791ca5c in libebml::EbmlElement::Render(libebml::IOCallback&, bool, bool, bool) ()
   from /usr/lib/x86_64-linux-gnu/libebml.so.4
#12 0x0000000000405b76 in main (argc=1, argv=0x7fffffffe4e8) at test6.cpp:205

Here's the assert that's failing:

filepos_t KaxSliceBlockAddID::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) {
  assert(false); // no you are not allowed to use this element !
  return 0;
}

Also, I happened to notice that libav, VLC, and GStreamer all seem to be using their own EBML and matroska implementations - not libmatroska.  My purpose in trying to use libmatroska is to interleave timestamped video frames with a timestamped frames of a non-standard stream type.  So, is there a better example or an up-to-date tutorial of how I might use libmatroska to this end, or can someone recommend a better library for this purpose.


Thanks,
Matt


________________________________

This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of any information contained in it. If you have received this e-mail in error, please notify the sender immediately by e-mail and immediately destroy this e-mail and its attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20161223/c4115ffa/attachment.html>


More information about the Matroska-devel mailing list