[gst-devel] GNonLin + jackaudiosink + Realtime = Strange problem
Mathis Hofer
mathis.hofer at dreamlab.net
Fri Nov 16 12:51:19 CET 2007
Hi folks
I have a problem with a GNonLin testcase (see attachement) that uses
jackaudiosink for output. You may get the complete tarball including the
audiofiles here: http://www.sendspace.com/file/lbwskh
The problem is as follows:
1. Using alsasink instead of jackaudiosink works fine.
2. Using jackaudiosink with jackd _not_ in realtime mode works fine.
3. Using jackaudiosink with jackd in realtime mode (i.e. 'jack -R ...'
with a large buffer, 2048, to not provoke any performance problems)
results in a problem:
the songs are only played for a few minutes, then it stops during
changing the song. There are no xruns nor does GStreamer get
disconnected by jackd. Also there is no error in the GStreamer debug
output (I use GST_DEBUG=3).
The end of the debug output is:
--------------------
0:07:16.071288000 8087 0x804b008 INFO GST_STATES
gstelement.c:2141:gst_element_continue_state:<internal-filesource>
posting state-changed READY to PAUSED
0:07:16.071331000 8087 0x804b008 INFO GST_STATES
gstbin.c:2058:gst_bin_change_state_func:<filesource_6_3> child
'internal-filesource' changed state to 3(PAUSED) successfully
0:07:16.071357000 8087 0x804b008 INFO GST_EVENT
gstevent.c:840:gst_event_new_seek: creating seek rate 1.000000, format
TIME, flags 11, start_type 2, start 0:05:00.435736941, stop_type 2, stop
0:05:13.173333312
0:07:15.980278000 8087 0x8242080 INFO riff
riff-read.c:483:gst_riff_parse_strf_auds:<wavparse107> strf tag found in
context auds:
0:07:16.071570000 8087 0x8242080 INFO riff
riff-read.c:484:gst_riff_parse_strf_auds:<wavparse107> format 1
0:07:16.071584000 8087 0x8242080 INFO riff
riff-read.c:485:gst_riff_parse_strf_auds:<wavparse107> channels 2
0:07:16.071597000 8087 0x8242080 INFO riff
riff-read.c:486:gst_riff_parse_strf_auds:<wavparse107> rate 44100
0:07:16.071609000 8087 0x8242080 INFO riff
riff-read.c:487:gst_riff_parse_strf_auds:<wavparse107> av_bps 176400
0:07:16.071621000 8087 0x8242080 INFO riff
riff-read.c:488:gst_riff_parse_strf_auds:<wavparse107> blockalign 4
0:07:16.071633000 8087 0x8242080 INFO riff
riff-read.c:489:gst_riff_parse_strf_auds:<wavparse107> size 16
0:07:16.071732000 8087 0x8242080 INFO GST_EVENT
gstevent.c:528:gst_event_new_new_segment_full: creating newsegment
update 0, rate 1.000000, form
at GST_FORMAT_TIME, start 0:00:00.000000000, stop 0:00:12.737596372,
position 0:00:00.000000000
0:07:16.071837000 8087 0x8242080 INFO GST_ELEMENT_PADS
gstelement.c:628:gst_element_add_pad:<wavparse107> adding pad 'src'
0:07:16.071952000 8087 0x8242080 INFO GST_PADS
gstpad.c:1759:gst_pad_link_prepare: trying to link wavparse107:src and
src0:proxypad216
0:07:16.071996000 8087 0x8242080 INFO GST_PADS
gstpad.c:1896:gst_pad_link: linked wavparse107:src and src0:proxypad216,
successful
0:07:16.072014000 8087 0x8242080 INFO GST_ELEMENT_PADS
gstelement.c:628:gst_element_add_pad:<internal-decodebin> adding pad 'src0'
--------------------
That's where it just "hangs" or better "stops".
I've been able to play a 30-minute audio file through GStreamer with the
same Jack realtime setting without a problem. But I just can't get the
GNonLin test to work with Jack in realtime mode...
I'd be very glad if someone could help me or give me hint how I could
debug this further. I'm getting out of ideas :-/
Regards,
Mathis
--
DreamLab Technologies AG
Monbijoustrasse 36
3011 Bern
Switzerland
Tel: +41 31 398 66 66
Fax: +41 31 398 66 69
PGP Key ID: 2462240B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnl_test.c
Type: text/x-csrc
Size: 6126 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071116/e06046bc/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071116/e06046bc/attachment.pgp>
More information about the gstreamer-devel
mailing list