[PD] can't get theonice~ to work...

B. Bogart ben at ekran.org
Thu Dec 1 19:55:40 CET 2005


Hi Yves and all,

I'm trying to stream audio/video out of pdp_theonice~ without much luck.
Starting with just audio.

I have icecast2.3 installed and working with libtheora-alpha4.
I have pidip 0.12.18-2 from pd-pidip-caedes.

I can connect to the local icecast server fine, PD starting encoding:

pdp_theonice~ : connecting to http://localhost:8000/theora.pdp_theonice~ :
connecting to http://localhost:8000/theora.ogg
pdp_theonice~ : connection thread -1248015440 launched
pdp_theonice~: connecting to port 8000
pdp_theonice~: logged in to localhost
pdp_theonice~: connecting child -1248015440 exiting....
pdp_theonice~ : initializing encoder...
pdp_theonice~ : encoder initialized.
pdp_theonice~ : writing headers...
pdp_theonice~ : start streaming at 7 frames/second
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio bufferogg
pdp_theonice~ : connection thread -1248015440 launched
pdp_theonice~: connecting to port 8000
pdp_theonice~: logged in to localhost
pdp_theonice~: connecting child -1248015440 exiting....
pdp_theonice~ : initializing encoder...
pdp_theonice~ : encoder initialized.
pdp_theonice~ : writing headers...
pdp_theonice~ : start streaming at 7 frames/secondpdp_theonice~ :
connecting to http://localhost:8000/theora.ogg
pdp_theonice~ : connection thread -1248015440 launched
pdp_theonice~: connecting to port 8000
pdp_theonice~: logged in to localhost
pdp_theonice~: connecting child -1248015440 exiting....
pdp_theonice~ : initializing encoder...
pdp_theonice~ : encoder initialized.
pdp_theonice~ : writing headers...
pdp_theonice~ : start streaming at 7 frames/second
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer
pdp_theonice~ : reaching end of audio buffer

but after a few seconds the icecast server stops seeing that mount-point
(even though theonice still thinking its encoding and sending)

I've been unable to connect any clients to the stream in those few seconds.

Here is what the icecast2 error log says after connecting with theonice~.
(I'm going to try with oggfwd and [oggcast~] now. Oh and I've had no
trouble streaming audio directly from ices2.)

Thanks for any tips...

..b.

[2005-12-01  13:45:13] INFO source/get_next_buffer End of Stream /theora.ogg
[2005-12-01  13:45:13] INFO source/source_shutdown Source "/theora.ogg"
exiting
[2005-12-01  13:45:13] DBUG source/source_clear_source clearing source
"/theora.ogg"
[2005-12-01  13:45:13] DBUG format-ogg/format_ogg_free_headers releasing
header pages
[2005-12-01  13:45:13] DBUG format-ogg/free_ogg_codecs freeing codecs
[2005-12-01  13:45:13] DBUG format-vorbis/vorbis_codec_free freeing vorbis
codec
[2005-12-01  13:45:13] DBUG format-theora/theora_codec_free freeing theora
codec
[2005-12-01  13:45:13] DBUG source/source_free_source freeing source
"/theora.ogg"
[2005-12-01  13:45:13] DBUG stats/modify_node_event update node
total_bytes_read (7780)
[2005-12-01  13:45:13] DBUG stats/modify_node_event update node
total_bytes_sent (0)
[2005-12-01  13:45:13] DBUG stats/process_source_event new node artist
(Recuerdos De Luchas)
[2005-12-01  13:45:13] DBUG stats/process_source_event new node title (The
Aesthetics Of Our Anger)
[2005-12-01  13:45:13] DBUG stats/process_source_event new node subtype
(Vorbis/Theora)
[2005-12-01  13:45:13] DBUG stats/process_source_event delete source node
/theora.ogg
[2005-12-01  13:45:13] DBUG stats/modify_node_event update node clients (0)
[2005-12-01  13:45:13] DBUG stats/modify_node_event update node sources (0)
[2005-12-01  13:45:14] INFO connection/_handle_source_request Source
logging in at mountpoint "/theora.ogg"
[2005-12-01  13:45:14] DBUG connection/connection_complete_source sources
count is 0
[2005-12-01  13:45:14] DBUG source/source_apply_mount Applying mount
information for "/theora.ogg"
[2005-12-01  13:45:14] DBUG source/source_apply_mount YP changed to 1
[2005-12-01  13:45:14] DBUG source/source_update_settings public set to 1
[2005-12-01  13:45:14] DBUG source/source_update_settings max listeners to -1
[2005-12-01  13:45:14] DBUG source/source_update_settings queue size to
524288
[2005-12-01  13:45:14] DBUG source/source_update_settings burst size to 65535
[2005-12-01  13:45:14] DBUG source/source_update_settings source timeout
to 10
[2005-12-01  13:45:14] DBUG source/source_update_settings
fallback_when_full to 0
[2005-12-01  13:45:14] DBUG connection/connection_complete_source source
is ready to start
[2005-12-01  13:45:14] DBUG fserve/fserve_add_client_callback Adding
client to file serving engine
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node clients (1)
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node
connections (110)
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node sources (1)
[2005-12-01  13:45:14] DBUG stats/process_source_event new source stat
/theora.ogg
[2005-12-01  13:45:14] DBUG stats/process_source_event new node public (1)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
server_name (The Aesthetics Of Our Anger)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
server_description (Images From Infowar)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node server_url
(http://localhost:8000/theora.ogg)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node genre
(angrrry)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
server_type (application/ogg)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
max_listeners (unlimited)
[2005-12-01  13:45:14] DBUG source/source_init Source creation complete
[2005-12-01  13:45:14] DBUG format-vorbis/initial_vorbis_page checking for
vorbis codec
[2005-12-01  13:45:14] DBUG format-theora/initial_theora_page checking for
theora codec
[2005-12-01  13:45:14] INFO format-theora/initial_theora_page seen initial
theora header
[2005-12-01  13:45:14] DBUG format-ogg/format_ogg_attach_header attaching
BOS page
[2005-12-01  13:45:14] DBUG format-vorbis/initial_vorbis_page checking for
vorbis codec
[2005-12-01  13:45:14] INFO format-vorbis/initial_vorbis_page seen initial
vorbis header
[2005-12-01  13:45:14] DBUG format-ogg/format_ogg_attach_header attaching
header page
[2005-12-01  13:45:14] DBUG format-vorbis/process_vorbis_page processing
incoming header packet (1)
[2005-12-01  13:45:14] DBUG format-vorbis/process_vorbis_page processing
incoming header packet (2)
[2005-12-01  13:45:14] DBUG format-ogg/format_ogg_attach_header attaching
header page
[2005-12-01  13:45:14] DBUG format-vorbis/process_vorbis_page processing
incoming header packet (2)
[2005-12-01  13:45:14] DBUG format-vorbis/process_vorbis_page we have the
header packets now
[2005-12-01  13:45:14] DBUG format-ogg/format_ogg_attach_header attaching
BOS page
[2005-12-01  13:45:14] DBUG format-ogg/format_ogg_attach_header attaching
header page
[2005-12-01  13:45:14] DBUG stats/process_source_event new node source_ip
(127.0.0.1)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node user_agent
(pdp_theonice~)
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node
source_client_connections (6)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node listeners (0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node bitrate (32)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node audio_info
(bitrate=32)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node listenurl
(http://localhost:8000/theora.ogg)
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node
source_total_connections (6)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
slow_listeners (0)
[2005-12-01  13:45:14] DBUG stats/modify_node_event update node listeners (0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
listener_peak (0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
stream_start (Thu, 01 Dec 2005 13:45:14 -0500)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
total_bytes_read (0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
total_bytes_sent (0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
video_bitrate (48)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
video_quality (2)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node frame_size
(0 x 0)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node frame_rate
(7.00)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
audio_samplerate (44100)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
audio_channels (2)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
audio_bitrate (160000)
[2005-12-01  13:45:14] DBUG stats/process_source_event new node
ice-bitrate (160)
[2005-12-01  13:45:19] DBUG stats/modify_node_event update node
total_bytes_read (7780)
[2005-12-01  13:45:19] DBUG stats/modify_node_event update node
total_bytes_sent (0)
[2005-12-01  13:45:24] DBUG stats/modify_node_event update node
total_bytes_read (7780)
[2005-12-01  13:45:24] DBUG stats/modify_node_event update node
total_bytes_sent (0)
[2005-12-01  13:45:25] DBUG source/get_next_buffer last 1133462714,
timeout 10, now 1133462725
[2005-12-01  13:45:25] WARN source/get_next_buffer Disconnecting source
due to socket timeout
[2005-12-01  13:45:25] INFO source/source_shutdown Source "/theora.ogg"
exiting
[2005-12-01  13:45:25] DBUG source/source_clear_source clearing source
"/theora.ogg"
[2005-12-01  13:45:25] DBUG format-ogg/format_ogg_free_headers releasing
header pages
[2005-12-01  13:45:25] DBUG format-ogg/free_ogg_codecs freeing codecs
[2005-12-01  13:45:25] DBUG format-vorbis/vorbis_codec_free freeing vorbis
codec
[2005-12-01  13:45:25] DBUG format-theora/theora_codec_free freeing theora
codec
[2005-12-01  13:45:25] DBUG source/source_free_source freeing source
"/theora.ogg"
[2005-12-01  13:45:25] DBUG stats/process_source_event delete source node
/theora.ogg
[2005-12-01  13:45:25] DBUG stats/modify_node_event update node clients (0)
[2005-12-01  13:45:25] DBUG stats/modify_node_event update node sources (0)
[2005-12-01  13:46:08] DBUG slave/_slave_thread checking master stream list
[2005-12-01  13:48:08] DBUG slave/_slave_thread checking master stream list
[2005-12-01  13:50:08] DBUG slave/_slave_thread checking master stream list
[2005-12-01  13:52:08] DBUG slave/_slave_thread checking master stream list








More information about the Pd-list mailing list