View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Fri Dec 22, 2006 1:46 am Post subject: Live video screencasting |
|
|
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
|
Posted: Sat Dec 23, 2006 11:06 am Post subject: |
|
|
hi
i am doing some tests for now with the following tool and the first ones where successful
http://theorur.tvlivre.org/
this is a very nice solution which integrates all recent standards for theora i think
grtz _________________ ::bbk::
http://audioasyl.net |
|
Back to top |
|
|
chaz6
Joined: 20 Feb 2009 Posts: 4
|
Posted: Sun Jun 07, 2009 11:02 am Post subject: |
|
|
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 |
|
|
srroom
Joined: 02 Dec 2011 Posts: 1 Location: Romania
|
Posted: Thu Dec 08, 2011 1:27 pm Post subject: |
|
|
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 |
|
|
macbroadcast
Joined: 09 Apr 2012 Posts: 6
|
|
Back to top |
|
|
|