[FFmpeg-user] EVS compatible AVC Intra 100

Victor Diez victor at diez.online
Wed Jan 25 11:42:34 EET 2017


Thanks for the answers.


I didn't paste the output because I did not get any error. I already checked with EVS and just wanted to make sure I got the "standard"AVC Intra 100 parameters right and that I was not making any mistake before getting back to them.


Erik, the mxf was one of my suspicions as well, that's why I rewrapped the file with bmxtranswrap so I could get v1.3 instead of 1.2.


This is the output I'm getting, all seems ok to me.


host:~$ ffmpeg10bit -i /mnt/file.mxf -coder 0 -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 ~/test.mxf
ffmpeg version n3.1.6-8-g6c96200 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --prefix=/usr --enable-gpl --enable-libx264 --enable-pthreads --enable-static --extra-cflags=-I./x264/include --extra-ldflags=-L./x264/lib --extra-libs=-ldl --progs-suffix=10bit
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Input #0, mxf, from '/mnt/file.mxf':
  Metadata:
    uid             : 479ac510-b1ae-11e6-9a9c-002590e81d4f
    generation_uid  : 479ac510-b1ae-11e6-9a9d-002590e81d4f
    company_name    : OC
    product_name    : OCTk
    product_version : 2.8
    product_uid     : 3a4fe380-0d01-11e4-869f-3cd92b5c1dfc
    modification_date: 2016-11-23 19:54:36
    material_package_umid: 0x060A2B340101010501010D201300000047998C90B1AE11E69A7F002590E81D4F
    timecode        : 19:49:40:00
  Duration: 00:00:24.00, start: 0.000000, bitrate: 60781 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
[libx264 @ 0x27b6f60] using SAR=1/1
[libx264 @ 0x27b6f60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x27b6f60] profile High 4:2:2 Intra, level 4.1, 4:2:2 10-bit
[mxf @ 0x2ac8960] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 8 times
Output #0, mxf, to '/home/upop/test.mxf':
  Metadata:
    uid             : 479ac510-b1ae-11e6-9a9c-002590e81d4f
    generation_uid  : 479ac510-b1ae-11e6-9a9d-002590e81d4f
    company_name    : OC
    product_name    : OCTk
    product_version : 2.8
    product_uid     : 3a4fe380-0d01-11e4-869f-3cd92b5c1dfc
    modification_date: 2016-11-23 19:54:36
    material_package_umid: 0x060A2B340101010501010D201300000047998C90B1AE11E69A7F002590E81D4F
    timecode        : 19:49:40:00
    encoder         : Lavf57.41.100
    Stream #0:0: Video: h264 (libx264), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 100000 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
      encoder         : Lavc57.48.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/100000000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000047987B20B1AE11E69A64002590E81D4F
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
  Stream #0:5 -> #0:5 (copy)
  Stream #0:6 -> #0:6 (copy)
  Stream #0:7 -> #0:7 (copy)
  Stream #0:8 -> #0:8 (copy)
Press [q] to stop, [?] for help
[mxf @ 0x2ac8960] -d10_channelcount requires MXF D-10 and will be ignored
    Last message repeated 7 times
frame=  606 fps= 29 q=-1.0 Lsize=  326581kB time=00:00:24.24 bitrate=110369.1kbits/s dup=2 drop=0 speed=1.16x
video:296997kB audio:27270kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.713620%
[libx264 @ 0x27b6f60] frame I:606   Avg QP:32.97  size:501856
[libx264 @ 0x27b6f60] mb I  I16..4:  2.2% 82.1% 15.7%
[libx264 @ 0x27b6f60] final ratefactor: 14.18
[libx264 @ 0x27b6f60] field mbs: intra: 38.5%
[libx264 @ 0x27b6f60] 8x8 transform intra:82.1%
[libx264 @ 0x27b6f60] coded y,uvDC,uvAC intra: 99.8% 99.9% 95.6%
[libx264 @ 0x27b6f60] i16 v,h,dc,p:  1%  7% 75% 16%
[libx264 @ 0x27b6f60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  4% 43% 23%  3%  3%  2%  7%  2% 12%
[libx264 @ 0x27b6f60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 40% 11%  4%  5%  4%  9%  4% 13%
[libx264 @ 0x27b6f60] i8c dc,h,v,p: 61% 18%  9% 11%
[libx264 @ 0x27b6f60] kb/s:100371.11


In principle if you guys can confirm me that nothing looks weird in my command line for an AVC Intra 100 transcode that would be great so I can check back with EVS more confidently :)

Thanks,
Victor



________________________________
De: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> en nombre de Erik Dobberkau <erik.dobberkau at gmail.com>
Enviado: miƩrcoles, 25 de enero de 2017 9:34:46
Para: FFmpeg user questions
Asunto: Re: [FFmpeg-user] EVS compatible AVC Intra 100

> > The problem is that EVS doesn't seem to properly recognize it. Amberfin
> is
> > working properly with the generated mxf however.
>
> (Maybe you should ask EVS why they don't like the file?)


>

> I think the best way is to compare the ffmpeg result (and the EVS file) to
> an original Panasonic file. EVS doesn't write 100% identical files as the
> cam would.
>

Also, ffmpeg is/used to be not very good at writing op-atom, I've had
better results using the bmxtools or ffmbc if you want to avoid batch
processing a single file with multiple tools.

Erik
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list