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
projects:nogold [2011/11/18 16:44] 79.132.232.142projects:nogold [2013/09/03 15:17] (current) – [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.
 +
 +=== Cropping source videos ===
 +Since Noemie has done some editing to the videos. She has brought letterboxed videos to display. And since we wanted the image to be fullscreen. I cropped the video using FFMpeg:
 +
 +
 +<code=bash>ffmpeg -i input.dvd -vf "cropdetect=24:16:0" dummy.mpeg
 +</code>
 +
 +detects where the cropping should happend. I could make calculations myself, but it was more fun to have it done by FFMpeg. 
 +
 +<code=bash>ffmpeg -i input.dvd -vf "crop=720:432:0:72" -sameq -an cropped.dvd</code> 
 +
 +Crops the video while keeping the quality the same, though removing the unecessary audio.
 +
 +
 +
 +
 +==== Combat Naval ====
 +
  
   * [[https://fr.wikipedia.org/wiki/Bataille_navale_%28jeu%29|Combat naval]]   * [[https://fr.wikipedia.org/wiki/Bataille_navale_%28jeu%29|Combat naval]]
Line 9: Line 63:
   * Décryptage (cryptologie) [[https://fr.wikipedia.org/wiki/Grille_de_Cardan| Grille de Cardan]]   * Décryptage (cryptologie) [[https://fr.wikipedia.org/wiki/Grille_de_Cardan| Grille de Cardan]]
   * [[https://fr.wikipedia.org/wiki/Grille_de_calcul| Grille de calcul]] (informatique)   * [[https://fr.wikipedia.org/wiki/Grille_de_calcul| Grille de calcul]] (informatique)
 +
 +==== Grille Nogold ====
 +
 +  * ne bouge pas
 +  * se transforme
 +  * continue - discontinue
 +  * vide -plein
 +  * qqch circule
 +  * changement de couleur
 +  * pulsation colorée
 +  * disparition - appariton
 +  * pointillé - épaisseur ligne
  
projects/nogold.1321631059.txt.gz · Last modified: 2011/11/18 16:44 by 79.132.232.142