And now a complete patch that makes ffmpeg2dirac build.
However, it disables some code in ffmpeg2dirac.cpp:
@@ -2924,7 +2955,9 @@ int main (int argc, char **argv){
formatParams->time_base.den = convert->framerate.num;
formatParams->time_base.num = convert->framerate.den;
}
+#if FF_API_PARAMETERS_CODEC_ID
formatParams->video_codec_id = av_guess_image2_codec(inputfile_name);
+#endif
}
if (av_open_input_file(&convert->context, inputfile_name, input_fmt, 0,
formatParams) >= 0){
if (av_find_stream_info (convert->context) >= 0){
I haven't been able to find out what's the new API equivalent of that,
but I suspect setting video_codec_id might be unnecessary. Please highlight
that upstream, however.
Regards,
Dominik
--
Fedora
http://fedoraproject.org/wiki/User:Rathann
RPMFusion
http://rpmfusion.org | MPlayer
http://mplayerhq.hu
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"