[FFmpeg-devel] [PATCH] avformat/mxfenc: AVC Intra support

Michael Niedermayer michaelni at gmx.at
Mon Oct 27 23:48:46 CET 2014

On Mon, Oct 27, 2014 at 05:21:12PM +0000, Thomas Mundt wrote:
> Hi, I´ve seen that there has been approach last month to implement AVC Intra mxf muxing. I tested the patches, but it didn´t work with any of my samples. Since there also has been discussions about the gpl restriction, I rewrote the patch. I had some basics, because I had written a working patch for myself some time ago, which was more of a hack and only worked with AVCI100 1080i50.
> I hope this could be licenced to lgpl, because I got all labels from libmxf and libbmx and only used code snippets from avcodec/h264_parser.c
> To keep h264 parsing simple and fast, I used the framesize for selecting the right Panasonic codec label. The framesize is fixed for Panasonic AVC Intra.
> This patch only supports AVCI50/100. But in all flavours, i.e. with no SPS/PPS in header.
> http://pastebin.com/v7gF1vDq

-    AVIOContext *pb = s->pb;
-    MXFStreamContext *sc = st->priv_data;
-    int profile_and_level = (st->codec->profile<<4) | st->codec->level;
+    if (st->codec->codec_id != CODEC_ID_H264) {

this should be AV_CODEC_ID_H264

also i suggest you subscribe to the mailing list, so your mails arent
held in the moderation que and you see replies (there where several


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141027/cc3a2015/attachment.asc>

More information about the ffmpeg-devel mailing list