вторник, 28 июня 2011 г.

Захват с камеры в gstreamer:

gst-launch v4l2src ! videorate ! videoscale add-borders=true ! video/x-raw-yuv,width=480,height=360 ! ffenc_flv bitrate=300000 ! ffdec_flv ! xvimagesink

суббота, 4 июня 2011 г.

ffmpeg/libav fate test suite notes:

"rsync -aL rsync://fate-suite.libav.org:/fate-suite/ fate-suite", then "make SAMPLES=... fate -k"
OR make fate-rsync SAMPLES=/some/path

rsync://rsync.mplayerhq.hu:/samples/fate-suite/ is dead.

use libav git master

"make test" is also not bad.

for debugging and backtraces, use ffmpeg_g

ffmpeg configuration for path64:
./configure --prefix=/home/erdizz/path64 --cc="pathcc -fpsclang -D_HAVE_STRING_ARCH_strcspn -D_HAVE_STRING_ARCH_strspn -D_HAVE_STRING_ARCH_strncat -D__BSD_VISIBLE=1 -g -O0" --disable-asm --disable-optimizations --enable-debug=gdb3

Доп флаги для path64: -OPT:wrap_around_unsafe_opt=OFF -VHO:rotate=OFF
wrap_around_unsafe_opt пока не пробрасывается через clang.

Don't use -DDEBUG: many uses of assert() are broken in ffmpeg.