linuxÏÂffmpeg ÊÖ»úÊÓƵת»»×ܽá
ffmpeg°æ±¾:0.5.1 flv -> mp4 ->3gp
#½Øͼ£º
./ffmpeg -i ÊÓƵÎļþ -y -ss ½Øͼʱ¼ä -vframes 1 -f image2 -s 128x96 Ä¿±êÎļþÃû;
#Éú³ÉÔ¤ÀÀ°æ£º
./ffmpeg -i out.3gp -ss 00:00:00 -t 00:00:10 -s qcif -acodec copy -vcodec copy -y preview.3gp
#ת»»16:9 flvÊÓƵµ½ 4:3µÄmp4ÊÓƵ
ffmpeg -i src.flv -vcodec libx264 -vpre normal -vpre baseline -coder 0 -threads 4 -s 320*180 -b 128k -r 15 -padbottom 30 -padtop 30 -f mp4 -y out.mp4
×¢£º
Õ⼸¸ö²ÎÊý±£Ö¤Äܹ»ÔÚÊÖ»úÉÏÃæ²¥·Å£¨±ØÐëÖ¸¶¨h264½âÂëÆ÷£©£º
-vcodec libx264 -vpre normal -vpre baseline -coder 0
¾ßÌ庬ÒåÏê¼ûhttp://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
ÕâÁ½¸ö²ÎÊýÓÃÓÚÔö¼ÓºÚ±ß
-padbottom 30 -padtop 30
#mp4ת»»Îª3gp
./ffmpeg -i test.mp4 -s qcif -ar 8000 -ac 1 -ab 12.2k -f 3gp -y test.3gp
ÖÁÓÚffmpegµÄ°²×°
¿ÉÒԲο¼http://www.code-life.com/read.php?61
аæµÄamr¿âÔÚÕâÀïhttp://opencore-amr.sourceforge.net/
±àÒëÑ¡ÏîÌ滻Ϊ
--enable-libopencore-amrnb
--enable-libopencore-amrwb
×î½üµÄffmpeg°æ±¾²»ÖªµÀΪʲômakeµÄʱºò »á±¨´í
ûÓÐ×Ðϸ¿´£¬Ö»ÊÇ°ÑÏÂÃæÕâ¶Î×¢Ê͵ô£¬¾¹È»Ò²¿ÉÒÔÓÃ....
#ifndef V
#Q = @
#ECHO = printf "$(1)\t%s\n" $(2)
#BRIEF = CC AS YASM AR LD HOSTCC STRIP CP
#SILENT = DEPCC YASMDEP RM RANLIB
#MSG = $@
#M = @$(call ECHO,$(TAG),$@);
#$(foreach VAR,$(BRIEF), \
# $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
#$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
#$(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
#endif
Ïà¹ØÎĵµ£º
д¸øLinuxÄÚºËÐÂÊÖ-¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇø
albcamus
http://bbs.chinaunix.net/viewthread.php?tid=626486
¡¡¡¡ÏÈ˵¾äÕý¾µÄ£ºÆäʵÎÒû×ʸñдÕâƪÎÄÕ£¬ÒòΪ×Ô¼ºÒ²¾ÍÒ»Á½¸öÔÂÒÔÀ´²Å¿ªÊ¼ÓÐËùÁìÎòµÄ¡£Òò´Ë£¬ÕâÀïÓëÆä˵ÊǹØÓÚLinuxÄÚºËѧϰµÄ¾Ñ飬²»Èç˵ÊÇ×Ô¼ºµÄ½Ìѵ°É£¬Ï£Íû²»ÒªÈÓ¼¦µ°ÔÒÎÒ^_^
¡¡¡¡¡¡³£³£ÓÐÈËÎÊ£ºÎÒÏëÑ ......
°²×°samba
ÎÄÕÂÖÐÌáµ½µÄsmaba°²×°³ÌÐò samba-3.0.20b-1.i386.rpm (ISO)
1 Ê×ÏÈ£¬ÔÚVMwareÄÚ°Ñsamba°²×°ÎļþµÄ¾µÏñÎļþÓ³ÉäΪ¹âÇý£¬Èçͼ1-1²½Öè1-2-3¡£
ͼ1-1
2 È»ºó£¬Ê¹ÓÃÃüÁîmount /dev/cdrom /mnt/cdrom ×÷ÓÃÊǰѹâÇýÔØÈëµ½Îļþ¼Ð/mnt/cdromÖУ¬Èçͼ1-2 ......
ÎÊÌâÃèÊö£º
µ±linuxÆô¶¯µ½sendmail·þÎñʱ£¬ÎÞ·¨Õý³£½øÈëϵͳ
½â¾öÎÊÌ⣺
1¡¢²¢²»ÊÇÎÞ·¨½øÈ¥£¬¶øÊÇÕâÒ»¸ö·þÎñÆô¶¯µÄÌرðÂý£¬ËùÒÔ¾´ÇëµÈ´ý
2¡¢ÈçÆô¶¯Ê±²»ÏëµÈ´ý£¬OK£¬Äǵ±ÎÒÃǽøÈëÒԺ󣬹صôsendmail·þÎñ£º ......
LinuxÉ豸ģÐÍÖ®ttyÇý¶¯¼Ü¹¹·ÖÎö
À´Ô´: ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º 2008.07.25 16:24¡¡(¹²ÓÐ0ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
------------------------------------------
±¾ÎÄϵ±¾Õ¾Ô´´,»¶ÓתÔØ!
תÔØÇë×¢Ã÷³ö´¦:http://ericxiao.cublog.cn/
------------------------------------------
Ò»£ºÇ°ÑÔ
TtyÕâ¸öÃû³Æ ......
Ò»¡¢ ShellÃüÁî
1. man vi
2. echo $PATH
3. catÏÔʾÎļþÄÚÈÝ
1 cat ÎļþÃûÒ»ÎļþÃû¶þ
2 moreÎļþÃû
3 lessÎļþÃû ÏòÇ°·°´b¼ü;Ïòºó·°´p¼ü;Ö¸¶¨Î»ÖÃÊäÈë°Ù·Ö±È;Í˳ö ......