These are approximate encoding settings.
from vapoursynth import core
import havsfunc as haf
clip = core.lsmas.LWLibavSource('00000.m2ts')
clip = haf.QTGMC(clip, Preset='Fast', Sharpness=0.3, FPSDivisor=1, TFF=True)
clip = core.resize.Spline36(clip, width=1440, height=1080)
clip.set_output()
vspipe --y4m script.vpy - | ffmpeg -hide_banner -i pipe: -c:v libx264 -preset veryslow -tune film -crf 19 -x264-params ref=9:bframes=9:no-fast-pskip=1 video.mkv
ffmpeg -hide_banner -i 00000.m2ts -c:a libopus -b:a 96k audio.mka
Unique ID                                : 255481153148731058287395656050254064333 (0xC033E15BD6493B5EE7AAD6CD0CFCAACD)
Complete name                            : VPXF-75103.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 2.04 GiB
Duration                                 : 39 min 45 s
Overall bit rate                         : 7 344 kb/s
Encoded date                             : UTC 2019-11-27 22:48:51
Writing application                      : mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5
Format settings                          : CABAC / 9 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 9 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 39 min 44 s
Bit rate                                 : 7 240 kb/s
Width                                    : 1 440 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Original display aspect ratio            : 4:3
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.078
Stream size                              : 2.01 GiB (99%)
Default                                  : Yes
Forced                                   : No
Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 39 min 44 s
Bit rate                                 : 99.9 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 50.000 FPS (960 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 80 ms
Stream size                              : 28.4 MiB (1%)
Default                                  : Yes
Forced                                   : No