Discussion:
[FFmpeg-user] ffmpeg 1.0 [NULL @ 0xcb4700] [Eval @ 0x7fff0d95cf00] Undefined constant or missing '(' in 'wpred'
Reindl Harald
2012-10-03 01:45:29 UTC
Permalink
something seems to go wrong in ffmpeg 1.0

see isolated error and at the end all called commands for H264 baseline
from my php-wrapper which should left untouched to work with older releases

if i remove 'flags2' it would be profile 'high' instead baaseline

[NULL @ 0xcb4700] [Eval @ 0x7fff0d95cf00] Undefined constant or missing '(' in 'wpred'
[NULL @ 0xcb4700] Unable to parse option value "wpred-dct8x8"
[NULL @ 0xcb4700] Error setting option flags2 to value -wpred-dct8x8.ffmpeg version 1.0-thelounge.net Copyright
____________________________________________________________

another problem currently: how to install the 1.0 in /usr/local
witout damage the distribution-package? build and install in
/usr/local works pretty fine, ldconfig is needed to find libs
in /usr/lib64 but calling the 0.10.x results in library-mismatch

looks like for whatever reason it is loading the libraries
from /usr/local/ while the 0.10.x-RPM installs in /usr/
* ffmpeg-0.10.5-3.fc17.20120925.rh.x86_64
* ffmpeg-libs-0.10.5-3.fc17.20120925.rh.x86_64
* ffmpeg-latest-libs-1.0-4.fc17.20121003.rh.x86_64
* ffmpeg-latest-1.0-4.fc17.20121003.rh.x86_64


[***@srv-rhsoft:/etc/ld.so.conf.d]$ cat /etc/ld.so.conf.d/ffmpeg-latest-ld.conf
/usr/local/lib64

[***@srv-rhsoft:/mnt/data/autotest]$ /usr/bin/ffmpeg
ffmpeg version 0.10.5-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 25 2012 11:01:11 with gcc 4.7.2 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx
-msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-buffer-size=4 -pipe
-D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net --enable-nonfree --enable-gpl --enable-version3
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libfaac --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-postproc
--enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --enable-pthreads --enable-fastdiv --enable-pic
--enable-libopencv --enable-shared --disable-libspeex --disable-vdpau --disable-vaapi --disable-hwaccels
--disable-static --disable-libdc1394 --disable-devices -- WARNING: library configuration mismatch
avutil configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=co

____________________________________________________________

(c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000.
[NULL @ 0x230a700] [Eval @ 0x7fffaa9238e0] Undefined constant or missing '(' in 'wpred'
[NULL @ 0x230a700] Unable to parse option value "wpred-dct8x8"
[NULL @ 0x230a700] Error setting option flags2 to value -wpred-dct8x8.
Output #0, ipod, to '/mnt/data/autotest/parts/ffmpeg/targets/test.x264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:53+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153], q=0-69, 448 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Output #0, mjpeg, to '/mnt/data/autotest/parts/ffmpeg/targets/images/test.x264.mp4.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und): Video: mjpeg, yuvj420p, 480x270 [SAR 67:68 DAR 268:153], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 11kB time=00:00:00.04 bitrate=2308.2kbits/s
video:11kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%


-----------------------
03.10.2012 03:29:53
Array
(
[calls] => Array
(
[video] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k'
-bt '64k' -ar '44100' -ac '2' -r '25' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000' -async '1' -maxrate
'544k' -f 'ipod' -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -partitions
'+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method 'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g
'250' -keyint_min '25' -sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -bufsize
'2M' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-dct8x8' -wpredp '0' -timestamp 'now'
'/mnt/data/autotest/parts/ffmpeg/targets/test.x264.mp4' >> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
[thumb] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -r '25' -f 'mjpeg'
-vframes '1' -ss '5' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000'
'/mnt/data/autotest/parts/ffmpeg/targets/images/test.x264.mp4.jpg' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
)

[result] =>
[status] => Video '/mnt/data/autotest/parts/ffmpeg/demo.mp4' konnte nicht in
'/mnt/data/autotest/parts/ffmpeg/targets/test.x264.mp4' konvertiert werden werden
[status_thumb] => Thumbnail '/mnt/data/autotest/parts/ffmpeg/targets/images/test.x264.mp4.jpg' wurde erstellt
(Sekunde: 5)
[status_extended] => Array
(
)

[flvtool2] => 0
[qt_faststart] => 0
[duration] =>
[twopass] => 0
)

-----------------------

ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
[NULL @ 0x2230580] [Eval @ 0x7fff20de2d70] Undefined constant or missing '(' in 'wpred'
[NULL @ 0x2230580] Unable to parse option value "wpred-dct8x8"
[NULL @ 0x2230580] Error setting option flags2 to value -wpred-dct8x8.
Output #0, ipod, to '/dev/null':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153], q=0-69, pass 1, 448 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000.
[NULL @ 0x1a85840] [Eval @ 0x7fff3c8bc040] Undefined constant or missing '(' in 'wpred'
[NULL @ 0x1a85840] Unable to parse option value "wpred-dct8x8"
[NULL @ 0x1a85840] Error setting option flags2 to value -wpred-dct8x8.
Output #0, ipod, to '/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153], q=0-69, pass 2, 448 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000.
[NULL @ 0xa2e700] [Eval @ 0x7fff3fc59720] Undefined constant or missing '(' in 'wpred'
[NULL @ 0xa2e700] Unable to parse option value "wpred-dct8x8"
[NULL @ 0xa2e700] Error setting option flags2 to value -wpred-dct8x8.
Output #0, ipod, to '/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153], q=0-69, 448 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse
-fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net
--enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp
--enable-avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype
--enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-libspeex --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --disab libavutil
51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/data/autotest/parts/ffmpeg/demo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 80:81 DAR
16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Output #0, mjpeg, to '/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und): Video: mjpeg, yuvj420p, 480x270 [SAR 67:68 DAR 268:153], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 11kB time=00:00:00.04 bitrate=2308.2kbits/s
video:11kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%


-----------------------
03.10.2012 03:29:55
Array
(
[calls] => Array
(
[video] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k'
-bt '64k' -ar '44100' -ac '2' -r '25' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000' -async '1' -maxrate
'544k' -f 'ipod' -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -partitions
'+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method 'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g
'250' -keyint_min '25' -sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -bufsize
'2M' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-dct8x8' -wpredp '0' -timestamp 'now'
'/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
[thumb] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -r '25' -f 'mjpeg'
-vframes '1' -ss '5' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000'
'/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
)

[result] =>
[status] => Video '/mnt/data/autotest/parts/ffmpeg/demo.mp4' konnte nicht in
'/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4' konvertiert werden werden
[status_thumb] => Thumbnail '/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg' wurde
erstellt (Sekunde: 5)
[status_extended] => Array
(
)

[flvtool2] => 0
[qt_faststart] => 0
[duration] =>
[twopass] => failed
)

-----------------------
Francois Visagie
2012-10-03 06:18:02 UTC
Permalink
-----Original Message-----
Sent: 03 October 2012 03:45
To: Mailing-List ffmpeg
0x7fff0d95cf00] Undefined constant or missing '(' in 'wpred'
something seems to go wrong in ffmpeg 1.0
see isolated error and at the end all called commands for H264 baseline from
my php-wrapper which should left untouched to work with older releases
if i remove 'flags2' it would be profile 'high' instead baaseline
version 1.0-thelounge.net Copyright
I got those errors when applying a command line from a 2009 build to an August 2012 build - the syntax had been changed. If I remember correctly, wpred is now weightb, flags2 is no longer supported etc.
__________________________________________________________
__
another problem currently: how to install the 1.0 in /usr/local witout damage
the distribution-package? build and install in /usr/local works pretty fine,
ldconfig is needed to find libs in /usr/lib64 but calling the 0.10.x results in
library-mismatch
looks like for whatever reason it is loading the libraries from /usr/local/ while
the 0.10.x-RPM installs in /usr/
* ffmpeg-0.10.5-3.fc17.20120925.rh.x86_64
* ffmpeg-libs-0.10.5-3.fc17.20120925.rh.x86_64
* ffmpeg-latest-libs-1.0-4.fc17.20121003.rh.x86_64
* ffmpeg-latest-1.0-4.fc17.20121003.rh.x86_64
ld.conf
/usr/local/lib64
0.10.5-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 25 2012 11:01:11 with gcc 4.7.2 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg -
-incdir=/usr/include/ffmpeg
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-
O3 -march=corei7 -mtune=corei7 -mmmx
-msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-
protector --param=ssp-buffer-size=4 -pipe
-D_FORTIFY_SOURCE=2 -fexceptions' --extra-version=thelounge.net --
enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libdirac --enable-libfaac --enable-
libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --
enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-libvpx --enable-librtmp --enable-
avfilter --enable-postproc --enable-swscale --enable-bzlib --enable-zlib --
enable-libfreetype --enable-pthreads --enable-fastdiv --enable-pic --enable-
libopencv --enable-shared --disable-libspeex --disable-vdpau --disable-vaapi
--disable-hwaccels --disable-static --disable-libdc1394 --disable-devices --
WARNING: library configuration mismatch
avutil configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --
mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=co
__________________________________________________________
__
(c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_comp=0.100000.
Output #0, ipod, to
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:53+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153],
q=0-69, 448 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height ffmpeg version 1.0-
thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Output #0, mjpeg, to
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und): Video: mjpeg, yuvj420p, 480x270 [SAR 67:68 DAR
268:153], q=2-31, 200 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 11kB time=00:00:00.04
bitrate=2308.2kbits/s
video:11kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
-----------------------
03.10.2012 03:29:53
Array
(
[calls] => Array
(
[video] => /usr/local/bin/ffmpeg -i
'/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k'
-bt '64k' -ar '44100' -ac '2' -r '25' -vf
'scale=480:266,setdar=16:9,pad=480:270:0:2:000000' -async '1' -maxrate '544k'
-f 'ipod' -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -
partitions '+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method
'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g '250' -keyint_min '25' -
sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -
bufsize '2M' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-
dct8x8' -wpredp '0' -timestamp 'now'
'/mnt/data/autotest/parts/ffmpeg/targets/test.x264.mp4' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
[thumb] => /usr/local/bin/ffmpeg -i
'/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -r '25' -f 'mjpeg'
-vframes '1' -ss '5' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000'
'/mnt/data/autotest/parts/ffmpeg/targets/images/test.x264.mp4.jpg' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
)
[result] =>
[status] => Video '/mnt/data/autotest/parts/ffmpeg/demo.mp4' konnte
nicht in '/mnt/data/autotest/parts/ffmpeg/targets/test.x264.mp4'
konvertiert werden werden
[status_thumb] => Thumbnail
'/mnt/data/autotest/parts/ffmpeg/targets/images/test.x264.mp4.jpg'
wurde erstellt
(Sekunde: 5)
[status_extended] => Array
(
)
[flvtool2] => 0
[qt_faststart] => 0
[duration] =>
[twopass] => 0
)
-----------------------
ffmpeg version 1.0-thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153],
q=0-69, pass 1, 448 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:0 -> #0:0 (h264 -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height ffmpeg version 1.0-
thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_comp=0.100000.
Output #0, ipod, to
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153],
q=0-69, pass 2, 448 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height ffmpeg version 1.0-
thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
timestamp is deprecated, set the 'creation_time' metadata tag instead.
-async is forwarded to lavfi similarly to -af
aresample=min_comp=0.001:min_hard_comp=0.100000.
Output #0, ipod, to
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf52.31.0
creation_time : 2012-10-03T01:29:54+0000
Stream #0:0(und): Video: none, yuv420p, 480x270 [SAR 67:68 DAR 268:153],
q=0-69, 448 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: none, 44100 Hz, stereo, s16, 128 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (aac -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height ffmpeg version 1.0-
thelounge.net Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 3 2012 03:08:46 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --
datadir=/usr/local/share/ffmpeg --incdir=/usr/local/include/ffmpeg --
libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -
msse4.1 -msse4.2 -fopenmp -mfpmath=sse -fstack-protector --param=ssp-
buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions' --extra-
version=thelounge.net --enable-nonfree --enable-gpl --enable-version3 --
enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --
enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --
enable-libxvid --enable-libvpx --enable-librtmp --enable-avfilter --enable-
postproc --enable-swscale --enable-bzlib --enable-zlib --enable-libfreetype --
enable-pthreads --enable-pic --enable-libopencv --enable-shared --disable-
libspeex --disable-vdpau --disable-vaapi --disable-hwaccels --disable-static --
disable-libdc1394 --disable-devices --disab libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.31.0
Duration: 00:00:20.24, start: 0.000000, bitrate: 654 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
yuv420p, 720x400 [SAR 80:81 DAR 16:9], 553 kb/s, SAR 79:80 DAR 711:400, 25
fps, 25 tbr, 25 tbn, 50 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 96 kb/s
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
Output #0, mjpeg, to
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.29.104
Stream #0:0(und): Video: mjpeg, yuvj420p, 480x270 [SAR 67:68 DAR
268:153], q=2-31, 200 kb/s, 90k tbn, 25 tbc
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 11kB time=00:00:00.04
bitrate=2308.2kbits/s
video:11kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
-----------------------
03.10.2012 03:29:55
Array
(
[calls] => Array
(
[video] => /usr/local/bin/ffmpeg -i
'/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k'
-bt '64k' -ar '44100' -ac '2' -r '25' -vf
'scale=480:266,setdar=16:9,pad=480:270:0:2:000000' -async '1' -maxrate '544k'
-f 'ipod' -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -
partitions '+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method
'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g '250' -keyint_min '25' -
sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -
bufsize '2M' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-
dct8x8' -wpredp '0' -timestamp 'now'
'/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
[thumb] => /usr/local/bin/ffmpeg -i
'/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -r '25' -f 'mjpeg'
-vframes '1' -ss '5' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000'
'/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg'
Post by Reindl Harald
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
)
[result] =>
[status] => Video '/mnt/data/autotest/parts/ffmpeg/demo.mp4' konnte
nicht in '/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4'
konvertiert werden werden
[status_thumb] => Thumbnail
'/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg'
wurde erstellt (Sekunde: 5)
[status_extended] => Array
(
)
[flvtool2] => 0
[qt_faststart] => 0
[duration] =>
[twopass] => failed
)
-----------------------
Reindl Harald
2012-10-03 08:24:34 UTC
Permalink
Post by Francois Visagie
-----Original Message-----
Sent: 03 October 2012 03:45
To: Mailing-List ffmpeg
0x7fff0d95cf00] Undefined constant or missing '(' in 'wpred'
something seems to go wrong in ffmpeg 1.0
see isolated error and at the end all called commands for H264 baseline from
my php-wrapper which should left untouched to work with older releases
if i remove 'flags2' it would be profile 'high' instead baaseline
version 1.0-thelounge.net Copyright
I got those errors when applying a command line from a 2009 build to an August 2012 build - the syntax had been changed. If I remember correctly, wpred is now weightb, flags2 is no longer supported etc.
0.10.5 from Sept 2012 does support it

hopefully the syntax has not changed because this is as show-stopper
for php-wrappers like mine since i can not expect that a crappy debian
server has ffmpeg 1.0 and bringing a debian-admin to fulfill deps and
compile it's own binary leaed one time to nearly jump out of the window
Roger Pack
2012-10-03 14:51:13 UTC
Permalink
Post by Reindl Harald
something seems to go wrong in ffmpeg 1.0
see isolated error and at the end all called commands for H264 baseline
from my php-wrapper which should left untouched to work with older releases
if i remove 'flags2' it would be profile 'high' instead baaseline
It would be nice if your output displayed the actual full console
command line used...
Reindl Harald
2012-10-03 15:07:18 UTC
Permalink
Post by Roger Pack
Post by Reindl Harald
something seems to go wrong in ffmpeg 1.0
see isolated error and at the end all called commands for H264 baseline
from my php-wrapper which should left untouched to work with older releases
if i remove 'flags2' it would be profile 'high' instead baaseline
It would be nice if your output displayed the actual full console
it did - you truncated it while you quoted my "at the end all called commands for H264 baseline"

my ffmpeg-wrapper does 2pass-ecoding and a thumbnail-image and put
the exact commands at the end after the buffered log

however, i worked around with a update to the php-wrapper using 'profile:v' and
hold back the old version for the one foreign server not maintained by me

the parallel installation of ffmpeg-0.8 and ffmpeg-1.0 as RPM is also solved
by building the "ffpmeg-latest" statically and delete all devel-stuff in
the setup-section of the SPEC file resulting in a single 11 MB large
/usr/local/bin/ffmeg
__________________________


03.10.2012 03:29:55
Array
(
[calls] => Array
(
[video] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -vb '448k' -ab '96k'
-bt '64k' -ar '44100' -ac '2' -r '25' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000' -async '1' -maxrate
'544k' -f 'ipod' -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -partitions
'+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method 'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g
'250' -keyint_min '25' -sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -bufsize
'2M' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-dct8x8' -wpredp '0' -timestamp 'now'
'/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
[thumb] => /usr/local/bin/ffmpeg -i '/mnt/data/autotest/parts/ffmpeg/demo.mp4' -y -r '25' -f 'mjpeg'
-vframes '1' -ss '5' -vf 'scale=480:266,setdar=16:9,pad=480:270:0:2:000000'
'/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg' >>
'/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log' 2>> '/mnt/data/autotest/parts/ffmpeg/logs/mp4_mp4-x264.log'
)

[result] =>
[status] => Video '/mnt/data/autotest/parts/ffmpeg/demo.mp4' konnte nicht in
'/mnt/data/autotest/parts/ffmpeg/targets/test_2p.x264.mp4' konvertiert werden werden
[status_thumb] => Thumbnail '/mnt/data/autotest/parts/ffmpeg/targets/images/test_2p.x264.mp4.jpg' wurde
erstellt (Sekunde: 5)
[status_extended] => Array
(
)

[flvtool2] => 0
[qt_faststart] => 0
[duration] =>
[twopass] => failed
)
Carl Eugen Hoyos
2012-10-03 22:09:32 UTC
Permalink
Post by Reindl Harald
something seems to go wrong in ffmpeg 1.0
Sorry, but there are too many command lines with too
many options (and too many configure options) to easily
parse what is your problem.

Please provide a minimal command line that allows to
reproduce your problem (ie that fails with current git
head and works with an older version) together with
complete, uncut console output. (You can provide the
output for a working version but it may not be
necessary).
If the problem is reproducible without using external
libraries (like faac and x264), then please provide
command lines that do not use these libraries, that
makes testing significantly easier (or, if the problem
is only reproducible with an external library, will
already point into the right direction).

Thank you, Carl Eugen
Reindl Harald
2012-10-05 10:01:42 UTC
Permalink
Post by Carl Eugen Hoyos
Post by Reindl Harald
something seems to go wrong in ffmpeg 1.0
Sorry, but there are too many command lines with too
many options (and too many configure options) to easily
parse what is your problem.
Please provide a minimal command line that allows to
reproduce your problem (ie that fails with current git
head and works with an older version) together with
complete, uncut console output. (You can provide the
output for a working version but it may not be
necessary)
support for flags2 seems to be removed

the intention was to set the flags for baseline/main explicit
because vpre, vprofile, profile are renamed randomly the last
years as also preset names and i try to avoid breaking my wrapper
randomly after ffmpeg-updates and make it work with almost all versions

the solution was remive 'flags2' and replace it with 'profile:v baseline'
but this is NOT compatible with ffmpeg 0.6.x and so i have now
a recent version of the wrapper for all mine/our machines using
ffmpeg 1.0 and a backup for foreign servers with older versions
___________________

i can not provide a minimal command line because this is a wrapper
and it's job is to generate exactly these command-lines and these
where tested in many many hours resulting in have as small as
possible files with almost best possible quality

i do not type command-lines manually

private $mp4_x264_options = array
(
array('param' => 'f', 'value' => 'ipod'),
array('param' => 'vcodec', 'value' => 'libx264'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'flags', 'value' => '+loop+mv4'),
array('param' => 'cmp', 'value' => '256'),
array('param' => 'partitions', 'value' => '+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8'),
array('param' => 'me_method', 'value' => 'hex'),
array('param' => 'me_range', 'value' => '16'),
array('param' => 'subq', 'value' => '7'),
array('param' => 'trellis', 'value' => '1'),
array('param' => 'refs', 'value' => '5'),
array('param' => 'g', 'value' => '250'),
array('param' => 'keyint_min', 'value' => '25'),
array('param' => 'sc_threshold', 'value' => '40'),
array('param' => 'i_qfactor', 'value' => '0.71'),
array('param' => 'qcomp', 'value' => '0.6'),
array('param' => 'qmin', 'value' => '0'),
array('param' => 'qmax', 'value' => '69'),
array('param' => 'qdiff', 'value' => '4'),
array('param' => 'bufsize', 'value' => '2M'),
array('param' => 'rc_lookahead', 'value' => '50'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => true),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
);

private $mp4_x264_fastpass_options = array
(
array('param' => 'f', 'value' => 'ipod'),
array('param' => 'vcodec', 'value' => 'libx264'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'flags', 'value' => '+loop+mv4'),
array('param' => 'cmp', 'value' => '+chroma'),
array('param' => 'partitions', 'value' => '-parti8x8-parti4x4-partp8x8-partb8x8'),
array('param' => 'me_method', 'value' => 'dia'),
array('param' => 'me_range', 'value' => '16'),
array('param' => 'subq', 'value' => '2'),
array('param' => 'trellis', 'value' => '0'),
array('param' => 'refs', 'value' => '1'),
array('param' => 'g', 'value' => '250'),
array('param' => 'keyint_min', 'value' => '25'),
array('param' => 'sc_threshold', 'value' => '40'),
array('param' => 'i_qfactor', 'value' => '0.71'),
array('param' => 'qcomp', 'value' => '0.6'),
array('param' => 'qmin', 'value' => '0'),
array('param' => 'qmax', 'value' => '69'),
array('param' => 'qdiff', 'value' => '4'),
array('param' => 'bufsize', 'value' => '2M'),
array('param' => 'rc_lookahead', 'value' => '30'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => true),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
);
private $format_options = array
(
'flv' => array
(
array('param' => 'f', 'value' => 'flv'),
array('param' => 'vcodec', 'value' => 'flv'),
array('param' => 'acodec', 'value' => 'libmp3lame'),
array('param' => 'qmax', 'value' => '69'),
array('param' => 'qdiff', 'value' => '4'),
array('param' => 'i_qfactor', 'value' => '0.71'),
array('param' => 'subq', 'value' => '7'),
array('param' => 'me_range', 'value' => '16'),
array('param' => 'cmp', 'value' => '256'),
array('param' => 'trellis', 'value' => '1'),
array('param' => 'refs', 'value' => '5'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => true),
array('param' => 'twopass', 'value' => true),
),
'ogv' => array
(
array('param' => 'f', 'value' => 'ogg'),
array('param' => 'vcodec', 'value' => 'libtheora'),
array('param' => 'acodec', 'value' => 'libvorbis'),
array('param' => 'i_qfactor', 'value' => '0.71'),
array('param' => 'qmin', 'value' => '0'),
array('param' => 'qmax', 'value' => '51'),
array('param' => 'qdiff', 'value' => '4'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'avi' => array
(
array('param' => 'f', 'value' => 'avi'),
array('param' => 'vcodec', 'value' => 'msmpeg4v2'),
array('param' => 'acodec', 'value' => 'libmp3lame'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'mp4' => array
(
array('param' => 'f', 'value' => 'mp4'),
array('param' => 'vcodec', 'value' => 'mpeg4'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => true),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'm4v' => array
(
array('param' => 'f', 'value' => 'mp4'),
array('param' => 'vcodec', 'value' => 'mpeg4'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'mbd', 'value' => '2'),
array('param' => 'trellis', 'value' => '2'),
array('param' => 'cmp', 'value' => '2'),
array('param' => 'subcmp', 'value' => '2'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => true),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'xvid' => array
(
array('param' => 'f', 'value' => 'mp4'),
array('param' => 'vcodec', 'value' => 'libxvid'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'wmv' => array
(
array('param' => 'vcodec', 'value' => 'wmv2'),
array('param' => 'acodec', 'value' => 'wmav2'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'vob' => array
(
array('param' => 'f', 'value' => 'vob'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'mpg' => array
(
array('param' => 'f', 'value' => 'mpeg'),
array('param' => 'vcodec', 'value' => 'mpeg2video'),
array('param' => 'acodec', 'value' => 'mp2'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'mpeg' => array
(
array('param' => 'f', 'value' => 'mpeg'),
array('param' => 'vcodec', 'value' => 'mpeg2video'),
array('param' => 'acodec', 'value' => 'mp2'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'mov' => array
(
array('param' => 'f', 'value' => 'mov'),
array('param' => 'vcodec', 'value' => 'mpeg4'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => true),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => true),
),
'webm' => array
(
array('param' => 'acodec', 'value' => 'libvorbis'),
array('param' => 'vcodec', 'value' => 'libvpx'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'mp3' => array
(
array('param' => 'f', 'value' => 'mp3'),
array('param' => 'acodec', 'value' => 'libmp3lame'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'aiff' => array
(
array('param' => 'f', 'value' => 'aiff'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'wav' => array
(
array('param' => 'f', 'value' => 'wav'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'flac' => array
(
array('param' => 'f', 'value' => 'flac'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'm4a' => array
(
array('param' => 'f', 'value' => 'adts'),
array('param' => 'acodec', 'value' => 'libfaac'),
array('param' => 'multithreading', 'value' => true),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'ogg' => array
(
array('param' => 'f', 'value' => 'ogg'),
array('param' => 'acodec', 'value' => 'libvorbis'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
'wma' => array
(
array('param' => 'acodec', 'value' => 'wmav2'),
array('param' => 'multithreading', 'value' => false),
array('param' => 'qt_faststart', 'value' => false),
array('param' => 'flvtool2', 'value' => false),
array('param' => 'twopass', 'value' => false),
),
);
Carl Eugen Hoyos
2012-10-05 15:09:30 UTC
Permalink
Post by Reindl Harald
the solution was remive 'flags2' and replace it with
'profile:v baseline'
(Am I correct that this change happened >1 year ago?
Or was this really recently?)
Post by Reindl Harald
but this is NOT compatible with ffmpeg 0.6.x
Just in case you don't know, this is of course
unrelated to your original problem:
FFmepg 0.6 releases were always "bad" in the sense
that they contain many regressions, most of them were
never fixed. If you need an old API version, 0.7
was at least much better maintained (and contains
fixes for all known regressions), and we never
received any reports about incompatibility afaict.

(And please understand that this is not directly
related to the fork etc., the 0.6 releases were
bad before the fork happened and were not improved
by the "new team" / traitors in any way.
Michael improved the situation by releasing 0.7 with
all known problems - a large number - fixed.)

[...]
Post by Reindl Harald
i can not provide a minimal command line
This makes it unlikely that I will look at it:
There are a few open tickets on trac and I believe
I am able to fix (or at least improve) some of them.

Carl Eugen
Reindl Harald
2012-10-05 15:18:29 UTC
Permalink
Post by Carl Eugen Hoyos
Post by Reindl Harald
the solution was remive 'flags2' and replace it with
'profile:v baseline'
(Am I correct that this change happened >1 year ago?
Or was this really recently?)
it must have happened after 0.10.x
Post by Carl Eugen Hoyos
Post by Reindl Harald
but this is NOT compatible with ffmpeg 0.6.x
Just in case you don't know, this is of course
FFmepg 0.6 releases were always "bad" in the sense
that they contain many regressions, most of them were
never fixed. If you need an old API version, 0.7
was at least much better maintained (and contains
fixes for all known regressions), and we never
received any reports about incompatibility afaict.
i am almost but not always in the position to decide what
operating system and software-versions are installed

thats the problem, my machines are all having the same ffmpeg
and are updated at the same time
Post by Carl Eugen Hoyos
Post by Reindl Harald
i can not provide a minimal command line
There are a few open tickets on trac and I believe
I am able to fix (or at least improve) some of them
no problem, for me it is solved by having two wrappers
one for machines maintained by me and one for debian crap

hopefully after ffmpeg 1.0 params for the command-line will be stable

it's not really possible to find out froma php-script what
exactly version of ffmpeg is available to generate different
calls - not in a cean and portable way
Stefano Sabatini
2012-10-11 11:57:49 UTC
Permalink
On date Friday 2012-10-05 17:18:29 +0200, Reindl Harald encoded:
[...]
Post by Reindl Harald
it's not really possible to find out froma php-script what
exactly version of ffmpeg is available to generate different
calls - not in a cean and portable way
You may consider to parse ffmpeg -version or ffprobe -show_versions,
added since 0.10 (assuming ffprobe has the same version of ffmpeg),
and tweak your scripts accordingly.

Occasional syntax breaks from one release to the next are
unfortunately unavoidable. But again, using ancient and unmaintained
versions should be avoided.
--
ffmpeg-user random tip #11
One minute of video silence with ffmpeg:
ffmpeg -t 60 -s qcif -f rawvideo -pix_fmt rgb24 -r 25 -i /dev/zero \
-y silence.mpeg
Reindl Harald
2012-10-11 12:11:33 UTC
Permalink
Post by Stefano Sabatini
[...]
Post by Reindl Harald
it's not really possible to find out froma php-script what
exactly version of ffmpeg is available to generate different
calls - not in a cean and portable way
You may consider to parse ffmpeg -version or ffprobe -show_versions,
added since 0.10 (assuming ffprobe has the same version of ffmpeg),
and tweak your scripts accordingly.
the output is not really helpful
first: for snapshots you can do nothing with it
second: it is exactly the same output as "ffmpeg" except the help-lines at the end

[***@rh:~]$ ffmpeg -version
ffmpeg version N-45210-gef9fe5b
built on Oct 9 2012 16:31:21 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
configuration: --prefix=/usr/local --bindir=/usr/local/bin --datadir=/usr/local/share/ffmpeg
--incdir=/usr/local/include/ffmpeg --libdir=/usr/local/lib64 --mandir=/usr/local/man --arch=x86_64
--extra-cflags='-I/usr/local/include -O3 -march=corei7 -mtune=corei7 -mmmx -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp
-mfpmath=sse -fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2 -fexceptions'
--extra-ldflags='-I/usr/local/include -L/usr/local/lib64' --extra-version=thelounge.net --enable-nonfree
--enable-gpl --enable-version3 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libvpx
--enable-librtmp --enable-libfreetype --enable-libopencv --enable-static --enable-runtime-cpudetect
--disable-shared --disable-libspeex --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-vdpau
--disable-vaapi --disable-hwaccels --disable-libdc1394 --disable-devices --disable-amd3dnow --disable-amd3dnowext
--disable-protocol=gopher --disable-ffserver --disable-ffplay --disable-ffprobe --disable-avdevice --disable-debug
--disable-htmlpages --disable-podpages --disable-txtpages --shlibdir=/usr/local/lib64
libavutil 51. 74.100 / 51. 74.100
libavcodec 54. 65.100 / 54. 65.100
libavformat 54. 31.100 / 54. 31.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Post by Stefano Sabatini
Occasional syntax breaks from one release to the next are
unfortunately unavoidable.
not really

i see no technical reason as example for the switches
vpre 'baseline' to 'profile:v basline'

the command-line param is a user-interface
what it does exactly in the backround while working
with x264 is abstract and does not need to bother the user
Post by Stefano Sabatini
But again, using ancient and unmaintained
versions should be avoided
if it is not my server, the customer decides to host
on his own and is using debian i am not in the position
to decide what version there is installed nor can i
help his admin to build debian-packages since i am
a redhat user since many years and debian does not
interest me at all
Clément Bœsch
2012-10-11 19:58:15 UTC
Permalink
Post by Reindl Harald
Post by Stefano Sabatini
[...]
Post by Reindl Harald
it's not really possible to find out froma php-script what
exactly version of ffmpeg is available to generate different
calls - not in a cean and portable way
You may consider to parse ffmpeg -version or ffprobe -show_versions,
added since 0.10 (assuming ffprobe has the same version of ffmpeg),
and tweak your scripts accordingly.
the output is not really helpful
first: for snapshots you can do nothing with it
Why? The major, minor or micro bump is committed along with the change so
it should work.
Post by Reindl Harald
second: it is exactly the same output as "ffmpeg" except the help-lines at the end
You have writers to customize to something easily parsable, like let's
say:
./ffprobe -v 0 -show_versions -of csv

More about writers: http://ffmpeg.org/ffprobe.html#Writers

Of course, that's a relatively recent way of getting version, I'm not sure
how well it fits with your problem.

[...]
--
Clément B.
Reindl Harald
2012-10-11 20:01:06 UTC
Permalink
Post by Clément Bœsch
You have writers to customize to something easily parsable, like let's
./ffprobe -v 0 -show_versions -of csv
More about writers: http://ffmpeg.org/ffprobe.html#Writers
Of course, that's a relatively recent way of getting version, I'm not sure
how well it fits with your problem
exactly that is the problem

however, hopefully after 1.0 command-lines will be more "stable"
and abstract technical changes inside........

Loading...