
264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 Output: ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developersīuilt with gcc 6.2.1 (GCC) 20160916 (Red Hat 6.2.1-2)Ĭonfiguration: -arch=x86_64 -bindir=/usr/bin -datadir=/usr/share/ffmpeg -disable-debug -disable-static -disable-stripping -enable-avfilter -enable-avresample -enable-bzlib -enable-cuda -enable-cuvid -enable-libnpp -enable-doc -enable-fontconfig -enable-frei0r -enable-gnutls -enable-gpl -enable-iconv -enable-libass -enable-libbluray -enable-libcdio -enable-libdc1394 -enable-libebur128 -enable-libfdk-aac -enable-libfreetype -enable-libfribidi -enable-libgsm -enable-libkvazaar -enable-libmfx -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenh264 -enable-libopenjpeg -enable-libopus -enable-libpulse -enable-librtmp -enable-libschroedinger -enable-libsoxr -enable-libspeex -enable-libssh -enable-libtheora -enable-libtwolame -enable-libv4l2 -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxcb -enable-libxcb-shm -enable-libxcb-xfixes -enable-libxcb-shape -enable-libxvid -enable-libzvbi -enable-lzma -enable-nonfree -enable-openal -enable-opencl -enable-nvenc -enable-opengl -enable-postproc -enable-pthreads -enable-sdl2 -enable-shared -enable-version3 -enable-x11grab -enable-xlib -enable-zlib -extra-cflags='-I/usr/include/nvenc -I/usr/include/cuda' -incdir=/usr/include/ffmpeg -libdir=/usr/lib64 -mandir=/usr/share/man -optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' -prefix=/usr -shlibdir=/usr/lib64 -enable-runtime-cpudetectĭuration: 01:15:49.44, start: 0.984822, bitrate: 19636 kb/s

The quality is not the best, but it is okay, but converting it with ffmpeg without any additional options makes the video interlaced and very ugly with that: ffmpeg -i input.m2ts output.mkv


I have a m2ts video file that contains a h264 video stream and an ac3 audio stream.
