Handy Linux Commands
Convert flv files to mpeg:
ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 test.mpg
Dump a rtsp file
mplayer -noframedrop -dumpfile out.rm -dumpstream rtsp://url/to/file.rm
Stream and Dump a asx file
mplayer -playlist (http url of stream.asx) -dumpaudio -dumpfile dump.wav
from http://gentoo-wiki.com/TIP_MEncoder_Tips_and_Tricks
View PowerPoint File
java -jar tonicpoint.jar (within this app you can view powerpoint files)
from: http://tonicsystems.com/products/viewer/help
2. cdrecord -multi -v speed=4 dev=ATAPI:0,1,0 -data kdebk
(MUST BE LOGGED IN AS ROOT TO DO THIS)
#get the latest ending sectors on disk
cdrecord dev=ATAPI:0,1,0 -msinfo
#use mkisofs to create the file (called cruisbk)
mkisofs -r -o cruisebk -C 0,11756 -dev=ATAPI:1,0 ./Cruise98/ OR
mkisofs -r -o desbk -C 51664,66026 -dev=ATAPI:1,0 /home/shelton/ms
#execute cdrecord to burn the files (MUST BE LOGGED IN AS ROOT TO DO THIS?)
cdrecord dev=ATAPI:0,1,0 -multi cruisebk
DVDs - to burn mulitsession
AS LOCAL USER NOT ROOT: (the -r is a mkisofs switch to nullify all groups and owner permissions so that it can be mounted and accessed on any other users machine)
NOTE: DO NOT MOUNT THE DVD BEFORE BURING - IT IS NOT NEEDED!
1. growisofs -dry-run -r -Z /dev/dvd -R -J /mnt/gentoo_ORIG/home/
growisofs -r -Z /dev/dvd -R -J /mnt/gentoo_ORIG/home/
to continue MULTISESSION DVD:
2. growisofs -r -M /dev/cdroms/cdrom0 -R -J /home/shelton/employment/
ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320x240 test.mpg
Dump a rtsp file
mplayer -noframedrop -dumpfile out.rm -dumpstream rtsp://url/to/file.rm
Stream and Dump a asx file
mplayer -playlist (http url of stream.asx) -dumpaudio -dumpfile dump.wav
from http://gentoo-wiki.com/TIP_MEncoder_Tips_and_Tricks
View PowerPoint File
java -jar tonicpoint.jar (within this app you can view powerpoint files)
from: http://tonicsystems.com/products/viewer/help
- To Start a NEW multisession CD
2. cdrecord -multi -v speed=4 dev=ATAPI:0,1,0 -data kdebk
(MUST BE LOGGED IN AS ROOT TO DO THIS)
#get the latest ending sectors on disk
cdrecord dev=ATAPI:0,1,0 -msinfo
#use mkisofs to create the file (called cruisbk)
mkisofs -r -o cruisebk -C 0,11756 -dev=ATAPI:1,0 ./Cruise98/ OR
mkisofs -r -o desbk -C 51664,66026 -dev=ATAPI:1,0 /home/shelton/ms
#execute cdrecord to burn the files (MUST BE LOGGED IN AS ROOT TO DO THIS?)
cdrecord dev=ATAPI:0,1,0 -multi cruisebk
DVDs - to burn mulitsession
AS LOCAL USER NOT ROOT: (the -r is a mkisofs switch to nullify all groups and owner permissions so that it can be mounted and accessed on any other users machine)
NOTE: DO NOT MOUNT THE DVD BEFORE BURING - IT IS NOT NEEDED!
1. growisofs -dry-run -r -Z /dev/dvd -R -J /mnt/gentoo_ORIG/home/
growisofs -r -Z /dev/dvd -R -J /mnt/gentoo_ORIG/home/
to continue MULTISESSION DVD:
2. growisofs -r -M /dev/cdroms/cdrom0 -R -J /home/shelton/employment/
0 Comments:
Post a Comment
<< Home