Showing posts with label ffmpeg-svn. Show all posts
Showing posts with label ffmpeg-svn. Show all posts
Thursday, June 18, 2009
youtube h.264 flv codec sucks
youtube h.264 flv codec sucks.
h264 hates old slow computers and FLV players are pigs.
Work around this with ffmpeg.
./ffmpeg input.flv -vcodec copy -acodec copy "output-mpeg4--6moy2009.mp4"
(LQ)
./ffmpeg -i *.FLV -vcodec flv -acodec libmp3lame -ar 44100 -ab 32 \
-s 320x240 -aspect 16:9 -b 350 -r 25 \
"OUTPUT-LQ_4tube-vcodec-flv--b350--ver3-mp3.flv"
------------------------------
////////////
//////
///
youtube safe? video format " will look like crap.
SO TRY Qscale for averAGE-quality... NON-youtube videos
=============
./ffmpeg -i *.FLV -vcodec h263 -s 352x288 -aspect 16:9 -b 350 -r 25 -qscale 4 \
-acodec libmp3lame -ar 44100 -ab 124 \
"OUTPUT--averageQ-h263--avi-.avi"
Labels:
6moy2009june,
ffmpeg,
ffmpeg-svn,
ffmpeg#flv
Monday, May 25, 2009
record your webcam with ffmpeg-svn
"1st just the video" for a quick test
$
./ffmpeg -f video4linux -s 352x288 -r 30000/1001 -i /dev/video0 -sameq
-aspect 4:3 -f avi -vcodec msmpeg4 -r 30000/1001 -y tvffmpeg.avi
======================
this codec only works with the ffmpeg-svn that i compiled.
because DEBIAN can be so stupid some times and not to include extra codecs........
/////////////////////////////////////////////////
/////////------- sound
no try the recording with a 3.5mm mic......
===============
" with your sound this time...."
" using -f oss -i /dev/dsp \ "
==============
now with audio
$
./ffmpeg-svn -f oss -i /dev/dsp \
-f video4linux -s 352x288 -r 30000/1001 -i /dev/video0 \
-sameq -aspect 4:3 -f avi -vcodec msmpeg4 -r 30000/1001 -y tvffmpeg--msmpeg-with-sound.avi
-------------------------------------
////////////////////////
/////---- AND NOW you can " TEST " acodec mp3
$
./ffmpeg-svn -f oss -i /dev/dsp -acodec mp3 \
-f video4linux -s 352x288 -r 30000/1001 -i /dev/video0 \
-sameq -aspect 4:3 -f avi -vcodec msmpeg4 -r 30000/1001 -y tvffmpeg--msmpeg-with-mp3sound.avi
#//////////////////////////
#/////////////////////////
#///////////////////////
#////////////////////
#/////////////////
#/////////////
#////////
# last a low quality format for a smal file this time.
$
./ffmpeg-svn -f oss -i /dev/dsp -acodec mp3 \
-f video4linux -s 352x288 -r 30000/1001 -i /dev/video0 \
-qmin 4 -qmax 4 -b 500 \
-aspect 4:3 -f avi -vcodec msmpeg4 -r 30000/1001 -y tvffmpeg--msmpeg-with-mp3sound-q4.avi
Labels:
5moy2009,
ffmpeg,
ffmpeg-svn,
LINUX,
webcam