Tuesday, May 24, 2011

Transrate - Converting audio files from one bitrate to other using BATCH file

Follow the below steps to transrate all the audio files with extension "mp3" in a given directory.

Download the FFMPEG software from the following link:
http://www.videohelp.com/download/ffmpeg-0.5.7z

Extract the software and copy the FFMPEG.exe and create a file with any name without space and extension "bat" and copy the below contents into it.

REM START OF BATCH FILE

mkdir Transcoded

for /f "delims=" %%a IN ('dir /b/n *.mp3') do (
ffmpeg -i "%%a" -ar 44100 -ac 2 -ab 128 -f mp3 ".\Transcoded\%%a"
)

cd Transcoded
for /f "delims=" %%a IN ('dir /b/n *.mp3') do (
move /Y "%%a" "..\%%a"
)

cd ..
del /Q Transcoded
rmdir /Q Transcoded

REM END OF BATCH FILE

Copy these 2 files into the directory which has the MP3 files that you want to transrate.
Double click the batch file for transrate. This batch file converts the audio bitrate to 128kbps. If one wants a different bitrate, change the number near to -ab option to the desired value.

Tuesday, January 11, 2011

SCILAB - An Open Source alternative to MATLAB

Scilab is an open source, cross-platform numerical computational package and a high level, numerically oriented programming language. It can be used for signal processing, statistical analysis, image enhancement, fluid dynamics simulations, numerical optimization, and modeling and simulation of explicit and implicit dynamical systems. MATLAB code, which is similar in syntax, can be converted to Scilab. Scilab is one of several open source alternatives to MATLAB.



Scilab Downloads:

Linux version download

Windows version download


Tuesday, January 4, 2011

INSTALLING MATLAB R2010A IN FEDORA CORE LINUX 13

INSTALLING MATLAB R2010A IN FEDORA CORE LINUX 13
---------------------------------------------------------------------------------
1) Copy MATLAB R2010A from DVD to local drive and extract it.
2) Change the user to root in command terminal and go to ‘/opt/matlab’
3) Set permissions for all the files to directories to 777 using ‘chmod -R 777 matlab/*’
4) chcon -t textrel_shlib_t '/home/asvkarthick/Desktop/MATLAB/matu20Xa/update/bin/glnx86/libmwins.so'
5) chcon -t textrel_shlib_t '/home/asvkarthick/Desktop/MATLAB/matu20Xa/update/bin/glnx86/libmwins.so'
6) /home/asvkarthick/Desktop/MATLAB/matu20Xa/install
7) Install manually without using the Internet
8) Get the installation key and paste it
9) Click Ok
10) Installation process would begin and wait for the completion
11) On successful installation, it prompts for the license file.
12) Use "license_standalone.dat" when asked for license file
13 Open MATLAB and enjoy

Happy Coding!!

-- Karthick Kumaran ASV