About the fps:
looks fine, issue is probably with the interlacing and the muxing call:
instead of
one probably has to use "0:60/1i" (this seems to change every few years, I remember having to switch between these values before,...)
As a workaround, enable "Filtering->Speed Change->Change speed" and set it to "60fps" (= 2x input frame rate).
Regarding mp4 and interlacing: Does it work if you use FFmpeg as muxer (Config->Containers->MP4->FFmpeg instead of MP4Box)?
Cu Selur
Ps.: Attaching attachments should work fine if you zip them.
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# source: 'K:\RAW\XXXXXXXXXXXX.mov'
# current color space: YUV422P10, bit depth: 10, resolution: 1920x1080, fps: 30, color matrix: 709, yuv luminance scale: limited, scanorder: top field first
# Loading K:\RAW\XXXXXXXXXXXX.mov using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="K:/RAW/XXXXXXXXXXXX.mov")
# Setting detected color matrix (709).
clip = core.std.SetFrameProps(clip, _Matrix=1)
# Setting color transfer info (709), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=1)
# Setting color primaries info (BT.709), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 30
clip = core.std.AssumeFPS(clip=clip, fpsnum=30, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2) # tff
# cutting from frame 0 to 1297 - WARNING: This might cause synch issues
clip = core.std.Trim(clip=clip, first=0, last=1297)
# adjusting output color from: YUV422P10 to YUV420P10 for SvtHevcModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# set output frame rate to 30fps (top field first)
clip = core.std.AssumeFPS(clip=clip, fpsnum=30, fpsden=1)
# Output
clip.set_output()
"C:\Program Files\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "C:\VIDEO\2023-11-23@02_54_20_6510__04.mkv" --global-tags "C:\VIDEO\mkvtags_2023-11-23@02_54_20_6510__04.xml" -d 0 --default-track 0:yes --track-name 0:"2023-07-15 21:41:37 UTC" --language 0:en --default-duration "0:30/1i" --aspect-ratio-factor 0:1/1 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:1 --no-audio --no-subtitles "C:\VIDEO\asdf_1_2023-11-23@02_54_20_6510_02.265" --track-order 0:1
--default-duration "0:30/1i"
As a workaround, enable "Filtering->Speed Change->Change speed" and set it to "60fps" (= 2x input frame rate).
Regarding mp4 and interlacing: Does it work if you use FFmpeg as muxer (Config->Containers->MP4->FFmpeg instead of MP4Box)?
Cu Selur
Ps.: Attaching attachments should work fine if you zip them.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.