Resampling audio from 88200 to 96000 samples per second
Nick
n.koi at usa.net
Fri Nov 23 12:33:24 PST 2012
Tim-Philipp Müller-2 wrote
> Sorry, what I actually meant was:
>
> Try: ... ! decodebin2 ! audioconvert ! audioresample !
> audio/x-raw-int,rate=96000 ! alsasink ...
Yes, the following command:
% gst-launch-0.10 filesrc location=Song.flac .flac ! decodebin2 !
audioconvert ! audioresample,quality=10 ! audio/x-raw-int,rate=96000 !
alsasink
correctly selects "Altset 2" at 96000 Hz. This resolves my issue. Thanks!!
PS: (In case someone in the future is having a similar issue), be advised
that I had to add the following to my /etc/asound.conf file:
"""
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
"""
... and then restart ALSA. I had no success with the ... !
alsasink,device="..." syntax.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Resampling-audio-from-88200-to-96000-samples-per-second-tp4657048p4657053.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list