I have a large collection of interlaced (30FPS) DVD video that when deinterlaced with yadif...

I have a large collection of interlaced (30FPS) DVD video that when deinterlaced with yadif, produce silky smooth 60FPS video. How can I convert these files to HEVC while deinterlacing and keeping the framerate to 60FPS using ffmpeg with no quality loss?

mediainfo output of one of the files:
hastebin.com/raw/nejuvehiqa

Other urls found in this thread:

ffmpeg.org/ffmpeg-filters.html#nnedi
en.wikipedia.org/wiki/Interlaced_video
en.wikipedia.org/wiki/Blu-ray
youtube.com/watch?v=bHW50J0H36w
youtube.com/watch?v=2kwDnk71-ow
twitter.com/SFWRedditGifs

Bump.

>asking here for legit tech help
all these fucks know is indian and jew hatred

there was a thread yesterday asking why he had to pay for a jewish intel lan chip on his ryzen lord motherboard supreme with american eagle tears cooling

I second OP question

yadif doesn't double the framerate, but nnedi3 does.
ffmpeg.org/ffmpeg-filters.html#nnedi
so far I've only got it to work with the weights file in the same directory as the video

Example with nnedi:
ffmpeg -i input.file -vf nnedi=weights=nnedi3_weights.bin:field=af:nsize=s32x6:n
ns=n128 -c:v libx265 -c:a copy -preset veryslow -crf 18 output.mkv
[\code]

Example with yadif:
ffmpeg -i input.file -vf yadif -c:v libx265 -c:a copy -preset veryslow -crf 18 output.mkv

fuck me, i used the wrong slash

Then how come when yadif is applied in mpv, the framerate doubles (on interlaced video)?

Because I'm retarded, and didn't notice that the yadif filter had an option for it.
The command would be
ffmpeg -i input.file -vf yadif=mode=send_field -c:v libx265 -c:a copy -preset veryslow -crf 18 output.mkv

Cool, I'll try that. AFAIK, libx265 had a lossless mode. Would that be applicable here.

First off, if they're film, it's 23.976.

Second of all, if they're home videos at 30fps (aka 29.97) then that's 60i (interlaced).

So your video is NOT 60p dummy, it's 60i (the old television standard).

Just rip at 29.97 and deinterlace with your software like handbrake.

>encoding
>ffmpeg
Grab MeGUI and deinterlace with QTGMC.

qtgmc(preset="very slow",sourcematch=3,lossless=2,matchpreset="very slow",matchpreset2="very slow")

lossless mode makes the file size huge, which might defeat the point of using HEVC. Also remember to fiddle with the preset and crf parameters.

Interesting. What's the difference between 60i and 60p?

Not that moron, but 60i is interlaced. 60p is what you get when you properly deinterlace it.

Step through and make sure you have movement every frame. If you do it's proper 60i.

60i is an old way of playing back video on television that used to be interlaced. For example VHS and DVD were all interlaced.

Progressive came into play as HDTV became a standard (although it was already available).

60i is an NTSC standard that delivers 30p in an interlaced standard.

60i deinterlaced is 29.97p.

Blu-ray 1920x1080 is still 23.976 although progressive AND the players can play back interlaced on the fly if needed, although not necessary anymore because of HDMI.

You're a fucking idiot. Stop posting disinformation.

Also if you want to rip DVD movies (ie hollywood shit) I wouldn't even recommend that.

RIP Blurays or even download BDRips.

DVD is literally 720x480 garbage.

>60i deinterlaced is 29.97p.
No, 60i deinterlaced is 60p. You don't need to deinterlace 30p. 30p is technically interlaced on DVD but since both fields are the same frame it's just 30p.

>Blu-ray 1920x1080 is still 23.976
BD can do 24p, 30p, or 60i (either telecined or fully interlaced)

Dude you're a fucking idiot.

I've been in post production for 20 years go kys.

en.wikipedia.org/wiki/Interlaced_video

go read something faggot.

Interlacing comes from the black and white TV era. Back then they couldn't carry full streams to TV's so they would deinterlace and carry a signal in an interlaced fashion.

60p is a totally different format. 60p is not a standard, and it's usually used for "overcranking"...ie you shoot at 60p and above (like on a film camera or a modern digital camera) and then slow it down to 30p for slow motion.

60p is not for video as a standard playback format.

You're thinking of 60p gaymen, which is totally a different thing.

30p is not a fucking standard for BD.

It's 24p (aka 23.976 with timecode dropframe) and 59.94i.

30p is NOT a BD standard.

For Pal, it is 25p and 50i.

en.wikipedia.org/wiki/Blu-ray

Go do some reading and stop talking out of your asshole.

Full 60i deinterlaces to 60p.
youtube.com/watch?v=bHW50J0H36w

Fake interlaced is the same damn thing as progressive.

Take your gay anime and shove it up your fucking ass.

60i ≠ 60p

You're literally wasting space if you convert 60i to 60p.

You're adding frames to something that doesn't exist in the first place.

You only go to 29.97p from 60i by deinterlacing with Handbrake or After Effects (The correct way but takes more time).

Now go fuck off and stop flooding Sup Forums with the wrong information you buffoon.

This isn't a tech support board, nor is this question suited for a general "Technology" forum. This is very specific to video codec technology, and belongs in a forum dedicated to that topic.

60i is 60 interlaced fields per second. For a fully interlaced video, each field represents half of a DIFFERENT frame. Deinterlacing restores the missing field. If you're decimating 50i/60i to 25/30fps you're throwing out half the frames. Stop doing that.

The fuck is a "fake interlace" dummy?

When interlacing was invented, progressive video didn't exist.

The ONLY progressive capturing method was film such as 8mm, 16mm and 35mm.

It's an old way of delivering streams.

It's still here in Blu-ray and satellite streams and TV (even OTA HDTV).

The ONLY true progressive streams on TV are sports, which are usually 720p60.

For home video, Blu-ray does 24p (23.976) so you're movies are progressive.

DVD's were different, they had to fake some shit by fitting 24p streams into 60i or whatever, it get's kind of complicated.

I don't think OP or whoever you're replying to gives a shit about TV.

>The fuck is a "fake interlace"?
Same m2ts as the above. Notice there's no interlacing?
Still an interlaced 29.97 but both fields are of the same frame. It's progressive.

Stop talking out of your ass.

60i is an interlaced stream for 30p.

60i is NOT 60p.

You can pull a 30p stream out of 60i by deinterlacing.

Even though Blu-ray supports native 60p, 60p is NOT a standard and only in high-speed photography such as sports (watch most NFL game they are 720p60). They drop down to 720p and 60p because 1080p60 is a lot of data especially for satellites.

60p will never become a standard because the footage looks too hyper real when played back at 60p. It's good for slow motion (dropping it down to 30p).

*forgot to mention it's a different music video. Two on the same BD, one's 30p, the other's 60i, because interlacing can do that.

If that's a japanese Bluray disc then they probably did a 60p encode for the Bluray.

Japs are weird and don't follow rules.

60p ≠ 60i. End of story.

>The fuck is a "fake interlace" dummy?
The stream is tagged interlaced but encoded progressive

You do not need to deinterlace 30p. There's no goddamn interlacing.

Dude, L2encode. 50i/60i is fucking everywhere in lives.

You are wrong on so many different levels

So if you deinterlace 60i to 60p does the deinterlacing software simply guess what two progressive frames would look like?
I was under the impression that 60i was basically a technique to make 30p seem smoother by squeezing in the in-between frames.
Making it look smoother when you're watching, but basically making still look like porridge.

>half of a DIFFERENT frame
So the deinterlacing software magically knows what the otehr half of those frames would look like?

60i is 60i, it's not 30p at all. It throws out half the spatial resolution to double the temporal. Yes, deinterlacing has to interpolate the missing frames. It can do so rather well which IMO makes 60i far superior to 30p for live events.
youtube.com/watch?v=2kwDnk71-ow

It has the line one pixel above, the line one pixel below, and two of the same line only 16.67ms away on either side.

go suck a dick
>This is very specific to video codec technology
>technology
>Sup Forums - Technology
Sup Forums is a general tech board
just because 99% of Sup Forums is windows-vs-apple, apple-vs-android, rate my PC, doesn't mean this thread doesn't belong here.

It is also possible to separate the two interlaced fields and recreate a full frame, with reasonable results.
60p might not be standard in televised productions or recordings thereof, but who cares?

(Yadif) check pixels of previous, current and next frames to re-create the missed field by some local adaptive method (edge-directed interpolation) and uses spatial check to prevent most artifacts.
(nnedi3) takes in a frame, throws away one field, and then interpolates the missing pixels using only information from the kept field. nnedi3 uses a neural network to recreate the missing pixels.

And then there's QTGMC, which uses nnedi3 and motion estimation.

So yes? I mean obviously not magically
But that's what it does. Guess them up more or less.

Assmad jew detected.

Do we interlace to save space by making 60 half frames look like 60 whole frames?
And now you want to turn 60 half frames into 60 whole frames because that looks better?

Which has the better result?

Yes, it makes an educated guess as to what's missing.

Interlacing was done for bandwidth reasons, and it may have reduced noticeable flicker on CRTs. We deinterlace because our TVs and monitors are now progressive and we can see the horrible combing.

QTGMC is the best deinterlacer out there.

QTGMC, of course.

I haven't heard of QTGMC until today, but it looks like it might be better than just nnedi3 by itself.

Depending on the settings QTGMC is also slow as hell

My first encode only took 10 days on an X2 5200+.

yadifmod2(mode=1, edeint=nnedi3(field=-2)) should be better for static parts of video.

>10 days
wew

separate your deing and h,265 questions, and choose the best answer from each.

also 60fps 480i is either 30 (or 24!) fps 480p, or 60fps 240p. never 60fps 480p.

i had a p4.
it would take me 15-20hrs to encode a divx/vxid or vcd/svcd to a dvd compliant format.
in hindsight, i probably should've just downloaded the DVDr and bought a couple of dvd-rw's.

use ffprobe