sixthofmay
18th November 2024, 23:23
I would like to convert some 720p/30 video to 720i/15 with frame motion in the fields. Restated, I want to go from progressive 1280x720 at 30fps to interlaced 1280x720 at 15fps. I want the new fields created to include the motion found between the 30fps video frames. Thus it would be a real 720i/15 video.
I'm sure everyone has "why?" in their head now.
I have a 720p/30 concert video that has proven impossible to get to 1080p/30 with sufficient detail in zoomed-out wide angle shots. It was professionally shot using ancient pro videocameras at 1080i/30 (native) in low light. The footage is blurry- not out of focus, just not enough light.
I have a partial glitchy 16Mbps capture of the 1080i/30 video and a perfect capture of the 720p/30 video at 6Mbps, which is about double the minimum bitrate for decent 720p/30 and (in theory) should be workable with TVAI.
I'm using Topaz Video AI 4.2.2 and 5.3.2. I've tried all the enhancement models at 2x and 4x for Rhea (it only comes in 4x). Rhea is the latest usable model and does ok, but the performers' faces disappear when the light is too low. Rhea doesn't have any face recovery training so I gave up on it.
Iris MQ is the only strong model with face recovery training, but it's not as strong as Rhea. Regardless, it's giving the best output but lacking in detail on the zoomed-out shots.
I tried a short segment of the 1080i/30 video and Iris MQ does well with it. Clearly the higher bitrate and resolution are enough for decent quality. But it's just a short segment of when it wasn't glitching.
I have observed that the models that work with interlaced video deliver more detail, compared to the same resolution video in progressive using the same model or other progressive models (Iris and Proteus support both interlaced and progressive video).
Restated, some 480i videos can go to a sharp detailed 720p without any trouble when directly opened in TVAI. But the same 480i video if deinterlaced with Vegas' GPU Deinterlacer makes a less detailed 720p video (a container and codec supporting the interlace flag is used or else TVAI can't work).
If deinterlaced with QTGMC ("faster" preset retains the most detail for upscaling), the 720p has even less detail than the one via Vegas. Shocking but QTGMC delivers less detail than Vegas. I wasn't the one who discovered this, but have confirmed it to be true. Others have explained that QTGMC was not designed to produce maximum detail.
Thus I would like to try an experiment. Take the 720p concert video and convert it to a real 720i video, complete with motion in each field. And then see what Topaz VAI's deinterlacing models can do with it. My hypothesis is somehow the deinterlacing models extract more detail when fed interlaced video. I'm guessing they were trained with interlaced DVDs and progressive Blu-rays of the same movie or TV show.
The 15fps is not an issue. Topaz' Apollo v8 model delivers artifact free 2x and 4x framerate increases.
TLDR:
I need an Avisynth+ script to convert 720p/30 to 720i/15 with frame motion in the newly generated fields. I'll be using DGSource for input and audio is being processed separately.
I found this thread:
How to convert 30p to 30i (https://forum.doom9.org/showthread.php?t=121005)
actionman133 provided this:
Import ("MVBob.avs")
MVConv (60, 1) # or MVConv (60000, 1001) if its 29.97
AssumeTFF ()
SeparateFields ()
SelectEvery (4, 0, 3)
Weave ()
That's good, but I need to know how to incorporate the motion between the frames into the fields. Can anyone help?
I'm sure everyone has "why?" in their head now.
I have a 720p/30 concert video that has proven impossible to get to 1080p/30 with sufficient detail in zoomed-out wide angle shots. It was professionally shot using ancient pro videocameras at 1080i/30 (native) in low light. The footage is blurry- not out of focus, just not enough light.
I have a partial glitchy 16Mbps capture of the 1080i/30 video and a perfect capture of the 720p/30 video at 6Mbps, which is about double the minimum bitrate for decent 720p/30 and (in theory) should be workable with TVAI.
I'm using Topaz Video AI 4.2.2 and 5.3.2. I've tried all the enhancement models at 2x and 4x for Rhea (it only comes in 4x). Rhea is the latest usable model and does ok, but the performers' faces disappear when the light is too low. Rhea doesn't have any face recovery training so I gave up on it.
Iris MQ is the only strong model with face recovery training, but it's not as strong as Rhea. Regardless, it's giving the best output but lacking in detail on the zoomed-out shots.
I tried a short segment of the 1080i/30 video and Iris MQ does well with it. Clearly the higher bitrate and resolution are enough for decent quality. But it's just a short segment of when it wasn't glitching.
I have observed that the models that work with interlaced video deliver more detail, compared to the same resolution video in progressive using the same model or other progressive models (Iris and Proteus support both interlaced and progressive video).
Restated, some 480i videos can go to a sharp detailed 720p without any trouble when directly opened in TVAI. But the same 480i video if deinterlaced with Vegas' GPU Deinterlacer makes a less detailed 720p video (a container and codec supporting the interlace flag is used or else TVAI can't work).
If deinterlaced with QTGMC ("faster" preset retains the most detail for upscaling), the 720p has even less detail than the one via Vegas. Shocking but QTGMC delivers less detail than Vegas. I wasn't the one who discovered this, but have confirmed it to be true. Others have explained that QTGMC was not designed to produce maximum detail.
Thus I would like to try an experiment. Take the 720p concert video and convert it to a real 720i video, complete with motion in each field. And then see what Topaz VAI's deinterlacing models can do with it. My hypothesis is somehow the deinterlacing models extract more detail when fed interlaced video. I'm guessing they were trained with interlaced DVDs and progressive Blu-rays of the same movie or TV show.
The 15fps is not an issue. Topaz' Apollo v8 model delivers artifact free 2x and 4x framerate increases.
TLDR:
I need an Avisynth+ script to convert 720p/30 to 720i/15 with frame motion in the newly generated fields. I'll be using DGSource for input and audio is being processed separately.
I found this thread:
How to convert 30p to 30i (https://forum.doom9.org/showthread.php?t=121005)
actionman133 provided this:
Import ("MVBob.avs")
MVConv (60, 1) # or MVConv (60000, 1001) if its 29.97
AssumeTFF ()
SeparateFields ()
SelectEvery (4, 0, 3)
Weave ()
That's good, but I need to know how to incorporate the motion between the frames into the fields. Can anyone help?