كما في العنوان :-
مطلوب برنامج لتحويل صيغ الفديو الى 3gb
هل اجده في لنكس ؟؟
في امان الله
مطلوب برنامج لتحويل صيغ الفديو الى 3gb
هل اجده في لنكس ؟؟
في امان الله
#!/bin/bash SETUP () { rm -rf ~/.3gptemp mkdir ~/.3gptemp cd ~/.3gptemp sudo apt-get install -y subversion mencoder mplayer build-essential svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg mkdir ffmpeg/libavcodec/amr_float cd ffmpeg/libavcodec/amr_float wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip unzip 26104-510.zip unzip 26104-510_ANSI*.zip cp -f makefile.gcc makefile cd ../../ echo -e "\nWe are in `pwd`\n" ./configure --enable-amr_nb make sudo make install } MAKE () { echo $file mencoder $file -nosound -ovc lavc -lavcopts vcodec=mpeg4 -vop expand=176:144,scale=176:-2 -o movie.avi -ofps 12 mplayer -vo null -ao pcm -af resample=8000,volume=+4db:sc $file ffmpeg -i movie.avi -i audiodump.wav -b 48 -ac 1 -ab 12 -map 0.0 -map 1.0 $file2 } if [ "$1" = "setup" ] ; then SETUP elif [ "$1" = "make" ] ; then file=$2; file2=$3 ;MAKE else echo "Useage: mk3gp setup|make input_filename output_filename" fi
تعليق