Log in

View Full Version : AVC-Intra


leoenc
25th November 2011, 17:20
Anyone knows of a free way to wrap AVC-Intra into MXF?

I've encoded AVC-Intra 100 using x264 but have no way to wrap it into MXF.

ffmpeg or ffmbc won't do it.

Blue_MiSfit
25th November 2011, 22:10
If you're doing this outside a "pro" encoder, you will probably have to go out and buy something from MOG, OpenCube, or one of the other companies that make MXF SDKs. I'm not personally aware of any standalone high quality muxers (like Manzanita's stuff).

Derek

leoenc
26th November 2011, 18:34
Derek,

Thanks, I thought about that and I'm currently trying the MOG MXF wrapper which unfortunately rejects the x264 stream. Although I believe I got all the right parameters.
Any ideas what it doesn't like about this? :

x264_10bit.exe --preset superfast --profile high422 --level 4.1 --output-csp i422 --keyint 1 --no-cabac --bitrate 100000 --vbv-maxrate 100000 --vbv-bufsize 4000 --nal-hrd cbr --pic-struct --videoformat component --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1 --interlaced --output output.264 input.avs

kieranrk
27th November 2011, 02:03
The settings look fine. I'm surprised ffmpeg/ffmbc don't mux it correctly though.

leoenc
27th November 2011, 08:25
They don't mux it at all:

Stream #0.0(und): Video: h264 (High 4:2:2 Intra), yuv422p10le, 1920x1080i tf
f [PAR 1:1 DAR 16:9], 25.00 fps
[mxf @ 0436bae0] track 0: could not find essence container ul, codec not current
ly supported in container
Could not write header for output file #0

nm
27th November 2011, 12:52
They don't mux it at all:

Stream #0.0(und): Video: h264 (High 4:2:2 Intra), yuv422p10le, 1920x1080i tf
f [PAR 1:1 DAR 16:9], 25.00 fps
[mxf @ 0436bae0] track 0: could not find essence container ul, codec not current
ly supported in container
Could not write header for output file #0

Does your ffmpeg build include this patch: http://patches.libav.org/patch/6961/?
Current FFmpeg has it, libav doesn't.

Blue_MiSfit
27th November 2011, 23:32
leoenc,

You might want to open a support ticket with MOG. Small shops like that are usually very responsive to things like this. My guess is that x264 is making a technically valid stream, and their muxer isn't reading it correctly (or something along those lines). I could be wrong, but in any case it would be good to know why. It could be a simple fix on their side :)

Derek

leoenc
28th November 2011, 11:57
#Blue_MiSfit,

Thanks, I will try that.

@nm,

Thanks, I am not sure. I'm using the latest from Zeranoe (Dated Nov 21). I couldn't find where it says which patches did he use to build it.

Do you know about a build which definitely has it?

leoenc
28th November 2011, 15:19
Seems that x264 doesn't output compliant AVC-Intra streams. I've tried 2 commercial muxers and they didn't accept the stream.
Handing over the stream for analysis at one of the commercial companies, they say they don't find any of the packages that make an AVC-Intra file, like Access Unit Delimiter or SEI messaging.
(BTW I've tried adding --aud but it didn't help)

Dark Shikari
28th November 2011, 15:48
AVC-Intra requires some really weird special requirements in addition to the basic frame size and such. Patches welcome to add these; the spec is really complex, IIRC.

leoenc
28th November 2011, 16:14
Any idea if this is the correct spec?:
http://store.smpte.org/product-p/rp%202027-2011.htm

poisondeathray
28th November 2011, 17:37
wikipedia (I know , not the best source) , says it follows SMPTE RP 2027-2007
http://en.wikipedia.org/wiki/AVC-Intra

I thought "AVC-Intra 100" (trademark) was a proprietary Panasonic implementation of that spec