[Bug 699804] New: wavparse: Messing up timestamps with ADPCM

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 7 00:58:10 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=699804
  GStreamer | gst-plugins-base | git

           Summary: wavparse: Messing up timestamps with ADPCM
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697955

http://adi.loris.tv/broken.wav is a WAV file with adpcm. adpcmdec uses
GstAudioDecoder and does not do anything with timestamps, but the timestamps
end up being bogus in the end. From the log below this seems to be caused by
wavparse calculating wrong duration and thus putting wrong timestamps on the
buffers

gst-launch-1.0 filesrc location=broken.wav ! wavparse ! identity silent=false !
adpcmdec ! fakesink silent=false -v

/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   *******
(identity0:sink) (6144 bytes, dts: none, pts
:0:00:01.462857143, duration: 0:00:00.034829932, offset: 126, offset_end:  129,
flags: 00000000 ) 0x7f1754003440
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts
: 0:00:01.462857143, duration: 0:00:00.046167800, offset: -1, offset_end: -1,
flags: 00000000 ) 0x7f1754003110
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts
: 0:00:01.509024943, duration: 0:00:00.046167801, offset: -1, offset_end: -1,
flags: 00000000 ) 0x7f1754003220
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts: 0:00:01.555192744, duration:
0:00:00.046167800, offset: -1, offset_end: -1, flags: 00000000 ) 0x7f1754003440
/GstPipeline:pipeline0/GstIdentity:identity0: last-message = chain   *******
(identity0:sink) (6144 bytes, dts: none, pts:0:00:01.497687075, duration:
0:00:00.034829932, offset: 129, offset_end:  132, flags: 00000000 )
0x7f1754003110
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts: 0:00:01.497687075, duration:
0:00:00.046167800, offset: -1, offset_end: -1, flags: 00000000 ) 0x7f1754003220
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts: 0:00:01.543854875, duration:
0:00:00.046167801, offset: -1, offset_end: -1, flags: 00000000 ) 0x7f1754003440
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   *******
(fakesink0:sink) (8144 bytes, dts: none, pts: 0:00:01.590022676, duration:
0:00:00.046167800, offset: -1, offset_end: -1, flags: 00000000 ) 0x7f1754003110

-- 
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