[Icecast] Camera MJPEG to Icecast
Bino Oetomo
bino at indoakses-online.com
Tue Nov 2 01:36:35 UTC 2010
Dear Leo
Leo Currie wrote:
> Not sure if you perhaps intended to obfuscate these for the purposes
> of email, but in ezstream you are using a different source password to
> oggfwd.
>
> - Leo
>
I do a recheck.
The streaming command is :
wget -nv http://root:root@192.168.10.234/mjpg/video.mjpg |
ffmpeg2theora -a 0 -f mjpeg -o /dev/stdout | ezstream -c ./matamerapi.xml
The streaming console said :
---START---
File `neric' does not exist or has an unknown data format.
ezstream: Connected to http://192.168.10.232:8000/matamerapi
ezstream: Streaming from standard input
---STOP----
My "merapi.xml" is :
---START---
<ezstream>
<url>http://192.168.10.232:8000/matamerapi</url>
<sourcepassword>bino262</sourcepassword>
<format>THEORA</format>
<filename>stdin</filename>
<stream_once>1</stream_once>
<svrinfoname>My Stream</svrinfoname>
<svrinfourl>http://www.oddsock.org</svrinfourl>
<svrinfogenre>Other</svrinfogenre>
<svrinfodescription>Mata Merapi</svrinfodescription>
<svrinfopublic>0</svrinfopublic>
</ezstream>
---STOP-----
The "mount" part of my Icecast2.xml is :
---START---
<mount>
<mount-name>/matamerapi</mount-name>
<password>bino262</password>
<max-listeners>10</max-listeners>
<dump-file>/tmp/dump-matamerapi</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<!--intro>/example_intro.ogg</intro-->
<hidden>0</hidden>
<no-yp>0</no-yp>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>
---STOP----
Still not work ...
The error log said
---START----
[2010-11-02 08:17:58] INFO connection/_handle_source_request Source
logging in at mountpoint "/matamerapi"
[2010-11-02 08:17:58] DBUG connection/connection_complete_source
sources count is 0
[2010-11-02 08:17:58] DBUG source/source_apply_mount Applying mount
information for "/matamerapi"
[2010-11-02 08:17:58] DBUG source/source_update_settings fallback
/example2.ogg
[2010-11-02 08:17:58] DBUG source/source_update_settings Dumping stream
to /tmp/dump-matamerapi
[2010-11-02 08:17:58] DBUG source/source_update_settings connect script
"/home/icecast/bin/stream-start"
[2010-11-02 08:17:58] DBUG source/source_update_settings disconnect
script "/home/icecast/bin/stream-stop"
[2010-11-02 08:17:58] DBUG source/source_update_settings public set to 0
[2010-11-02 08:17:58] DBUG source/source_update_settings max listeners
to 10
[2010-11-02 08:17:58] DBUG source/source_update_settings queue size to
524288
[2010-11-02 08:17:58] DBUG source/source_update_settings burst size to
65536
[2010-11-02 08:17:58] DBUG source/source_update_settings source timeout
to 10
[2010-11-02 08:17:58] DBUG source/source_update_settings
fallback_when_full to 1
[2010-11-02 08:17:58] DBUG connection/connection_complete_source source
is ready to start
[2010-11-02 08:17:58] DBUG fserve/fserve_add_client_callback Adding
client to file serving engine
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node clients (1)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
connections (15)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node sources (1)
[2010-11-02 08:17:59] DBUG stats/process_source_event new source stat
/matamerapi
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
listenurl (http://192.168.10.232:8000/matamerapi)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
listener_peak (0)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node public (0)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
server_name (My Stream)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
server_description (Mata Merapi)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
server_url (http://www.oddsock.org)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node genre
(Other)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
server_type (application/ogg)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
max_listeners (10)
[2010-11-02 08:17:59] DBUG source/source_init Source creation complete
[2010-11-02 08:17:59] DBUG source/source_run_script Starting command
/home/icecast/bin/stream-start
[2010-11-02 08:17:59] EROR source/source_run_script Unable to run
command /home/icecast/bin/stream-start (No such file or directory)
[2010-11-02 08:17:59] INFO source/get_next_buffer End of Stream /matamerapi
[2010-11-02 08:17:59] INFO source/source_main listener count on
/matamerapi now 0
[2010-11-02 08:17:59] INFO source/source_shutdown Source "/matamerapi"
exiting
[2010-11-02 08:17:59] DBUG source/source_run_script Starting command
/home/icecast/bin/stream-stop
[2010-11-02 08:17:59] EROR source/source_run_script Unable to run
command /home/icecast/bin/stream-stop (No such file or directory)
[2010-11-02 08:17:59] DBUG source/source_clear_source clearing source
"/matamerapi"
[2010-11-02 08:17:59] INFO source/source_clear_source Closing dumpfile
for /matamerapi
[2010-11-02 08:17:59] DBUG format-ogg/format_ogg_free_headers releasing
header pages
[2010-11-02 08:17:59] DBUG format-ogg/free_ogg_codecs freeing codecs
[2010-11-02 08:17:59] DBUG source/source_free_source freeing source
"/matamerapi"
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
source_ip (192.168.10.232)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
user_agent (libshout/2.2.2)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
source_client_connections (4)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
listeners (0)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
listenurl (http://192.168.10.232:8000/matamerapi)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
source_total_connections (4)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
slow_listeners (0)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
listeners (0)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
listener_peak (0)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
stream_start (Tue, 02 Nov 2010 08:17:59 +0700)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
total_bytes_read (0)
[2010-11-02 08:17:59] DBUG stats/process_source_event new node
total_bytes_sent (0)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node
listeners (0)
[2010-11-02 08:17:59] DBUG stats/process_source_event delete source
node /matamerapi
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node clients (0)
[2010-11-02 08:17:59] DBUG stats/modify_node_event update node sources (0)
[2010-11-02 08:17:59] WARN source/source_fallback_file unable to open
file "/usr/share/icecast2/web/example2.ogg"
[2010-11-02 08:17:59] WARN source/source_fallback_file unable to open
file "/usr/share/icecast2/web/example2.ogg"
[2010-11-02 08:17:59] WARN source/source_fallback_file unable to open
file "/usr/share/icecast2/web/example2.ogg"
[2010-11-02 08:18:54] DBUG slave/_slave_thread checking master stream list
---STOP-----
Sincerely
-bino-
More information about the Icecast
mailing list