[FFmpeg-user] EVS compatible AVC Intra 100

Victor Diez diez at outlook.com
Tue Jan 24 16:00:25 EET 2017


Hello all,


I'm trying to generate an AVC Intra 100 from an XDCAM 50 file. I already have compiled x264 with 10bit depth and seems to be correctly transcoding. The problem is that EVS doesn't seem to properly recognize it. Amberfin is working properly with the generated mxf however.


This is my current command line:


ffmpeg10bit -i xdcam50.mxf -map 0 -c:v libx264 -r 25 -g 1 -pix_fmt yuv422p10le -vb 100M -flags +ildct+ilme -tune psnr -x264opts avcintra-class=100 -x264opts colorprim=bt709 -x264opts transfer=bt709 -x264opts colormatrix=bt709 -x264opts tune=psnr -x264opts interlaced=1 -x264opts force-cfr=1 -x264opts fps=25/1 -vf "setfield=1" -c:a copy -f mxf avci100.mxf


I even tried using bmxlib to rewrap the mxf, but no luck. This is the command line:


bmxtranswrap --coding-eq 'bt709' --color-prim 'bt709' --transfer-ch 'bt709' -o avci100final.mxf avci100.mxf


Also, when I compare the Media Info output from an EVS generated AVC Intra with my transcode, you can see this:


EVS                                                             ffmpeg + bmx
ID  : 2                                                         ID  : 1001
Format  : AVC                                                   Format  : AVC
Format/Info : Advanced Video Codec                              Format/Info : Advanced Video Codec
Format profile : High 4:2:2 Intra at L4.1                          Format profile : High 4:2:2 Intra at L4.1
Format settings, CABAC : No                                     Format settings, CABAC : No
Format settings, GOP : N=1                                      Format settings, GOP : N=1
Format settings, wrapping mode : Frame                          Format settings, wrapping mode : Frame
Codec ID  : 0D01030102106001-0401020201323102                   Codec ID  : 0D01030102106001-0401020201323001
Duration  : 11 min                                              Duration  : 24s 240ms
Bit rate  : 100.0 Mb/s                                          Bit rate  : 100.0 Mbps
Width  : 1 920 pixels                                           Width  : 1 920 pixels
Height  : 1 080 pixels                                          Height  : 1 080 pixels
Display aspect ratio : 16:9                                     Display aspect ratio : 16:9
                                                                Frame rate mode : Variable
Frame rate : 25.000 FPS                                         Frame rate : 25.000 fps
Standard  : Component
Color space : YUV                                               Color space : YUV
Chroma subsampling : 4:2:2                                      Chroma subsampling : 4:2:2
Bit depth : 10 bits                                             Bit depth : 10 bits
Scan type : MBAFF                                               Scan type : MBAFF
                                                                Scan type, store method : Interleaved fields
Scan order : Top Field First                                    Scan order : Top Field First
Bits/(Pixel*Frame) : 1.929                                      Bits/(Pixel*Frame) : 1.929
Stream size : 8.32 GiB (84%)                                    Stream size : 289 MiB (91%)
Title  : Picture                                                Title  : V1
Color range : Full
                                                                Writing library : x264 core 148 r2705 3f5ed56
                                                                Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=tff / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=1 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc=abr / mbtree=0 / bitrate=100000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=0

Color primaries : BT.709                                        Color primaries : BT.709
Transfer characteristics : BT.709                               Transfer characteristics : BT.709
Matrix coefficients : BT.709                                    Matrix coefficients : BT.709


It's very similar but what worries me is the codec id, which both differ. And why Mediainfo is reporting variable frame rate with my transcode. You can also see the different essence comparing the output of mxf2raw -i:

My transcode:
      essence_kind    : Picture
      essence_type    : AVC_High_422_Intra

EVS AVC Intra 100:
      essence_kind    : Picture
      essence_type    : AVCI_100_1080i


Do you know if there is any way in which I can get rid of those differences? Even though I'm not even sure those differences are the reason why EVS is not accepting my file.


Anyone has experience with generating EVS compatible AVC Intra 100 files?


Thank you and best regards,

Victor


More information about the ffmpeg-user mailing list