[gst-devel] Got ERROR: pipeline doesn't want to preroll
axel lin
axel.lin at gmail.com
Fri Aug 15 04:49:11 CEST 2008
hi list,
I want to playback a Theora video file and output the audio to my
bluetooth headphone.
First, I try below command to playback an audio and output to
bluetooth headphone, it works.
$ gst-launch-0.10 -v filesrc location=ubuntu\ Sax.ogg ! oggdemux !
vorbisdec ! audioconvert ! audioresample ! alsasink device=bluetooth
Then, I playback the Theora video file and output audio to default
(wired) earphone, it works.
$ gst-launch-0.10 filesrc location=/home/ume/media/video/Experience\
ubuntu.ogg ! oggdemux name=d d. ! queue ! theoradec ! ffmpegcolorspace
! ximagesink d. ! queue ! vorbisdec ! audioconvert ! audioresample !
alsasink device=default
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 2968758593 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
However,I got below error messages when playback the Theora video file
and output to bluetooth headphone.
$ gst-launch-0.10 -v filesrc
location=/home/ume/media/video/Experience\ ubuntu.ogg ! oggdemux
name=d d. ! queue ! theoradec ! ffmpegcolorspace ! ximagesink d. !
queue ! vorbisdec ! audioconvert ! audioresample ! alsasink
device=bluetooth
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/queue0.sink: caps = video/x-theora
/pipeline0/queue0.src: caps = video/x-theora
/pipeline0/theoradec0.sink: caps = video/x-theora
/pipeline0/queue1.sink: caps = audio/x-vorbis
/pipeline0/queue1.src: caps = audio/x-vorbis
/pipeline0/vorbisdec0.sink: caps = audio/x-vorbis
/pipeline0/vorbisdec0.src: caps = audio/x-raw-float, rate=(int)22050,
channels=(int)2, endianness=(int)1234, width=(int)32
/pipeline0/theoradec0.src: caps = video/x-raw-yuv,
format=(fourcc)I420, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)1/1, width=(int)360, height=(int)288
/pipeline0/audioconvert0.src: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)22050, channels=(int)2
/pipeline0/audioconvert0.sink: caps = audio/x-raw-float,
rate=(int)22050, channels=(int)2, endianness=(int)1234, width=(int)32
/pipeline0/audioresample0.src: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)22050, channels=(int)2
/pipeline0/audioresample0.sink: caps = audio/x-raw-int,
endianness=(int)1234, signed=(boolean)true, width=(int)16,
depth=(int)16, rate=(int)22050, channels=(int)2
ERROR: from element /pipeline0/alsasink0: Could not get/set settings
from/on resource.
Additional debug info:
gstalsasink.c(507): set_hwparams (): /pipeline0/alsasink0:
Rate doesn't match (requested 22050Hz, get 0Hz)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/pipeline0/audioresample0.src: caps = NULL
/pipeline0/audioresample0.sink: caps = NULL
/pipeline0/ffmpegcsp0.src: caps = video/x-raw-rgb, bpp=(int)32,
depth=(int)24, endianness=(int)4321, red_mask=(int)65280,
green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)360,
height=(int)288, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)1/1
/pipeline0/ffmpegcsp0.sink: caps = video/x-raw-yuv,
format=(fourcc)I420, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)1/1, width=(int)360, height=(int)288
/pipeline0/ffmpegcsp0.src: caps = NULL
/pipeline0/ffmpegcsp0.sink: caps = NULL
/pipeline0/audioconvert0.src: caps = NULL
/pipeline0/audioconvert0.sink: caps = NULL
/pipeline0/theoradec0.src: caps = NULL
/pipeline0/theoradec0.sink: caps = NULL
/pipeline0/vorbisdec0.src: caps = NULL
/pipeline0/vorbisdec0.sink: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/queue1.src: caps = NULL
/pipeline0/queue1.sink: caps = NULL
/pipeline0/d.serial_1a122481: caps = NULL
/pipeline0/d.serial_0ce1be9e: caps = NULL
FREEING pipeline ...
Can someone help to fix this issue?
Below is the gstreamer version in my environment
$ dpkg -l |grep gst
ii gstreamer-dbus-media-service
0.1.17-upstream-0ubuntu1~804um1 Media service for Ubuntu
Mobile
ii gstreamer0.10-alsa 0.10.18-3
GStreamer plugin for ALSA
ii gstreamer0.10-ffmpeg 0.10.3-6
FFmpeg plugin for GStreamer
ii gstreamer0.10-gnomevfs 0.10.18-3
GStreamer plugin for GnomeVFS
ii gstreamer0.10-plugins-bad 0.10.6-5
GStreamer plugins from the "bad" set
ii gstreamer0.10-plugins-bad-multiverse 0.10.6-1
GStreamer plugins from the "bad" set (Multiv
ii gstreamer0.10-plugins-base 0.10.18-3
GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-farsight 0.12.5-2ubuntu1
plugins for Gstreamer for Audio/Video confer
ii gstreamer0.10-plugins-good 0.10.7-3ubuntu0.1
GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly 0.10.7-3ubuntu1
GStreamer plugins from the "ugly" set
ii gstreamer0.10-tools 0.10.18-4ubuntu1
Tools for use with GStreamer
ii gstreamer0.10-x 0.10.18-3
GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-base0.10-0 0.10.18-3
GStreamer libraries from the "base" set
ii libgstreamer0.10-0 0.10.18-4ubuntu1
Core GStreamer libraries and elements
ii libgstreamer0.10-0-dbg 0.10.18-4ubuntu1
Core GStreamer libraries and elements
ii python-gst0.10 0.10.11-1
generic media-playing framework (Python bind
Thanks for your help,
Axel
More information about the gstreamer-devel
mailing list