Hi all,
checked the forum but didn't found similar problem/solution:
After applying QTGMC to a 25fps interlaced PAL the resulting video goes 3 frame forward, and than 1 frame backward.
already tried:
-disabling QTGMC (comment out with #) the frames behave as they should
-AssumeTFF: everything wrong
I also added a sample of the Video (1 secound).Code:AviSource("1s.avi") AssumeBFF() ConvertToYV12(interlaced=true) QTGMC( Preset="Slow", Sharpness=0.4, EdiThreads=2 )
Any Ideas?
+ Reply to Thread
Results 1 to 4 of 4
-
-
It's because there is a problem with the declared framerate in your video
Code:Frame rate : 50.000 FPS Original frame rate : 25.000 FPS
You can use FFVideoSource. It produces the correct unique frames an at the correct 25 FPS, thus QTGMC will be correct
You can review the process of how you transferred the file, or why the framerate is incorrect in the file -
Fixing your capture/processing to flag the frame rate properly is best. But for video's you've already captured you can use SelectEven() or SelectOdd() to remove every other frame (the duplicates) before QTGMC(). You may to AssumeFPS() to get the right frame rate too.
-
Thanks @jagabo and @poisondeathray!
In the mean time I checked some things:- works: SelectEven() or SelectOdd()
- works not: AssumeFPS(25)
Nevertheless, I checked the workflow:
- capturing D8 with scenalyzer (more than one time because of errors)
- convert to raw dv (needed for the next step) https://theatrecollection.blogs.bristol.ac.uk/2024/05/09/the-challenges-and-rewards-of...-minidv-tapes/
- using FFMPEG ffmpeg -i input_file -f rawvideo -c:v copy output_file.dv https://amiaopensource.github.io/ffmprovisr/index.html#rewrap-dv
- repair wrong frames with DVrescue
- convert dv back to avi via ffmpeg -i merged.dv -c copy merged-raw.avi
- encoding to h264 with QTGMC
I found out, that the error comes from the back-converting: ffmpeg -i merged.dv -c copy merged-raw.avi
That seems to be not a new problem: ffmpeg misdetecting framerate of dv https://trac.ffmpeg.org/ticket/11339
My solution (seems to work at the moment) would be forcing of 25fps when converting back: ffmpeg -i merged.dv -c copy -r 25 merged-raw.avi
Similar Threads
-
QTGMC Choppy Frame Rate After Selecting Bob
By AdamJellicorse in forum RestorationReplies: 2Last Post: 19th Apr 2023, 21:18 -
QTGMC shimmer when deinterlacing a duplicate frame
By PRAGMA in forum RestorationReplies: 8Last Post: 16th Apr 2023, 08:13 -
Qtgmc-GUI. A simple encoder for your Qtgmc scripts.
By ProWo in forum Video ConversionReplies: 17Last Post: 4th Mar 2023, 02:01 -
De-interlacing with QTGMC results in odd frame mismatching
By Cleen in forum RestorationReplies: 2Last Post: 27th Dec 2022, 17:34 -
Potplayer playing Video very slowly (1/4th the frame rate)
By GeorgeR in forum Software PlayingReplies: 2Last Post: 9th Aug 2020, 14:45