[FFmpeg-user] ffmpeg 1.0 [NULL @ 0xcb4700] [Eval @ 0x7fff0d95cf00] Undefined constant or missing '(' in 'wpred'
Reindl Harald
h.reindl at thelounge.net
Fri Oct 5 12:01:42 CEST 2012
Am 04.10.2012 00:09, schrieb Carl Eugen Hoyos:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
>
>> 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),
),
);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121005/93fba059/attachment.asc>
More information about the ffmpeg-user
mailing list