Video transcoding: Using MPlayer to do video transcoding under Linux

Source: Internet
Author: User

Video transcoding device MPlayer installation and use

#!/bin/bash#1, ensure the system can be connected to the external network, need to download the installation package and the dependency package set-emplayer= "/usr/myapp" mpver= "MPlayer-1.3.0" mkdir $MPlayer-pv Yum Install wget gcc git-ycd/usr/local/srcwget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2wget http:/ /www.mplayerhq.hu/mplayer/releases/mplayer-1.3.0.tar.gzecho "Export path=" $PATH:/usr/myapp/ffmpeg/bin "" >>/ Etc/profilesource/etc/profiletar XF All-20110131.tar.bz2tar XF mplayer-1.3.0.tar.gzmv/usr/local/src/all-20110131/ usr/local/lib/codecscd/usr/local/src/$MPVer./configure--prefix= $MPlayer/mplayer--codecsdir=/usr/local/lib/ Codecs && make && make InstallIf [[$ = = 0]];then cd $MPlayer/mplayer/bin && ls echo-e "\ 033[31m usage:\n\t Path:/usr/myapp/mplayer/bin/\033[0m "echo-e" \033[31m usage:\n\t mencoder 1.rmvb-o Output.avi-oa C mp3lame-lameopts CBR:BR=32-OVC x264-x264encopts bitrate=440-vf scale=448:-3 \033[0m "echo" Export PATH= "$PATH:/US R/myapp/mplayer/bin "" >>/etc/profile Source/etc/profilE #mencoder 1.rmvb-o output.avi-oac mp3lame-lameopts cbr:br=32-ovc x264-x264encopts bitrate=440-vf Scale=448:-3el Se BREAKFI

Video transcoding: Using MPlayer to do video transcoding under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.