[FFmpeg-user] 1080i AVC-I 100 frame rate conversion

Bruce Roberts roberb04 at gmail.com
Mon Mar 29 13:46:51 EEST 2021


Hi again Carl,

I've done another test and have uploaded both the input and output files
(which shows the luminance bands problem near the bottom of the output
picture) here:
https://drive.google.com/drive/folders/1YTUNHm4_oIZFfGge-JqlDT0c71ioLulY?usp=sharing

Here is my command and the console output:

ffmpeg \
-r 23.976 -i /Volumes/Samsung_T5/bars_23_976.mxf \
-filter_complex \
"[0:v:0]yadif=1:-1:0[vdeint]; \
[vdeint]framerate=fps=25[v25fps]" \
-map "[v25fps]" -map a: -codec:v libx264 -s:v 1920x1080 -flags +ilme+ildct
-x264opts avcintra-class=100:tff=1 \
-codec:a pcm_s24le -ar 48000 -ac 1 \
-map_metadata -1 \
/Volumes/Samsung_T5/output_25.mxf



ffmpeg version git-2021-01-20-24dc6d38 Copyright (c) 2000-2021 the FFmpeg
developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.28)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-24dc6d3_6
--enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl
--enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus
--enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libfontconfig
--enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash
--disable-libjack --disable-indev=jack --enable-opencl
--enable-videotoolbox --disable-htmlpages --enable-libfdk-aac
--enable-nonfree
  libavutil      56. 63.101 / 56. 63.101
  libavcodec     58.117.101 / 58.117.101
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 96.100 /  7. 96.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mxf, from '/Volumes/Samsung_T5/bars_23_976.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version : 58.65.101
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    material_package_umid:
0x060A2B340101010501010D0013CE32D052947134F8CE32D00052947134F8CE00
    timecode        : 00:58:30:00
  Duration: 00:00:10.01, start: 0.000000, bitrate: 92024 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709,
progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98
tbn, 47.95 tbc
    Metadata:
      file_package_umid:
0x060A2B340101010501010D0013CE32D052947134F8CE32D00052947134F8CE01
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid:
0x060A2B340101010501010D0013CE32D052947134F8CE32D00052947134F8CE01
Stream mapping:
  Stream #0:0 (h264) -> yadif (graph 0)
  framerate (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
[Parsed_framerate_1 @ 0x7f8568704500] time base:125/5994 -> 1/149850 exact:1
[Parsed_framerate_1 @ 0x7f8568704500] fps -> fps:25/1 scene score:8.200000
interpolate start:15 end:240
[libx264 @ 0x7f855e00d600] using SAR=1/1
[libx264 @ 0x7f855e00d600] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f855e00d600] profile High 4:2:2 Intra, level 4.1, 4:2:2,
10-bit
Output #0, mxf, to '/Volumes/Samsung_T5/output_25.mxf':
  Metadata:
    encoder         : Lavf58.65.101
    Stream #0:0: Video: h264, yuv422p10le(pc, bt709, progressive),
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc58.117.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      encoder         : Lavc58.117.101 pcm_s24le
frame=  251 fps= 64 q=-1.0 Lsize=  141195kB time=00:00:10.04
bitrate=115205.7kbits/s speed=2.56x
video:139430kB audio:1408kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.253048%
[libx264 @ 0x7f855e00d600] frame I:251   Avg QP:14.87  size:568832
[libx264 @ 0x7f855e00d600] mb I  I16..4:  0.0% 100.0%  0.0%
[libx264 @ 0x7f855e00d600] field mbs: intra: 0.0%
[libx264 @ 0x7f855e00d600] 8x8 transform intra:100.0%
[libx264 @ 0x7f855e00d600] coded y,uvDC,uvAC intra: 8.1% 3.9% 1.8%
[libx264 @ 0x7f855e00d600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 22% 30%  1%
 0%  0%  0%  0%  0%
[libx264 @ 0x7f855e00d600] i8c dc,h,v,p: 85%  7%  8%  0%
[libx264 @ 0x7f855e00d600] kb/s:113766.41

Many thanks,
Bruce.

>


More information about the ffmpeg-user mailing list