Problem with frame interpolation 60fps

Good Morning everyone
I perform frame interpolation at 60fps and get a 60fps video file.
I import the video file into DaVinci Resolve to create the Dolby Vision metadata.
I create and save the DV metadata in text format.
I convert it to binary format and inject it into the 60fps video track extracted from the MKV file I obtained.
During metadata injection, I get a message: number of frames in video x and number of frames in Dolby Vision metadata y. I insert the .hevc video track into an MKV video file, but the length of the video has changed. The number of frames in the video file obtained with frame interpolation is different from the number of frames I get if I extract the .hevc video track and then reinsert it into a video file. Therefore, it is completely out of sync with the audio.
I don’t understand why?

my pc
intel core i9 13900k
32gb ram
nvidia rtx 4080

[If you are posting a new bug, please include the following]

  1. The bug / behavior you have encountered
  2. Your system profile
  3. Your log files (Help > Logging > Get Logs for Support)
  4. Any screenshots as necessary

[Please be sure to have searched for your bug before posting. Duplicate posts will be removed.]

Can you send the logs to the support team at help@topazlabs.com so that we can take a look at what is going on with the export from Video AI?

Logs Files sent to the support

This isn’t a Topaz Labs issue but rather a problem with your Dolby Vision workflow compounded by what sounds like is the use of non-Dolby approved, reverse engineered tools with an already encoded video asset.

Raw form Dolby Vision metadata is supposed to be generated with a mastering level quality asset, and is delivered embded with or alongside (sidecar) a digital intermediate for encoding by the distributor, i.e. a Blu-ray house, the studio or a VOD/OTT streaming provider. Each has their own preference for the format they want like Apple or Netflix.

Neither of which includes “MKV” format or manipulating/re-injecting compressed HEVC files that have been frame interpolated after the fact.

Dolby Vision Metadata has to match the exact framerate, matte, resolution and be aligned on a shot by shot basis for the content it was originally authored for.

My tools for injection works very good with all movies, the problem it’s not my tools but your 60fps output file, watch the image… video input duration 1:56:02… output 60fps duration 1:56:02….. 60fps after extraction and addition to new mkv without dolby vision and use of my tools that you like them, duration 1:55:36….. 26 seconds less…. can’t i edit or modify your 60fps because it changes duration?

I suggest using a tool like MediaInfo and post the metadata reports for all 3 files.

Forum users might be able to spot potential issues with a bit more info.

this is the report of mediainfo for all 3 movies

Generale
ID univoco : 281549257205457262126800674488174571693 (0xD3D06A1E74541432CA4D88491C54F0AD)
Nome completo : F:\JDownloader\movies\60fps\movie_1_input.mkv
Formato : Matroska
Versione formato : Version 4
Dimensione file : 7,58 GiB
Durata : 1o 56min
Bitrate totale : 9.347 kb/s
Frequenza fotogrammi : 23,976 fps
Creato con : Lavf62.0.102
Compressore : Lavf62.0.102
ErrorDetectionType : Per level 1

Video
ID : 1
Formato : HEVC
Formato/Informazioni : High Efficiency Video Coding
Profilo formato : Main 10@L4@Main
Formato HDR : SMPTE ST 2086, HDR10 compatible
ID codec : V_MPEGH/ISO/HEVC
Durata : 1o 56min
Bitrate : 9.161 kb/s
Larghezza : 1.920 pixel
Altezza : 1.038 pixel
Rapporto aspetto visualizzazione : 1,85:1
Modalità frame rate : Costante
Frequenza fotogrammi : 23,976 (24000/1001) fps
Spazio colore : YUV
Sottocampionamento croma : 4:2:0
Profondità bit : 10 bit
Bit/(pixel*frame) : 0.192
Dimensione traccia : 7,43 GiB (98%)
Compressore : Lavc62.3.101 hevc_nvenc
Predefinito : No
Forzato : No
Intervallo colore : Limited
Colori primari : BT.2020
Caratteristiche trasferimento : PQ
Coefficienti matrici : BT.2020 non-constant
Colori primari display mastering : Display P3
Luminanza display mastering : min: 0.0050 cd/m2, max: 4000 cd/m2
Livello luce contenuto max : 1.000 cd/m2
Livello luce media fotogramma max : 755 cd/m2

Menu
00:00:00.000 : 1
00:04:13.545 : 2
00:06:47.282 : 3
00:11:45.246 : 4
00:18:04.166 : 5
00:28:12.274 : 6
00:31:30.680 : 7
00:38:40.693 : 8
00:41:22.313 : 9
00:47:53.370 : 10
00:55:53.141 : 11
00:58:49.860 : 12
01:05:16.788 : 13
01:16:40.304 : 14
01:20:14.643 : 15
01:27:23.321 : 16
01:31:12.050 : 17
01:41:40.553 : 18
01:46:41.437 : 19
01:51:24.511 : 20

Generale
ID univoco : 210232941599993088077626096001978327918 (0x9E296449E2B32D39FFB17D8A9A49E36E)
Nome completo : F:\JDownloader\movies\60fps\movie_1_output_60fps.mkv
Formato : Matroska
Versione formato : Version 4
Dimensione file : 19,5 GiB
Durata : 1o 56min
Bitrate totale : 24,1 Mbps
Frequenza fotogrammi : 60,000 fps
Creato con : Lavf62.0.102
Compressore : Lavf62.0.102
ErrorDetectionType : Per level 1

Video
ID : 1
Formato : HEVC
Formato/Informazioni : High Efficiency Video Coding
Profilo formato : Main 10@L4.1@Main
Formato HDR : SMPTE ST 2086, HDR10 compatible
ID codec : V_MPEGH/ISO/HEVC
Durata : 1o 56min
Bitrate : 23,6 Mbps
Larghezza : 1.920 pixel
Altezza : 1.038 pixel
Rapporto aspetto visualizzazione : 1,85:1
Modalità frame rate : Costante
Frequenza fotogrammi : 60,000 fps
Spazio colore : YUV
Sottocampionamento croma : 4:2:0
Profondità bit : 10 bit
Bit/(pixel*frame) : 0.198
Dimensione traccia : 19,1 GiB (98%)
Compressore : Lavc62.3.101 hevc_nvenc
Predefinito : No
Forzato : No
Intervallo colore : Limited
Colori primari : BT.2020
Caratteristiche trasferimento : PQ
Coefficienti matrici : BT.2020 non-constant
Colori primari display mastering : Display P3
Luminanza display mastering : min: 0.0050 cd/m2, max: 4000 cd/m2
Livello luce contenuto max : 1.000 cd/m2
Livello luce media fotogramma max : 755 cd/m2

Menu
00:00:00.000 : 1
00:04:13.545 : 2
00:06:47.282 : 3
00:11:45.246 : 4
00:18:04.166 : 5
00:28:12.274 : 6
00:31:30.680 : 7
00:38:40.693 : 8
00:41:22.313 : 9
00:47:53.370 : 10
00:55:53.141 : 11
00:58:49.860 : 12
01:05:16.788 : 13
01:16:40.304 : 14
01:20:14.643 : 15
01:27:23.321 : 16
01:31:12.050 : 17
01:41:40.553 : 18
01:46:41.437 : 19
01:51:24.511 : 20

Generale
ID univoco : 328671248693307710638660843406525816991 (0xF743C7AC3AAAC4D381EDDC926819609F)
Nome completo : F:\JDownloader\movies\60fps\movie_1_60fps_after_extraction_and addition_here_26_second_less.mkv
Formato : Matroska
Versione formato : Version 4
Dimensione file : 19,5 GiB
Durata : 1o 55min
Bitrate totale : 24,2 Mbps
Frequenza fotogrammi : 60,000 fps
Data codifica : 2025-10-17 18:20:30 UTC
Creato con : mkvmerge 95.0 (‘Goodbye Stranger’) 64-bit
Compressore : libebml v1.4.5 + libmatroska v1.7.1

Video
ID : 1
Formato : HEVC
Formato/Informazioni : High Efficiency Video Coding
Profilo formato : Main 10@L4.1@Main
Formato HDR : SMPTE ST 2086, HDR10 compatible
ID codec : V_MPEGH/ISO/HEVC
Durata : 1o 55min
Bitrate : 24,2 Mbps
Larghezza : 1.920 pixel
Altezza : 1.038 pixel
Rapporto aspetto visualizzazione : 1,85:1
Modalità frame rate : Costante
Frequenza fotogrammi : 60,000 fps
Spazio colore : YUV
Sottocampionamento croma : 4:2:0
Profondità bit : 10 bit
Bit/(pixel*frame) : 0.202
Dimensione traccia : 19,5 GiB (100%)
Predefinito : Si
Forzato : No
Intervallo colore : Limited
Colori primari : BT.2020
Caratteristiche trasferimento : PQ
Coefficienti matrici : BT.2020 non-constant
Colori primari display mastering : Display P3
Luminanza display mastering : min: 0.0050 cd/m2, max: 4000 cd/m2
Livello luce contenuto max : 1.000 cd/m2
Livello luce media fotogramma max : 755 cd/m2

Your MediaInfo reports don’t show the audio.

Which audio stream are you using for the final file?

audio is not important for this problem, but it is ac3

When it comes to multiplexing streams together, the audio can be important.

From which file does the ac3 audio stream come from? Is it the original file or the 60fps output file?

original, io don’t re-encode audio, take ever the original

Muxing the audio stream from the 23.976 fps original with the 60 fps video could be the source of the issues. Someone with greater knowledge of AV sync could probably explain why.

I don’t think you can avoid processing the audio in this instance, whether that’s in Topaz or a NLE like Resolve, unless someone knows of a workaround.

Only Topaz Video AI has this problem. If I do frame interpolation with AIArty Video Enhancer, the length of the film doesn’t change when I extract the video track, edit it, modify it… etc etc etc, but the video output isn’t very high quality, especially in films with very dark scenes. Even setting the maximum quality that software allows, the blacks in dark scenes are horrible. With Topaz Ai, which uses ffmpeg, I can set the quality to the very high I want. Now I’m trying another software, Unifab Smoother AI, and apparently this program doesn’t have the problem of Topaz Video AI either. I’m now doing some tests to see the quality of the blacks with the maximum quality that the program can set.

I’ve just thought of another possible issue. Are you using a recent version of TVAI with scene detection for interpolation (and are you using the scene detection feature)?

i don’t use scene detection

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.