After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587983 - [avidemux] assert format failed
[avidemux] assert format failed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal minor
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-07 15:01 UTC by Julien Isorce
Modified: 2009-07-16 11:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2009-07-07 15:01:58 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
Comment 1 Sebastian Dröge (slomo) 2009-07-09 05:15:46 UTC
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.
Comment 2 Edward Hervey 2009-07-13 07:40:32 UTC
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 ?
Comment 3 Sebastian Dröge (slomo) 2009-07-13 08:18:15 UTC
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 ;)
Comment 4 Edward Hervey 2009-07-16 11:15:16 UTC
sorry, misread the subject. We can close this indeed.