Thanks for getting back to me, Fritsch. Yeah, I'm familiar with "real" VFR, and these aren't that. TV Shows like Star Trek: Next Generation did that a lot -- CGI's and titles are 29.976fps while normal video is 23.976fps. I'm accustomed to Kodi switching from 23.976fps to 29.976fps for those particular shows.
Here's the ffprobe output (since it's short) -- this is just one show -- this issue appears with most of the files I have except for BD rips. Most of these files are straight-up DVD rips of DVDs I own -- converted to MKV using HandBrake (Same as source setting used for frame rate.) When HB detects VFR, it says so -- it indicates in the logs that it's switching between "NTSC film" (23.976) and "NTSC Video" (29.976) fps -- and the encode logs don't indicate that for these shows.
Code:
/home/tony/ffmpeg/ffmpegsrc> ./ffprobe /mounts/tv/Big\ Bang\ Theory/Season\ 6/The.Big.Bang.Theory.S06E15.mkv
ffprobe version N-60655-g1db8bc5 Copyright (c) 2007-2014 the FFmpeg developers
built on Sep 5 2014 08:47:34 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --prefix=/home/tony/ffmpeg/ffmpegsrc --extra-cflags=-I/home/tony/ffmpeg/ffmpegsrc/include --extra-ldflags=-L/home/tony/ffmpeg/ffmpegsrc/lib --bindir=/home/tony/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac
libavutil 52. 63.101 / 52. 63.101
libavcodec 55. 52.101 / 55. 52.101
libavformat 55. 32.101 / 55. 32.101
libavdevice 55. 9.101 / 55. 9.101
libavfilter 4. 1.102 / 4. 1.102
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from '/mounts/tv/Big Bang Theory/Season 6/The.Big.Bang.Theory.S06E15.mkv':
Metadata:
encoder : libmkv 0.6.5
Duration: 00:20:50.29, start: 0.000000, bitrate: 1363 kb/s
Chapter #0.0: start 0.000000, end 170.937433
Metadata:
title : Chapter 1
Chapter #0.1: start 170.937433, end 760.326233
Metadata:
title : Chapter 2
Chapter #0.2: start 760.326233, end 1207.873333
Metadata:
title : Chapter 3
Chapter #0.3: start 1207.873333, end 1222.754867
Metadata:
title : Chapter 4
Chapter #0.4: start 1222.754867, end 1250.290625
Metadata:
title : Chapter 5
Stream #0:0(eng): Video: h264 (Main), yuv420p(tv, smpte170m), 720x480 [SAR 853:720 DAR 853:480], SAR 186:157 DAR 279:157, 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Stream #0:2(eng): Subtitle: dvd_subtitle, 720x480
And here's the
DEBUG LOG.
My box is an Asus ChromeBox running OpenELEC Isengard 15.2
Also, like the original poster said, I would think that if this were actual VFR, it'd switch at the same point at every playback. It doesn't. It switches at around ~40 seconds every time -- no matter where the start point is.
In other words, as you'll see in the log, starting the video, the frame rate switch to 30.000 occurred at the 0:00:40 mark. If I stop the video and restart and queue it to 0:00:30, it does NOT switch at 0:00:40, it switches at 0:00:70.