[Bug 736190] New: avidemux output invalid pts

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Sep 6 07:41:24 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736190
  GStreamer | gst-plugins-good | 1.x

           Summary: avidemux output invalid pts
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lists at svrinformatica.it
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


please try this pipeline:

gst-launch-1.0 videotestsrc num-buffers=1000 ! avenc_mpeg4 ! avimux ! filesink
location=/tmp/test.avi

and then:

gst-launch-1.0 filesrc location= /tmp/test.avi ! avidemux ! matroskamux !
filesink location=/tmp/test.mkv

test.mkv is much smaller than test.avi

matroskamux drop a lot of buffers with warnings like this:

matroskamux
matroska-mux.c:3268:gst_matroska_mux_write_data:<matroskamux0:video_0> Invalid
buffer timestamp; dropping buffer

if you try:

gst-launch-1.0 -v filesrc location= /tmp/test.avi ! avidemux ! fakesink
silent=false

you can see that avidemux output buffers with dts not none and pts none, for
example:

/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (3836 bytes, dts: 0:00:33.000000000, pts: 0:00:33.000000000,
duration: 0:00:00.033333333, offset: 990, offset_end: 991, flags: 00000000 )
0x7f5958003560
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1467 bytes, dts: 0:00:33.033333333, pts: none, duration:
0:00:00.033333333, offset: 991, offset_end: 992, flags: 00002000 delta-unit )
0x7f5958003340
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1349 bytes, dts: 0:00:33.066666666, pts: none, duration:
0:00:00.033333334, offset: 992, offset_end: 993, flags: 00002000 delta-unit )
0x7f5958003450
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1394 bytes, dts: 0:00:33.100000000, pts: none, duration:
0:00:00.033333333, offset: 993, offset_end: 994, flags: 00002000 delta-unit )
0x7f5958003010
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1387 bytes, dts: 0:00:33.133333333, pts: none, duration:
0:00:00.033333333, offset: 994, offset_end: 995, flags: 00002000 delta-unit )
0x7f5958003120
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1376 bytes, dts: 0:00:33.166666666, pts: none, duration:
0:00:00.033333334, offset: 995, offset_end: 996, flags: 00002000 delta-unit )
0x7f5958003230
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1396 bytes, dts: 0:00:33.200000000, pts: none, duration:
0:00:00.033333333, offset: 996, offset_end: 997, flags: 00002000 delta-unit )
0x7f5958003120
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (1375 bytes, dts: 0:00:33.233333333, pts: none, duration:
0:00:00.033333333, offset: 997, offset_end: 998, flags: 00002000 delta-unit )
0x7f5958003010

I can reproduce the same issue with generic avi files

tested with 1.4 and git master, 

this is a regression, 0.10 works fine

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list