Bug 714963 - 'Voice, lossless' pipeline gives error
Summary: 'Voice, lossless' pipeline gives error
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: libgnome-media-profiles
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yanko Kaneti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-21 12:57 UTC by Michael Schwendt
Modified: 2011-06-21 15:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 15:51:03 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.