Revision [4115]
Last edited on 2011-09-01 07:46:02 by KenFongAdditions:
===[[MultimediaAlsa Alsa]]
-----
-----
Revision [4067]
Edited on 2011-07-13 03:11:29 by KenFongAdditions:
===Installing MonkeyAudio (mac) on Linux===
aptitude install yasm
Download mac from http://supermmx.org/download/linux/mac/mac-3.99-u4-b5.tar.gz
src/MACLib/APELink.cpp
lines 66-69:
const char * pHeader = strstr(pData, APE_LINK_HEADER);
const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
and the same on line 84:
const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
The change consisted on adding the “const ” keyword in front of each line, in order to avoid this:
error: invalid conversion from ‘const char*’ to ‘char*’
aptitude install yasm
Download mac from http://supermmx.org/download/linux/mac/mac-3.99-u4-b5.tar.gz
src/MACLib/APELink.cpp
lines 66-69:
const char * pHeader = strstr(pData, APE_LINK_HEADER);
const char * pImageFile = strstr(pData, APE_LINK_IMAGE_FILE_TAG);
const char * pStartBlock = strstr(pData, APE_LINK_START_BLOCK_TAG);
const char * pFinishBlock = strstr(pData, APE_LINK_FINISH_BLOCK_TAG);
and the same on line 84:
const char * pImageCharacter = &pImageFile[strlen(APE_LINK_IMAGE_FILE_TAG)];
The change consisted on adding the “const ” keyword in front of each line, in order to avoid this:
error: invalid conversion from ‘const char*’ to ‘char*’
Revision [3764]
Edited on 2010-07-31 09:00:47 by KenFongAdditions:
===[[Imaging Imaging]]===
Deletions:
Revision [3763]
Edited on 2010-07-31 09:00:29 by KenFongAdditions:
===MultiMedia Stuff===
===Imaging===
===Imaging===
Deletions:
Revision [3757]
Edited on 2010-07-24 01:17:25 by KenFongAdditions:
==ripping dvd==
AcidRip and HandBrake are excellent rippers. To rip dvd's with css encryption:
aptitude install libdvdread
/usr/share/doc/libdvdread4/install-css.sh
AcidRip and HandBrake are excellent rippers. To rip dvd's with css encryption:
aptitude install libdvdread
/usr/share/doc/libdvdread4/install-css.sh
Revision [3606]
Edited on 2010-01-06 06:53:01 by WikiAdminAdditions:
After that, I can create x264/mp3 avi
ffmpeg -i foo.mpg -b 1500k -vcodec libx264 -ab 224k -acodec libmp3lame -threads 2 foo.avi
ffmpeg -i foo.mpg -b 1500k -vcodec libx264 -ab 224k -acodec libmp3lame -threads 2 foo.avi
Revision [3605]
Edited on 2010-01-06 06:41:31 by WikiAdminAdditions:
Enable other encoders for ffmpeg:
Download ffmpeg source from http://ffmpeg.org/download.html
./configure --enable-libfaac --enable-libfaad --enable-libmp3lame \
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-libdc1394 \
--enable-vdpau --disable-ipv6 --enable-swscale --enable-avfilter \
--enable-pthreads --enable-x11grab --enable-libopenjpeg --enable-gpl
Download ffmpeg source from http://ffmpeg.org/download.html
./configure --enable-libfaac --enable-libfaad --enable-libmp3lame \
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-libdc1394 \
--enable-vdpau --disable-ipv6 --enable-swscale --enable-avfilter \
--enable-pthreads --enable-x11grab --enable-libopenjpeg --enable-gpl
Revision [3603]
Edited on 2010-01-05 09:09:59 by WikiAdminAdditions:
==Convert MP2 to MP4==
This ffmpeg doesn't have mp3 / x264 support.. need to figure that part out someday..
ffmpeg -i AVSEQ03.DAT -b 1500k -vcodec mpeg4 -ab 224k -acodec mp2 -threads 2 part3.avi
This ffmpeg doesn't have mp3 / x264 support.. need to figure that part out someday..
ffmpeg -i AVSEQ03.DAT -b 1500k -vcodec mpeg4 -ab 224k -acodec mp2 -threads 2 part3.avi
Revision [3602]
Edited on 2009-12-29 06:49:54 by WikiAdminAdditions:
abcde -oflac -j2 -amove,cue
Deletions:
Revision [3601]
Edited on 2009-12-29 06:49:20 by WikiAdminAdditions:
abcde -oflac -j2 -amove
Deletions:
Revision [3600]
Edited on 2009-12-29 06:43:05 by WikiAdminAdditions:
aptitude install mkcue
Revision [3599]
Edited on 2009-12-29 06:41:37 by WikiAdminAdditions:
==Linux rip cd to flac==
abcde -oflac -j2 -a cddb,read,encode,tag,cue
abcde -oflac -j2 -a cddb,read,encode,tag,cue
Revision [3598]
Edited on 2009-12-29 05:56:10 by WikiAdminAdditions:
aptitude install flac sox
Revision [3597]
Edited on 2009-12-29 05:55:58 by WikiAdminDeletions:
${i//flac/wav} ${i//flac/cdr}; rm ${i//flac/wav}; done
# something to experiment with
Revision [3596]
Edited on 2009-12-29 05:55:02 by WikiAdminAdditions:
# something to experiment with
for i in ./*.flac; do flac -c -d $i | sox - ${i//flac/cdr}; done
for i in ./*.flac; do flac -c -d $i | sox - ${i//flac/cdr}; done
Revision [3595]
Edited on 2009-12-29 05:50:55 by WikiAdminAdditions:
==Linux flac to cd==
for i in ./*.flac; do flac -d $i -o ${i//flac/wav}; sox \
${i//flac/wav} ${i//flac/cdr}; rm ${i//flac/wav}; done
cdrecord -v dev=3,0,0 driveropts=burnfree -dao -pad -overburn -audio ./*.cdr
for i in ./*.flac; do flac -d $i -o ${i//flac/wav}; sox \
${i//flac/wav} ${i//flac/cdr}; rm ${i//flac/wav}; done
cdrecord -v dev=3,0,0 driveropts=burnfree -dao -pad -overburn -audio ./*.cdr
Revision [3594]
Edited on 2009-12-28 23:48:20 by WikiAdminAdditions:
Config file for using mp3 encoding - http://www.andrews-corner.org/abcde.html#mp3
Revision [3593]
Edited on 2009-12-28 23:46:25 by WikiAdminAdditions:
aptitude install abcde id3v2
Revision [3592]
Edited on 2009-12-28 23:43:28 by WikiAdminAdditions:
abcde -j2 -omp3 -qhigh