Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Live video screencasting

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri Dec 22, 2006 1:46 am    Post subject: Live video screencasting Reply with quote

Problem: Gstreamer shout2send/icecast not working

It really shouldn't be that hard...but of course it is.

http://live.gnome.org/Istanbul sounds good but doesn't actually support streaming. In the source there's a comment about an icecast pipe but nothing else.

Pipeline (I'm not sure why istanbul has it's own version of ximagesrc but since it actually seems to work for saving files I figured I would continue to use it):
Code:
gst-launch istximagesrc name=videosource ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=960,height=720,framerate=10/1 ! theoraenc ! oggmux name=mux ! shout2send password=donthackme mount=desktop.ogg


Which produces some stdout before exiting:
Code:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock


Icecast just hangs...(?) until I restart it. Error.log:
Code:
[2006-12-22  00:50:32] INFO connection/_handle_source_request Source logging in at mountpoint "/desktop.ogg"
[2006-12-22  00:50:32] DBUG connection/connection_complete_source sources count is 0
[2006-12-22  00:50:32] DBUG source/source_apply_mount Applying mount information for "/desktop.ogg"
[2006-12-22  00:50:32] DBUG source/source_update_settings public set to 0
[2006-12-22  00:50:32] DBUG source/source_update_settings max listeners to -1
[2006-12-22  00:50:32] DBUG source/source_update_settings queue size to 524288
[2006-12-22  00:50:32] DBUG source/source_update_settings burst size to 65535
[2006-12-22  00:50:32] DBUG source/source_update_settings source timeout to 10
[2006-12-22  00:50:32] DBUG source/source_update_settings fallback_when_full to 0
[2006-12-22  00:50:32] DBUG connection/connection_complete_source source is ready to start
[2006-12-22  00:50:32] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2006-12-22  00:50:32] DBUG source/source_init Source creation complete
[2006-12-22  00:50:32] DBUG format-vorbis/initial_vorbis_page checking for vorbis codec
[2006-12-22  00:50:32] DBUG format-theora/initial_theora_page checking for theora codec
[2006-12-22  00:50:32] INFO format-theora/initial_theora_page seen initial theora header
[2006-12-22  00:50:32] DBUG format-ogg/format_ogg_attach_header attaching BOS page


Packages from debian/unstable (icecast 2.3.1/gstreamer0.10).

Since filesink manages to create playable oggs, something must be amiss with the shout2send plugin or icecast.

If there's a better way to stream live capture, I'd love to hear it.
Back to top
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Sat Dec 23, 2006 11:06 am    Post subject: Reply with quote

hi

i am doing some tests for now with the following tool and the first ones where successful Wink

http://theorur.tvlivre.org/

this is a very nice solution which integrates all recent standards for theora i think Smile

grtz
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
chaz6



Joined: 20 Feb 2009
Posts: 4

PostPosted: Sun Jun 07, 2009 11:02 am    Post subject: Reply with quote

The following worked fine for me:-

Code:
$ gst-launch ximagesrc startx=0 starty=0 endx=240 endy=160 ! ffmpegcolorspace ! videorate ! videoscale ! video/x-raw-yuv,width=320,height=240 ! theoraenc ! oggmux ! shout2send ip=::1 password=hackme mount=stream streamname=Test description="Screencast"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Back to top
View user's profile Send private message MSN Messenger
srroom



Joined: 02 Dec 2011
Posts: 1
Location: Romania

PostPosted: Thu Dec 08, 2011 1:27 pm    Post subject: Reply with quote

chaz6 wrote:
The following worked fine for me:-

Code:
$ gst-launch ximagesrc startx=0 starty=0 endx=240 endy=160 ! ffmpegcolorspace ! videorate ! videoscale ! video/x-raw-yuv,width=320,height=240 ! theoraenc ! oggmux ! shout2send ip=::1 password=hackme mount=stream streamname=Test description="Screencast"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock


Hi, I can confirm that this works for me as well.
Thanks!
Back to top
View user's profile Send private message
macbroadcast



Joined: 09 Apr 2012
Posts: 6

PostPosted: Fri Jan 10, 2014 1:04 pm    Post subject: Reply with quote

hey folks,

I am running #icecast on my ubuntu server, but i have a dual boot windows 7 /ubuntu desktop, this seems mandatory


http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows

or is it better to install on ubuntu ?


Thanks Very Happy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber