[gstreamer-bugs] [Bug 606348] Gstreamer general stream error when using multiple tagged file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 3 09:46:47 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=606348
  GStreamer | don't know | unspecified

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |OBSOLETE
   Target Milestone|HEAD                        |NONE

--- Comment #9 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-03 16:46:39 UTC ---
> If I use the following pipeline:
> gst-launch-0.10 filesrc location=head.ogg ! decodebin2 ! audioconvert ! wavenc
> ! filesink location=test.wav
> 
> All I get is a wav the same size as the first ogg stream, and gstreamer is
> stalled.
> Is there something special needed to transcode these files in soundconverter ?

Well, it's a bit tricky if you do it like that. decodebin2 will create new pads
for the second chain and remove the old ones, so you would need to hook that up
to the encoding chain when that happens, possibly with an identity
single-segment=true in there as well.

Alternatively, try something like:

gst-launch-0.10 playbin2 uri=head.ogg audio-sink='identity single-segment=true
! wavenc ! filesink location=foo.wav'

which is abusing playbin2 a bit, but works just fine for me :)


Closing bug, since there's nothing left for us to do really, it needs to be
handled by the application if you want to support this.

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