xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


projects:nogold

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
projects:nogold [2011/12/13 16:07] 81.240.75.56projects:nogold [2013/08/19 16:32] – [Ubuntu bugs and other things] Julien Deswaef
Line 1: Line 1:
 ===== Nogold ===== ===== Nogold =====
 +
 +==== Streaming server ====
 +Gstreamer + Icecast2
 +
 +Stream a Xwindow into an Icecast server:
 +<code=bash>gst-launch ximagesrc ! videoscale ! video/x-raw-rgb,width=720,height=576 ! \
 +    ffmpegcolorspace ! theoraenc quality=16 ! oggmux ! \
 +    shout2send ip=localhost port=8000 password=hackme mount=test.ogg</code>
 +Theoraenc quality goes from 0 (bad) to 63 (excellent).
 +
 +Stream a Fluxus window to icecast:
 +<code=bash>gst-launch ximagesrc xname="fluxus scratchpad 0.18" ! \
 +    ffmpegcolorspace ! theoraenc quality=16 ! oggmux ! \
 +    shout2send ip=localhost port=8000 password=hackme mount=test.ogg</code>
 +    
 +Stream from a video capture card to icecast:
 +<code=bash>gst-launch v4l2src ! videoscale ! video/x-raw-yuv,width=768,height=576 ! \
 +    ffmpegcolorspace ! theoraenc quality=16 ! oggmux ! \
 +    shout2send ip=localhost port=8000 password=hackme mount=test.ogg</code>
 +    
 +    
 +Launch VLC with no interface, fullscreen, without OnScreenDisplay and cropped (left+top+right+bottom)
 +<code=bash>cvlc -f --no-osd --crop 0+2+400+300 http://localhost:8000/test.ogg</code>
 +    
 +==== Ubuntu bugs and other things ====
 +=== White screen on second, third and fourth monitor ===
 +
 +Especially with multiple sessions of Xwindow and Xinerama **disabled**.\\ 
 +BUG: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/885989 \\
 +Nautilus is buggy. Replaced with Thunar.
 +
 +:!: Removing Nautilus from a clean Ubuntu will remove gnome-session and break the desktop. You don't want that. To keep a working gnome-session, I added the gnome3 ppa before removing nautilus. Which actually updated gnome-session in the process.
 +<code=bash>sudo add-apt-repository ppa:gnome3-team/gnome3</code>
 +
 +And to get something like DISPLAY:=0.1 in the command line, you need to bee in Unity2D. Geez.
 + 
 +
 +
 +
 +
 +==== Combat Naval ====
 +
  
   * [[https://fr.wikipedia.org/wiki/Bataille_navale_%28jeu%29|Combat naval]]   * [[https://fr.wikipedia.org/wiki/Bataille_navale_%28jeu%29|Combat naval]]
projects/nogold.txt · Last modified: 2013/09/03 15:17 by Julien Deswaef