[Bug 682959] FLAC decoding & conversion issue: gst-launch. vs. API

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 29 09:48:22 PDT 2012


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

--- Comment #1 from Bastian <bastian at rvzt.net> 2012-08-29 16:48:17 UTC ---
Attachment was too big (100 MB), here is a link instead:
http://rvzt.net/Temp/682959testfiles.zip

I was helped over at the Sound Converter debugger and have found out what
command Sound Converter sends in order to convert the FLAC file to OGG. This
was what I found:

"giosrc location="file:///tmp/test.flac" name=src ! decodebin name=decoder !
audiorate ! audioresample ! audioconvert ! vorbisenc quality=0.6 ! oggmux  !
giosink location="file:///tmp/test.ogg""

The above commandline will create a truncated OGG file. After some experiments
I got a working gst-launch pipeline which produces the same truncated OGG file.

"gst-launch-0.10 filesrc location=/tmp/test.flac ! decodebin name=decoder !
audiorate ! audioresample ! audioconvert ! vorbisenc quality=0.6 ! oggmux !
filesink location=/tmp/test.ogg"

More experiments showed that the issue is related to "decodebin name=decoder".
When "flacdec" is used instead of that, the resulting OGG file is fine.

I have yet to figure out what command Exaile or Totem uses to decode the FLAC
file.

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