New Problem With Stuttering/Jerking Video Following Encode

I’m a long-time user of TVAI and currently running v.6.0.1. Until very recently, I had a successful workflow for upscaling DVD video. The steps of this are

1.) De-interlacing in PAR 1:1 conversion in an external program (usually Hybrid) with save to FFV1

2.) Upscaling in TVAI, most often with the Proteus model. Save to FFV1

3.) Final encoding to H.265 in an external program (usually Handbrake)

I recently updated TVAI, Hybrid and Handbrake to the latest versions.

Over the past 2 days, I’ve attempted to run 2 videos through this process; each time, I’ve encountered stuttering and/or jerking in the final video. This isn’t the consistent stuttering that you might see if the wrong field order was chosen for de-interlacing.

For the first video, I used different de-interlacing techniques and still got the same result after using TVAI and the Proteus model. I kept experimenting and found that allowing TVAI to de-interlace the video and upscale with the Dione DV model fixed the stuttering, although the frames were not as clean and de-blurred as with Proteus.

Now that I’m encountering the same problem with a second video a day later, I’m starting to worry that something has changed with the latest version upgrade. Today, I encountered the same chopiness and stuttering in the video upscaled with Proteus. I even ran this video through a second pass with frame interpolation using Chronos Fast, although this did not improve the issue.

Prior to this, I had used the same workflow for a couple of years, without any problem of this nature. I’m at a loss for ideas.

[Please be sure to have searched for your bug before posting. Duplicate posts will be removed.]
logsForSupport.zip (5.6 MB)
DxDiag.txt (108.2 KB)

After stepping through both the source and the Proteus upscale frame by frame, I found that the problem was introduced with the upscaling. The stutters appeared to be caused by dropped frames and by the re-insertion of prior frames. Grrrr. I’ve wasted so many hours trying to solve this, and it looks to be a problem with the recent update.

So, following a recommendation provided in other bug reports that sounded related to my problem, I downgraded my TVAI to version 5.3.6. I repeated the attempted upscale described above, and video was able to upscale properly, WITHOUT the playback issues. This is very frustrating, since I recently paid for a year upgrade but am stuck using an older version of the software. Other postings reveal that this problem is not new and that it has been continually reported.

This is a known issue that the team is working on that is causing some VFR issues in exports.

The recent addition of the “Force CFR” option for exports in v6.0.1 is a temporary fix in most situations and they are continuing to work on a full resolution and fix for the app.

Thanks for the response. I did try the “force CFR” option on the encoding tab, but it made the stuttering issues worse. I’m going to continue to use v.5.3.6 until we have confirmation that this problem is fixed.

I was having the same problem and after reading this thread (look on here for this post “clean-up-stuttering-dropped-frames-video/39031”) and decided to try something that goes against my better judgement (based on one of the replies) but it did work!

What I tried was to use Handbrake to re-encode my Remux using the Super HQ 480p 30 Surround preset before using TVAI 6.1 but modifying it to make the file Constant Framerate 23.976 in the test case then running the same TVAI preset AI models and custom settings and this did do the trick as far as eliminating the stuttering on the TVAI upscale/encode/enhance resulting files.

Not optimal for sure to add an encode into the mix in handbrake prior to running TVAI but it does work so I will now look for a better way to determine whether future problems are cause by duplicate frames or dropped frames and whether they are consistently spaced or irregularly spaced apart and then find a way to fix the original without a re-encode if possible to fix the original.

The thread I referenced above has some really good info to identify/determine your specific issue and may be of help!

In my case I just need to now determine how to fix the Frame Rate issues in the original files without re-encoding!

BTW, when the original is already a Constant Frame Rate I do not experience the problem and it only happens on Variable Frame Rate Files Remuxed from the Discs using MakeMKV!

1 Like

Thanks. When I pull something from disc, I generally do an initial code anyway (usually in Hybrid), although I have not been forcing CFR in the initial encode. Historically, I haven’t converted to CFR because of my concerns about causing an A/V sync issue. Whether it is true-to-source VFR or CFR, I guess it wouldn’t matter if it didn’t create or drop frames to create the problems in playback. For the files affected this way, the results were interesting in a not-good way. When I loaded the files in to a viewer, paused and advanced one frame at a time, I found that some frames were repeated; in some cases, the video appeared to “reverse” to 1-2 frames prior. That doesn’t explain HOW those errors got there, just why they created stuttering/jerking on playback.

1 Like

Unfortunately this thread does not allow links but if you check out the thread I mentioned above there is three users named DaveL, tess000002 and most specifically a user jojje who provided lots of good feedback on the root causes, determining them, and potential solutions to include jojji provided a script file that may help fix the rip or remux you do on the disc files!

1 Like

I am new to TVAI but am well versed on Handbrake but have never used Hybrid though!

I would think it would be capable of auto-detecting and fixing dropped or duplicate frames like Handbrake does while keeping the audio and video in sync so maybe forcing the CFR in it will do a good job of keeping them in sync while also repairing dropped or duplicated frames and then allow TVAI to process the upscales without resulting in stuttering output files!

Crossing my fingers for you on that!

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