MDX
19.07.10, 19:05
Ja ich hab s ja installiert per apt-get install php5-ffmpeg aber es funktioniert ja nicht...
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_convert_frame':
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:202: warning: implicit declaration of function 'img_convert'
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_crop_frame':
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:260: warning: implicit declaration of function 'img_copy'
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c: In function '_php_resample_frame':
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: 'ImgReSampleContext' undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: (Each undeclared identifier is reported only once
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: for each function it appears in.)
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:282: error: 'img_resample_ctx' undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:308: warning: implicit declaration of function 'img_resample_full_init'
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:321: warning: implicit declaration of function 'img_resample'
/usr/local/src/ffmpeg-php-0.5.3/ffmpeg_frame.c:326: warning: implicit declaration of function 'img_resample_close'
make: *** [ffmpeg_frame.lo] Fehler 1
FFmpeg version SVN-r24326, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 19 2010 18:19:20 with gcc 4.4.3
configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-nonfree --enable-libtheora --enable-libfaac --enable-gpl --enable-swscale
libavutil 50.22. 0 / 50.22. 0
libavcodec 52.84. 0 / 52.84. 0
libavformat 52.75. 0 / 52.75. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.25. 1 / 1.25. 1
libswscale 0.11. 0 / 0.11. 0
[flv @ 0x82e1470] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, flv, from '/home/xxxxx/2.flv':
Metadata:
duration : 174
videodatarate : 328
lastkeyframetimestamp: 172
lastkeyframelocation: 7108597
creator : YouTube, Inc.
metadatacreator : YouTube Metadata Injector.
haskeyframes : true
hasmetadata : true
Duration: 00:02:53.89, start: 0.000000, bitrate: 343 kb/s
Stream #0.0: Video: flv, yuv420p, 320x256, 335 kb/s, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 22050 Hz, 1 channels, s16, 8 kb/s
[scale @ 0x83061f0] w:320 h:256 fmt:yuv420p -> w:800 h:770 fmt:yuvj420p flags:0x4
Output #0, image2, to '/home/xxx/testzone/test2.jpg':
Metadata:
encoder : Lavf52.75.0
Stream #0.0: Video: mjpeg, yuvj420p, 800x770, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[buffer @ 0x82ea230] Buffering several frames is not supported. Please consume all available frames before adding a new one.
Last message repeated 99 times
[image2 @ 0x82e4060] Could not get frame filename from pattern
av_interleaved_write_frame(): Input/output error
export LD_LIBRARY_PATH=/usr/local/lib/
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:45:21: error: swscale.h: No such file or directory
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c: In function 'ffmpeg_img_convert':
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:67: warning: implicit declaration of function 'sws_getContext'
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:70: error: 'SWS_BICUBIC' undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:70: error: (Each undeclared identifier is reported only once
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:70: error: for each function it appears in.)
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:76: warning: implicit declaration of function 'sws_scale'
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_tools.c:81: warning: implicit declaration of function 'sws_freeContext'
make: *** [ffmpeg_tools.lo] Fehler 1
./configure [...] --enable-gpl --enable-swscale
ffmpeg: relocation error: /usr/local/lib/libavdevice.so.52: symbol av_new_packet, version LIBAVCODEC_52 not defined in file libavcodec.so.52 with link time reference