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.
- Use xvidcap as Desktop-recorder / screen capture utility.
- Use 3ddesk as a fake 3d desktop switch utility.
- Use avimerge to merge multiple avi files into a single one (contained in the transcode package).
- Motiontrack to find differencies (e.g. if something has moved) between two pictures.
- How to convert "ts" (transport stream) files to othe formats:
- A nice site where to find subtitles for movies: http://www.moviesubtitles.org/
- Use ogmrip to convert DVDs to mkv-files.
- "feh" is a lightweight image viewer.
- Use dvbcut to cut and remux "ts" files to "mpg".
- To be able to recode to x264 or just backup some protected DVDs, use 1) dvdfab decrypter or CopyToDVD (from vso-software), then FixVTS, then Nero Recode or ogmrip or whatever.
- In order for a user (userA) to have access to the X display started by another user (userX), the user requesting access (userA) will have to set the variable XAUTHORITY to the path of the .Xauthority file of the user owning X (userX). In this case:
userA@computer ~ $ export XAUTHORITY=/userX/.Xauthority
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)
- Use podcatcher to download podcasts. Files which are being downloaded are stored in the /tmp/ directory.
- About Compiz-Fusion:
- Set up graphics drivers: http://en.gentoo-wiki.com/wiki/Graphics_drivers
- Radeon ATI graphics drivers: http://de.gentoo-wiki.com/wiki/Radeon
- Set up Compiz: http://en.gentoo-wiki.com/wiki/Compiz-Fusion
- When using Gnome, add to "System > Preferences > Startup Applications" an entry for "/usr/bin/compiz-manager". Other ways of setting it up with Gnome didn't work for me.