Notes about Linux (Gentoo) - Graphics

(Or, back to main notes index)



  • vobcopy - Copy vobs from dvd to hd
  • xcdroast - Burn audio and data cd (and dvd)
  • Videos with pvr350 can be grabbed with "cat /dev/video0 > output.mpg" and can be played with "cat output.mpg > /dev/video16".
  • In order to transcode from 23.97 avi to 25 mpg (dvd) a video file use:
mencoder mymovie.avi -of mpeg -mpegopts format=mpeg2:telecine -oac lavc -ovc lavc -lavcopts acodec=mp3:vcodec=mpeg2video -ofps 25 -o mymovie.mpg
  • If you want to play it directly to the tvout modify it this way:
mencoder mymovie.avi -of mpeg -mpegopts format=mpeg2:telecine -oac copy -ovc lavc -lavcopts vcodec=mpeg2video -ofps 25 -o /dev/video16
  • Small program that sends audio output to the pvr350: pvr350player
  • After emerging nvidia-drivers run:
eselect opengl set nvidia
Additionally merge "media-video/nvidia-settings".
  • gifsicle command line:
gifsicle -D 2 -l -d 15 -t '#FFFFFF' arrow1.gif arrow2.gif arrow3.gif > arrowanim.gif
-t '#FFFFFF' tells the program to handle the color white as transparent.
-D 2 tells to use the background when the transparent part of the image is drawn.
-l tells to loop, and as there is no number specified, it loops forever.
-d 15 tells to wait 15 hundreds of seconds between the different frames.
  • Programs used to setup the modeline in linux:
xvidtune: try out different settings.
read-edid: tries to read the EDID informations in the monitor itself.
The .Xauthority file is re-created each time X is started! Therefore put some kind of e.g. chmod 704 /userX/.Xauthority in your X-start file (e.g. /etc/X11/Sessions/enlightenment)