This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Mp4 video frames stutter after conversion from mkv in Hybrid
Hello everyone, first poster, long time searcher. I have run into an issue converting a large collection of old snowboarding videos from mkv to mp4 recently. I am currently using MakeMKV to extract the main title file from the DVDs and running them through Hybrid. I read the info section about what's asked when reporting a problem and I apologize in advance, I do not have a script of the settings I used in hybrid (could not figure out how to produce it). I can only post a short clip of one of the chapters I encoded from the mkv to show what I am talking about. Searched all the boards here for this issue and nothing really comes up.

My problem is this: the attached video stutters after encoding in certain sections. I compared it to the mkv file and the mkv does not do this. I deinterlaced using Avisynth QTGMC bob x64 in Hybrid with KNLmeans default, QTGMC slower preset. x264 very slow preset, CRF 19, scaled up to 1440x1080. Output is x264 mp4, 59.94fps, 1440x1080 aac audio. I tried this with different audio outputs because I thought it might have something to do with matching the audio to the video but it all produced the same results. The only thing I haven't tried is keeping the fps the same as the input but I've not had this issue going from interlaced to progressive with other interlaced videos. Hybrid tells me the original file is bottom field first and ffprobe  confirms this so I left that setting alone as well.

If you go to about 20 seconds in, you can see what I am talking about.

My question would be is there a setting in the filters or frame settings that I need to toggle to eliminate this problem?

You could cut the mkv with mkvtoolnix gui and share a small sample which allows reproducing the problem.
Without having a sample of the source and no debug output of what Hybrid analyzed and used, I can only guess:
If your source was flagged with the wrong field order, you could overwrite the field order to the correct value.
If the source is mixed content (mix of interlaced (tff, bff) and maybe telecined and progressive) depending on source Hybrid can't really help and a custom script would be needed.

Cu Selur
Not sure why I'm having issues attaching files directly to this board but here's another Vimeo link to the original chapter from the MKV that was tested. Used mkvtoolnix to clip it.

Also included the ffprobe text file.
Last login: Tue Jul  9 12:17:42 on ttys000
richmadrid@Richs-MacBook-Air ~ % cd downloads
richmadrid@Richs-MacBook-Air downloads % ffprobe -i b1_t00.mkv
ffprobe version 7.0.1 Copyright (c) 2007-2024 the FFmpeg developers
  built with Apple clang version 15.0.0 (clang-1500.
  configuration: --prefix=/usr/local/Cellar/ffmpeg/7.0.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, matroska,webm, from 'b1_t00.mkv':
    encoder         : libmakemkv v1.17.7 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2024-07-10T03:35:24.000000Z
  Duration: 00:41:20.64, start: 0.000000, bitrate: 7389 kb/s
    Chapter #0:0: start 0.000000, end 169.369200
        title           : Chapter 01
    Chapter #0:1: start 169.369200, end 354.554200
        title           : Chapter 02
    Chapter #0:2: start 354.554200, end 509.308800
        title           : Chapter 03
    Chapter #0:3: start 509.308800, end 619.819200
        title           : Chapter 04
    Chapter #0:4: start 619.819200, end 697.496800
        title           : Chapter 05
    Chapter #0:5: start 697.496800, end 804.403600
        title           : Chapter 06
    Chapter #0:6: start 804.403600, end 944.143200
        title           : Chapter 07
    Chapter #0:7: start 944.143200, end 1059.458400
        title           : Chapter 08
    Chapter #0:8: start 1059.458400, end 1167.766600
        title           : Chapter 09
    Chapter #0:9: start 1167.766600, end 1319.117800
        title           : Chapter 10
    Chapter #0:10: start 1319.117800, end 1428.226800
        title           : Chapter 11
    Chapter #0:11: start 1428.226800, end 1512.911400
        title           : Chapter 12
    Chapter #0:12: start 1512.911400, end 1595.594000
        title           : Chapter 13
    Chapter #0:13: start 1595.594000, end 1648.046400
        title           : Chapter 14
    Chapter #0:14: start 1648.046400, end 1807.405600
        title           : Chapter 15
    Chapter #0:15: start 1807.405600, end 1914.913000
        title           : Chapter 16
    Chapter #0:16: start 1914.913000, end 2010.808800
        title           : Chapter 17
    Chapter #0:17: start 2010.808800, end 2217.615400
        title           : Chapter 18
    Chapter #0:18: start 2217.615400, end 2480.644833
        title           : Chapter 19
  Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, bottom first), 704x480 [SAR 10:11 DAR 4:3], 7000 kb/s, 29.97 fps, 29.97 tbr, 1k tbn
        BPS-eng         : 6999957
        DURATION-eng    : 00:41:20.644833333
        NUMBER_OF_FRAMES-eng: 74345
        NUMBER_OF_BYTES-eng: 2170550421
        SOURCE_ID-eng   : 0100E0
        _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.7 win(x64-release)
        _STATISTICS_WRITING_DATE_UTC-eng: 2024-07-10 03:35:24
      Side data:
        cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s (default)
        title           : Stereo
        BPS-eng         : 384000
        DURATION-eng    : 00:41:20.672000000
        NUMBER_OF_FRAMES-eng: 77521
        NUMBER_OF_BYTES-eng: 119072256
        SOURCE_ID-eng   : 0180BD
        _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.7 win(x64-release)
        _STATISTICS_WRITING_DATE_UTC-eng: 2024-07-10 03:35:24

You can't attach huge files here.
You need to upload it somewhere, where you can share a link.
Going to bed now.

Cu Selur
I got it to work. ran through the deinterlacing settings (qtgmc avisynth) in preview mode and figured out the bob setting, when checked, was causing it. not sure why as I had 2 other encodes after it on the same bob setting that didn't produce that result.
Bob requires a correct field order.
If the field order changes somewhere in the stream (or was wrongly selected), bob will cause stuttering.

Cu Selur

Forum Jump:

Users browsing this thread: 1 Guest(s)