Closed GoogleCodeExporter closed 8 years ago
I've done some more investigating and found out that the patch described in the
bug report doesn't work correctly for us.
The assets it produces cause Premiere Pro CS5 (our target application) to crash
- I guess it can't handle high profile proxies.
So I've modified our patch to return "main" profile instead of "high".
The patch now looks like this:
--- FFmbc-0.7-rc4/libavformat/mxfenc.c 2011-10-28 04:12:29.000000000 +0100
+++ FFmbc-0.7-rc4-dmi-high-profile/libavformat/mxfenc.c 2011-12-07
10:55:56.000000000 +0000
@@ -1348,9 +1348,10 @@
static const UID *mxf_get_mpeg2_codec_ul(AVCodecContext *avctx)
{
int long_gop = avctx->gop_size > 1 || avctx->has_b_frames;
if (avctx->profile == 4) { // Main
- if (avctx->level == 8) // Main
+ if (avctx->level == 8 || avctx->level == 6) // Main
return &mxf_mpeg2_codec_uls[0+long_gop];
else if (avctx->level == 4) // High
return &mxf_mpeg2_codec_uls[4+long_gop];
Does that still make sense?
Original comment by boncey@gmail.com
on 7 Dec 2011 at 11:50
This is wrong, your file is H-14 level and the UL is not this one. I'll fix
that in next release.
Original comment by baptiste...@gmail.com
on 7 Dec 2011 at 8:35
Original comment by baptiste...@gmail.com
on 7 Dec 2011 at 8:35
Should be fixed in rc5
Original comment by baptiste...@gmail.com
on 12 Jan 2012 at 5:49
Original comment by baptiste...@gmail.com
on 12 Jan 2012 at 5:50
Original issue reported on code.google.com by
boncey@gmail.com
on 6 Dec 2011 at 2:22