Been trying to convert a true 24fps video, that shows as variable 29.970fps, with no luck for hours.
1. Tried Hybrid. Everything seemed normal, the program automatically enabled IVTC, which changes the framerate to 24fps, even when deinterlacing is set to: None. But, when the file is exported, the colors are off, just as with any other SD encode using this software. ColorMatrix and TimeCube doesn't solve the color problem, it's still incorrect + the video becomes stuttery for some reason.
2. Used AviSynth+ and VirtualDub with this command:
SetFilterMTMode ("QTGMC", 2)
FFMPEGSource2("cut.mkv")
AssumeTFF()
LoadDll("..\fftw-3.3.5-dll64\fftw3.dll")
Blur(0, 1.0).Sharpen(0, 1.0)
I don't want to use QTGMC in that command, I just need the command to combine both fields, but without it the code just doesn't work. Is there a command that could replace it?
But after exporting the Virtualdub file, it's completely out of sync with audio. Mediainfo shows a proper 24fps framerate, but the video is a few seconds longer, and not even audio delay can fix it, or changing the video speed to 23.976 or 29.970.
3. Used HandBrake. But, again a dumb problem showed up. Constant framerate makes the video stutter, no matter the framerate set. Variable fixes it, but it creates a weird 24.*** rate, and I just want a stable 24fps video.
It's almost 4am and my head hurts from reading info on plugins, color matrixes and whatnot. If Avisynth wouldn't've broken the sync, it would be amazing. Is there anything to fix it? I'm completely out of ideas now.
+ Reply to Thread
Results 1 to 11 of 11
-
-
This works and colors are all good, but now I'm realizing that the regular HandBrake is working as well for some reason. Something was glitched, or I did something wrong the first time, even though I remember selecting the same settings. Either way sorry for my mistake and thanks for recommending the program, it seems useful!
-
Realized that, as it seemed to have the same settings as handbrake. But interestingly this also shows the real framerate of the video. I thought the vid was 24fps because MediaInfo showed that, when in reality it's 23.976. At least now it doesn't have a small frame freeze at one place like with 24fps.
-
First, with mixed hard and soft telecine you should use rffmode=1: FFMPEGSource2("cut.mkv", rffmode=1).
Second you shouldn't use FFMPEGSource2() at all for MPEG 2 video. Demux the MPEG 2 video to an MPG, M2V, or VOB file and use DgIndex to build an index file (with Honor Pulldown Flags mode) then use Mpeg2Source() to open the video via the index file.
Third, bluring the two fields is a bad way of deinterlacing. Use TFM() and TDecimate() to field match and remove duplicate frames. That will leave you with a 23.976 fps video which will match the original audio.
Unless your video has other problems. Post a sample of the source. Use DgIndex, mark a section, export with File -> Save Project and Demux Video. Upload the resulting M2V file. -
Tried Hybrid. Everything seemed normal, the program automatically enabled IVTC, which changes the framerate to 24fps, even when deinterlacing is set to: None. But, when the file is exported, the colors are off, just as with any other SD encode using this software.
If you change the color matrix, you also need to make sure the output color matrix is set properly.
Also, Hybrid will apply deinterlacing&ivtc if the source is not progressive, but the output is.
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
The video isn't telecined, it's just a telecine flag. Rendering the vid in HandBrake while deinterlacer is disabled all together renders out the video perfectly. But I'll keep this in mind for other stuff!
I've never able to find the option to change the input color matrix manually. Is there a way to do so? Interestingly this is the only program that assumes rec709 for SD videos. -
Interestingly this is the only program that assumes rec709 for SD videos.
iirc. Hybrid would only assume bt.709 if the source is MPEG-2 and has no flag.
That assumption was rooted in https://forum.doom9.org/showthread.php?t=131571
I've never able to find the option to change the input color matrix manually.
(I'll add an option for it in the next version.)
Cu SelurLast edited by Selur; 26th Jan 2023 at 10:43.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
You can also make your life easier.
Use clever FFmpeg-GUI, load your 29.97 fps Video, click main, click encode Video Stream, click keep resolution (in case you want mantain it), set the IVTC Box, you'll see the fps field is changed to 23.976, click encode. Done.
[Attachment 68908 - Click to enlarge]
You'll find your new 23.976 fps progressive Video into the target folder.
If your source file is interlaced, yadif deinterlacing is applied. The colorspace is not changed.Last edited by ProWo; 27th Jan 2023 at 09:37.
Similar Threads
-
How do i reencode camera video properly? (Misaligned audio after process)
By Lemenus in forum Newbie / General discussionsReplies: 6Last Post: 8th May 2022, 15:41 -
Vdub Not Working Properly
By dellsam34 in forum EditingReplies: 2Last Post: 17th Jan 2022, 21:05 -
Any program that will find duplication of video content across many files?
By IMADVDNUT in forum Newbie / General discussionsReplies: 6Last Post: 22nd Jan 2020, 10:46 -
Program that shows properly video bitrate from any source?
By zippergalio in forum Newbie / General discussionsReplies: 17Last Post: 9th Aug 2019, 08:30 -
Procoder 2 Not Working Properly?
By meeshu in forum Newbie / General discussionsReplies: 14Last Post: 14th Apr 2019, 19:37