php 에 curl 이 설치돼지 않았을 경우를 위한 class
http://code.blitzaffe.com/pages/phpclasses/category/52/fileid/7


Provides a pure-PHP implementation of the PHP CURL extension, for use on systems which do not already have the CURL extension installed. It emulates all of the curl_* functions normally provided by the CURL extension itself.

'프로그래밍 언어 > php' 카테고리의 다른 글

memcached 관련  (0) 2016.12.23
mzk - event  (0) 2007.12.15
php header_sent  (0) 2007.11.27
array_combine php5 -> php4  (0) 2007.05.07
배열 컬럼 정렬  (0) 2007.03.15
블로그 이미지

용병

,
ffmpeg -y  -i sample.avi -threads 2 -s 320x240 -r 30.00 -threads 1 -pix_fmt yuv420p  -g 300  -qmin 3  -b 512k -async 50  -ar 11025 -ac 1 -ab 16k outputfile.flv


ffmpeg -y  -i sample.avi -threads 2 -s 320x240 -r 29.97 -threads 1 -pix_fmt yuv420p  -g 300  -qmin 3  -b 512k -async 50  -ar 44100 -ac 2 -ab 128k outputfile.flv

  • -y: Overwrite output files
  • -i ‘inputfile.avi’: Input filename
  • -threads 2: Thread count
  • -s 320×240: Set frame size
  • -r 30.00: Set frame rate (fps)
  • -threads 1: Thread count (again)
  • -pix_fmt yuv420p: Set pixel format
  • -g 300: Set the group of pictures size
  • -qmin 3: minimum video quantizer scale (VBR)
  • -b 512k: Set the video bitrate in bits/s
  • -async 50: Audio sync method. “Stretches/squeezes” the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed.
  • -acodec mp3: Force audio codec to codec
  • -ar 11025: Set the audio sampling frequency
  • -ac 1: Set the number of audio channels
  • -ab 16k: Set the audio bitrate in bits/s
  • outputfile.flv: Is the outputfile


from : http://www.victorcastelan.net/convert-avi-mpeg-files-to-flv-with-ffmpeg/

'시스템, 서버 > 리눅스' 카테고리의 다른 글

gitlab uninstall / remove  (0) 2017.01.13
NVIDIA nFORCE onboard lan card driver on Centos  (0) 2009.01.29
mencoder - avi to flv  (0) 2007.11.28
ffmpeg 이용 avi thumbnail 만들기  (0) 2007.11.28
php 5.2.5  (0) 2007.11.28
블로그 이미지

용병

,
mencoder sample.avi -o test.flv -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -lavfopts  i_certify_that_my_video_stream_does_not_use_b_frames
블로그 이미지

용병

,
ffmpeg -y -i sample.avi -vframes 1 -ss 00:00:02 -an -vcodec png -f rawvideo -s 320x240 sample.png

'시스템, 서버 > 리눅스' 카테고리의 다른 글

ffmpeg - avi to flv & mpg to flv  (0) 2007.11.28
mencoder - avi to flv  (0) 2007.11.28
php 5.2.5  (0) 2007.11.28
php에 module 설치시 executor_globals 에러 관련  (0) 2007.11.28
mod_suid2 사용  (0) 2007.06.27
블로그 이미지

용병

,
아래 ./configure 옵션 변경 또는 사라짐

--enable-gd-imgstrttf
--enable-versioning
--enable-url-includes
--with-jpeg
--with-png
--with-xml
--with-mod-charset
--with-language=korean
--with-charset=utf-8
--with-dom=/usr/local/libxml
--with-mod_charset
--enable-module=so
--enable-url-fopen-wrapper=yes
--enable-mailparse
--enable-trans-sid
--enable-mbstr-enc-trans
--enable-memory-limit
--with-tiff-dir=/usr
--with-expat-dir=/usr
--enable-track-vars=yes
블로그 이미지

용병

,
undefined symbol: executor_globals in Unknown on line 0

./configure 옵션에 --enable-versioning 를 썼을 경우
--enable-versioning 를 제거 후 다시 컴파일

'시스템, 서버 > 리눅스' 카테고리의 다른 글

ffmpeg 이용 avi thumbnail 만들기  (0) 2007.11.28
php 5.2.5  (0) 2007.11.28
mod_suid2 사용  (0) 2007.06.27
PHP browscap 사용하기 - get_browser()  (0) 2007.03.26
PHP5 mysqli 사용 옵션  (0) 2007.03.09
블로그 이미지

용병

,