Hello i have a dvd with the following settings
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture structure : Frame
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 24 min 23 s
Bit rate mode : Variable
Bit rate : 5 947 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.574
Time code of first frame : 00:59:59;00
Time code source : Group of pictures header
Stream size : 1.01 GiB (90%)
Language : English
Default : No
Forced : No
i want to encode this so i would have to deinterlace 1st right?
How to deinterlace with Vapoursynth?
also can anybody explain to me whats the difference between interlaced and interleaved
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
do i need to de interlace in this case?
+ Reply to Thread
Results 1 to 10 of 10
-
-
Last edited by ACKR; 28th May 2020 at 00:28.
-
also, with
i want to encode this
for example, chromecast devices won't play interlaced video and could be finicky with some hevc.
Perhaps ffmpeg with it's inbuilt yadif fiiter could do it for you and automatically handle decoding of interlacing etc.
If you wanted, you could also apply some sharpening at the same time.
Vapoursynth would do something for you eg with QTGMC filter or something.
It's interesting that you report a DVD source with
Scan type : Interlaced
Scan order : Top Field First
If you want an example commandline, and yes it suits me not everyoneand is just an example of what you could consider,
All on one line:
Code:"C:\ffmpeg-x64\ffmpeg.exe" -v verbose -nostats -init_hw_device opencl=ocl:0.0 -filter_hw_device ocl -i "input-file.mpg" -map_metadata -1 -vsync 0 -sws_flags lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex "[0:v]yadif=0:0:0,hwupload,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,hwdownload,format=pix_fmts=yuv420p" -strict experimental -c:v h264_nvenc -pix_fmt nv12 -preset slow -bf 2 -g 50 -refs 3 -rc:v vbr_hq -rc-lookahead:v 32 -cq 22 -qmin 16 -qmax 25 -coder 1 -movflags +faststart+write_colr -profile:v high -level 5.1 -c:a libfdk_aac -cutoff 18000 -ab 384k -ar 48000 -y "output-file.mp4"
The resulting .mp4 is chromecast-compatible.
Note that a lot of people hate nvenc, however it provides incredible encoding speeds (150-400 fps, depending on source eg 720i/1080i) and is generally "good enough" for non-videophile home viewing.
There's also DG's tools (including deinterlacer; manono mentioned dgindex which is one of DG tools) which can be used in avisynth and vapoursynth with output fed into an encoder.
There's also the fantastic nvencc tool which can do really nice things and offers deinterlacers (deinterlacer quality unknown).Last edited by hydra3333; 28th May 2020 at 00:53.
-
With interlaced vs interleaved, your DVD is mpeg2 ... yet later you show mbaff which is associated with h.264.
Recommend you google them.
Also,
http://www.mir.com/DMG/interl.html -
I want to watch it on my laptop. i plan to encode it to x265. also is yadif better than qtgmc? i want whatever is faster also the server i encode on doesn't have opencl support so i would like a plugin without opencl
also what does this mean(Bluray)
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
i played the video and checked in vsedit and i don't see any evidence of interlacing
Edit:regarding the dvd it is definitely interlaced -
No, not by a long shot.
Perhaps non-OpenCL unsharp mask, or whatever you prefer in vapoursynth/avisynth/nnvencc/ffmpeg etc
see top result: https://www.google.com/search?q=what+is+mbaff
OK, you're vapoursynth aware, then. If you're running vsedit you're nearly there.
I suppose it could be Progressive wrapped up with interlace flags a required by DVD specs ?
If that's the case you do not need to deinterlace, simply assume frame based.
It is actually interlaced, or is it just flagged as such ?
Ah. Since you're in NTSC land, I'm not game to go further (telecine etc) so the rest is up to you and others. -
Similar Threads
-
How to deinterlace this video ?
By marconii2002 in forum Newbie / General discussionsReplies: 1Last Post: 7th Dec 2019, 14:07 -
How can I deinterlace this video and convert it to 1080p?
By Damathon in forum Video ConversionReplies: 3Last Post: 4th Dec 2019, 02:11 -
How to deinterlace this video
By marconii2002 in forum Newbie / General discussionsReplies: 2Last Post: 10th Jan 2019, 22:48 -
help to deinterlace blended dvd video
By spiritgumm in forum Video ConversionReplies: 7Last Post: 21st May 2016, 12:04 -
What filters do I need to deinterlace this video?
By flashandpan007 in forum RestorationReplies: 22Last Post: 13th Jan 2016, 23:40