#multimedia

How to use FFmpeg presets with Windows

Published 1st Mar 2011 // #multimedia

How to use FFmpeg presets with Windows It's used for example to ease x264 encoding. Create a directory named .ffmpeg within C:\DirectoryWhereYourPresetAreInstalled where you can put all your preset Execute the following script set HOME=C:\DirectoryWhereYourPresetAreInstalled ffmpeg -i "%1" -acodec copy -s 1280x720 -vcodec libx264 -vpre default -nr 300 -crf 20 -threads 0 "%1.mkv" set HOME=

How to create a dvd structure with a mpg file

Published 7th Feb 2011 // #multimedia #tips

How to create a dvd structure with a mpg file First, you'll need dvdauthor : aptitude install dvdauthor Next, you'll have to create an xml (file.xml) file for dvdauthor : <dvdauthor> <vmgm /> <titleset> <titles>…

Extract the soundtrack of a DVD

Published 7th Feb 2011 // #multimedia #tips

Extract the soundtrack of a DVD Get the aid (audio id) of the wanted soundtrack mplayer -vc null -vo null -identify VTS_01_0.IFO Get a stream.dump file (or use -dumpfile to specify the filename) mplayer -vc null -vo null -aid 129 -dumpaudio VTS_01_0.IFO

How to encode an existing audio track to aac

Published 7th Feb 2011 // #multimedia #tips

How to encode an existing audio track to aac #!/bin/sh mkfifo temp.wav screen -d -m mplayer "$1" -vc null -vo null -ao pcm:fast:waveheader:file=temp.wav ./neroAacEnc -ignorelength -q 0.30 -if temp.wav -of "$1.aac" rm temp.wav I use screen but you can also use & or two terminals. Sometimes mplayer is too worried about seeks and don't work

How to use Neroaac with amd64

Published 7th Feb 2011 // #multimedia #tips

How to use Neroaac with amd64 aptitude install lib32stdc++6 aptitude install lib32gcc1

How to reencode a 6 channels AAC file to a proper AC3 file

Published 7th Feb 2011 // #multimedia

How to reencode a 6 channels AAC file to a proper AC3 file First why doing that : My home cinema only handle AC3 and DTS. There's no easy way (I know you can special alsa output to do that) to make mplayer reencode the AAC into AC3 during playback AC3 is a much…

How to join two AVI files

Published 7th Feb 2011 // #multimedia #tips

How to join two AVI files mencoder -oac copy -ovc copy -noodml -idx part1.avi part2.avi -o complete.avi

How to create an iso with a dvd structure

Published 7th Feb 2011 // #multimedia #tips

How to create an iso with a dvd structure You'll have to install mkisofs : aptitude install mkisofs and then use it : mkisofs -dvd-video -udf -o file.iso file

How to rebuild the index of an AVI file

Published 7th Feb 2011 // #multimedia #tips

How to rebuild the index of an AVI file mencoder BadSource.avi -noskip -mc 0 -idx ovc copy -oac copy -o GoodOutput.avi