computers:media:encoding:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computers:media:encoding:start [2008/05/16 15:00] – david | computers:media:encoding:start [2011/05/26 16:45] (current) – david | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Audio ====== | ||
- | ====== | + | ===== flac to mp3 ===== |
+ | |||
+ | Conversion of **flac** files to **mp3** files in linux can be done with this shell script I found here online: | ||
+ | |||
+ | Example Usage: | ||
+ | < | ||
+ | cd / | ||
+ | nice -n 19 flac2mp3.sh /tmp/mp3 standard | ||
+ | </ | ||
+ | |||
+ | **Requires: | ||
+ | |||
+ | <code bash> | ||
+ | flac2mp3.sh: | ||
+ | |||
+ | # | ||
+ | |||
+ | DESTDIR=$1 | ||
+ | PRESET=$2 | ||
+ | |||
+ | if test " | ||
+ | PRESET=standard | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | DESTDIR=. | ||
+ | else | ||
+ | mkdir -p " | ||
+ | fi | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | for a in *.flac | ||
+ | do | ||
+ | OUTF=`echo " | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | ARTIST=`metaflac " | ||
+ | TITLE=`metaflac " | ||
+ | ALBUM=`metaflac " | ||
+ | GENRE=`metaflac " | ||
+ | TRACKNUMBER=`metaflac " | ||
+ | YEAR=`metaflac " | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | flac -c -d " | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | if test " | ||
+ | id3v2 -t " | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | id3v2 -T " | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | id3v2 -a " | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | id3v2 -A " | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | id3v2 -g " | ||
+ | fi | ||
+ | |||
+ | if test " | ||
+ | id3v2 -y " | ||
+ | fi | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Video ====== | ||
+ | |||
+ | ===== h264 ===== | ||
h264 seems to be the new kid on the block. | h264 seems to be the new kid on the block. | ||
Line 19: | Line 108: | ||
* [[http:// | * [[http:// | ||
- | ====== Mythtv to DVD ====== | + | ===== Mythtv to AVI ===== |
+ | |||
+ | Well, I've not had too much success with Mythtv's built in transcoding, | ||
+ | |||
+ | - First thing to do is make symbolic links to the recordings so I can copy them all properly named in human readable format. | ||
+ | - [[http:// | ||
+ | - This little bash script that will make symbolic links right where you are <code bash> | ||
+ | # | ||
+ | for filename in / | ||
+ | do | ||
+ | # windows did not like the colons in the name, so changing to underscores and periods | ||
+ | fname=`mythname.pl --rep=. --subtitle $filename | tr : _ | tr '; | ||
+ | echo " | ||
+ | ln -s $filename $fname | ||
+ | done | ||
+ | exit 0 | ||
+ | </ | ||
+ | - Download everything to your PC with " | ||
+ | - Use this ({{: | ||
+ | - Dump all the files into SUPER and wait a very long time! | ||
+ | |||
+ | ===== Mythtv to DVD ===== | ||
Looks like [[http:// | Looks like [[http:// | ||
- | ====== nsv ====== | + | ===== nsv ===== |
Russ emailed me a set of instructions on how to encode video for the mst3k stream, so I posted it: [[computers: | Russ emailed me a set of instructions on how to encode video for the mst3k stream, so I posted it: [[computers: |
computers/media/encoding/start.1210950044.txt.gz · Last modified: 2008/05/16 15:00 by david