GNOME Bugzilla – Bug 587983
[avidemux] assert format failed
Last modified: 2009-07-16 11:15:16 UTC
--steps to reproduce: gst-launch-0.10 videotestsrc num_buffers=1 ! avimux ! avidemux ! fakesink --result: GStreamer-CRITICAL **: gst_segment_set_newsegment_full: assertion `segment->format == format' failed
commit 63115fe72cd58c43490bcda9ad9b9a287f81f5e1 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu Jul 9 07:14:23 2009 +0200 avi: Don't forward NEWSEGMENT events from upstream New ones are generated later and simply forwarding them can result in NEWSEGMENT events of different format going downstream. Fixes bug #587983.
Wouldn't another problem be in videotestsrc (and possibly audiotestsrc) ? The outputted video buffers are properly timestamped GstBuffers, sending out a BYTE newsegment seems wrong, shouldn't it send out a TIME newsegment ?
The problem is, that avimux outputs non-timestamped buffers and sends a NEWSEGMENT event in BYTES format. videotestsrc/audiotestsrc are doing everything right AFAIK (timestamps + TIMES format). It would be nice if avimux would output timestamped buffers, etc but IMHO that's not something required ;)
sorry, misread the subject. We can close this indeed.