[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I have a large collection of interlaced (30FPS) DVD video th

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 55
Thread images: 7

File: dvd.png (36KB, 2000x1020px) Image search: [Google]
dvd.png
36KB, 2000x1020px
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:
https://hastebin.com/raw/nejuvehiqa
>>
File: something_lewd.png (21KB, 254x359px) Image search: [Google]
something_lewd.png
21KB, 254x359px
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
>>
File: 33636254.jpg (20KB, 600x337px) Image search: [Google]
33636254.jpg
20KB, 600x337px
>>61527962
yadif doesn't double the framerate, but nnedi3 does.
https://www.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
>>
>>61529816
fuck me, i used the wrong slash
>>
>>61529816
Then how come when yadif is applied in mpv, the framerate doubles (on interlaced video)?
>>
>>61529887
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
>>
>>61529964
Cool, I'll try that. AFAIK, libx265 had a lossless mode. Would that be applicable here.
>>
>>61527962
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.
>>
>>61527962
>encoding
>ffmpeg
Grab MeGUI and deinterlace with QTGMC.

qtgmc(preset="very slow",sourcematch=3,lossless=2,matchpreset="very slow",matchpreset2="very slow")
>>
>>61530131
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.
>>
>>61530187
Interesting. What's the difference between 60i and 60p?
>>
>>61530285
Not that moron, but 60i is interlaced. 60p is what you get when you properly deinterlace it.
>>
>>61530285
Step through and make sure you have movement every frame. If you do it's proper 60i.
>>
>>61530285
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.

>>61530307
You're a fucking idiot. Stop posting disinformation.
>>
>>61530788
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.
>>
>>61530788
>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)
>>
>>61530894
Dude you're a fucking idiot.

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

https://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.
>>
>>61530894
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.

https://en.wikipedia.org/wiki/Blu-ray

Go do some reading and stop talking out of your asshole.
>>
>>61531153
Full 60i deinterlaces to 60p.
https://www.youtube.com/watch?v=bHW50J0H36w
>>
>>61531172
Fake interlaced is the same damn thing as progressive.
>>
File: 1Zo77H9Z18KqrNp.jpg (95KB, 750x476px) Image search: [Google]
1Zo77H9Z18KqrNp.jpg
95KB, 750x476px
>>61531216
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 /g/ with the wrong information you buffoon.
>>
>>61529117
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.
>>
>>61531300
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.
>>
>>61531268
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.
>>
>>61531347
I don't think OP or whoever you're replying to gives a shit about TV.
>>
>>61531347
>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.
>>
>>61531337
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).
>>
>>61531391
*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.
>>
>>61531391
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.
>>
>>61531347
>The fuck is a "fake interlace" dummy?
The stream is tagged interlaced but encoded progressive
>>
>>61531394
You do not need to deinterlace 30p. There's no goddamn interlacing.

>>61531419
Dude, L2encode. 50i/60i is fucking everywhere in lives.
>>
>>61531394
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.
>>
>>61531337
>half of a DIFFERENT frame
So the deinterlacing software magically knows what the otehr half of those frames would look like?
>>
>>61531487
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.
https://www.youtube.com/watch?v=2kwDnk71-ow
>>
>>61531514
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.
>>
>>61531328
go suck a dick
>This is very specific to video codec technology
>technology
>/g/ - Technology
/g/ is a general tech board
just because 99% of /g/ is windows-vs-apple, apple-vs-android, rate my PC, doesn't mean this thread doesn't belong here.
>>
>>61531394
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?

>>61531487
>>61531514
(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.
>>
>>61531565
And then there's QTGMC, which uses nnedi3 and motion estimation.
>>
>>61531552
So yes? I mean obviously not magically
But that's what it does. Guess them up more or less.
>>
>>61529117
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?
>>
>>61531565
>>61531599
Which has the better result?
>>
>>61531611
Yes, it makes an educated guess as to what's missing.

>>61531625
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.

>>61531656
QTGMC is the best deinterlacer out there.
>>
>>61531656
QTGMC, of course.
>>
>>61531656
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
>>
>>61531754
My first encode only took 10 days on an X2 5200+.
>>
>>61531711
yadifmod2(mode=1, edeint=nnedi3(field=-2)) should be better for static parts of video.
>>
>>61531808
>10 days
wew
>>
>>61527962
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.
>>
>>61531808
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.
>>
>>61527962
use ffprobe
Thread posts: 55
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.