Ticket #851 (closed defect: fixed)

Opened 18 months ago

Last modified 16 months ago

pulsesink not playing

Reported by: LCID Fire Owned by: lennart
Milestone: Component: gst-pulse
Keywords: gst-launch pulseaudio pulsesink Cc:

Description

When I try to do e.g.
gst-launch -v pulsesrc ! pulsesink

It prints (while being totally mute):


Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-buffer-time = 23777210
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-latency-time = 115986
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock?
/GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: volume = 1.000000
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: mute = FALSE



padevchooser displays the input as recording - but the output as not playing (meter is not displaying anything).

Change History

Changed 18 months ago by coling

Works fine for me:

[colin@jimmy code (working)]$ gst-launch-0.10 -v pulsesrc ! pulsesink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-buffer-time = 23769977
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-latency-time = 7981
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
/GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: volume = 0.056476
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: mute = FALSE

<Sound Heard from Mic Here>

^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 7736497123 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...

Make sure you're using the latest gst and latest pulseaudio from stable-queue branch.

Changed 16 months ago by starT_T

star@ubuntu:~$ gst-launch-0.10 -v pulsesrc ! pulsesink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-buffer-time = 23760000
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0: actual-latency-time = 80000
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
/GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: volume = 1.000000
/GstPipeline:pipeline0/GstPulseSink:pulsesink0: mute = FALSE
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 56762866587 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstPulseSink:pulsesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstPulseSrc:pulsesrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
star@ubuntu:~$ pulseaudio --version
pulseaudio 0.9.21-63-gd3efa-dirty
star@ubuntu:~$ gst-launch-0.10 --version
gst-launch-0.10 version 0.10.28
GStreamer 0.10.28
https://launchpad.net/distros/ubuntu/+source/gstreamer0.10

works fine for me too

Changed 16 months ago by LCID Fire

Using the released versions in Ubuntu 10.10 it works for me again, too.

Changed 16 months ago by LCID Fire

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.