[Bug 740422] New: [REGRESSION] vorbisenc: Nothing encoded in some transcoding cases

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 20 03:55:18 PST 2014


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

           Summary: [REGRESSION] vorbisenc: Nothing encoded in some
                    transcoding cases
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tsaunier at gnome.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Steps to reproduce:

$ gst-validate-launcher --sync -t
validate.file.transcode.to_vorbis_and_theora_in_ogg.GH1_00094_1920x1280_MTS

That leads to a "Result: Failed (Could not discover encoded file
file:///home/thiblahute/gst-validate/rendered/validate/file/to_vorbis_and_theora_in_ogg/GH1_00094_1920x1280_MTS)",
meaning that the  resulting file has issues. You can find that resulting file
in:

$HOME/gst-validate/rendered/validate/file/to_vorbis_and_theora_in_ogg/GH1_00094_1920x1280_MTS

but that file is 'corrupted', playing it back with:

$ gst-launch-1.0 playbin
uri=file:///$HOME/gst-validate/rendered/validate/file/to_vorbis_and_theora_in_ogg/GH1_00094_1920x1280_MTS

leads to:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec0:
No valid frames decoded before end of stream
Additional debug info:
gstaudiodecoder.c(2087): gst_audio_decoder_sink_eventfunc ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec0:
no valid frames found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


The faulty commit is:

commit a16cd5d2a5cbdf084163ead68b59d537d7db99f7
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu Jun 5 14:50:15 2014 +0100

    vorbisenc: push an updated segment stop time when we know it

    When encoding, libvorbis will tell us how many samples are encoded
    in the buffer it returns. This number may be less than the maximum
    of samples in the block, if this is the last packet. In we have no
    segment end time, we set it to the end time of that last sample to
    tell downstream that the buffer contains less samples.

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