Bug 714963

Summary: 'Voice, lossless' pipeline gives error
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: libgnome-media-profilesAssignee: Yanko Kaneti <yaneti>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bnocera, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-21 15:51:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Schwendt 2011-06-21 12:57:56 UTC
The "Voice, lossless" GNOME Audio Profile specifies the following GStreamer Pipeline parameters: audio/x-raw-int,rate=22050,channels=1

However, the rate=22050 causes this:

$ gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! audio/x-raw-int,rate=22050,channels=1 ! wavenc ! filesink location=test.wav
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0: Internal data stream error.
Additional debug info:
gstoggdemux.c(3474): gst_ogg_demux_loop (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstOggDemux:oggdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Whereas the default (or rate=44100) works:

$ gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! audio/x-raw-int,rate=44100,channels=1 ! wavenc ! filesink location=test.wav
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 1378246066 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

The channels= and width= parameters work. The rate= parameter only takes 44100 Hz. Values like 22050, 11025, 8000, 48000 all fail.

Comment 1 Michael Schwendt 2011-06-21 15:51:03 UTC
Seems to be a limitation of how several GStreamer decoders can be used with these default profiles. "Voice, lossless" may be appropriate only for recording, but not for converting.