I want to make some copies of our home videos and put them on USB sticks for viewing, but everytime i've tried to render them in FFmpeg, vdub, they always seem to come out as Progressive.
Code:AVISource("I:\June 1996.avi") AssumeTFF() AssumeFPS(25) ConverttoYV12() ex_vibrance(1.3) SmoothTweak(brightness=-10,contrast=1) UnsharpMask(strength=36, radius=3, threshold=8)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 24 of 24
Thread
-
-
Maybe you encoded them as progressive. Set your encoder to encode interlaced
ConvertToYV12 should be ConvertToYV12(interlaced=true)
You can't use UnsharpMask on interlaced content while fields are interleaved - You will co-mingle the interleaved fields . Either 1) deinterlace, sharpen, reinterlace ; or 2) separate fields , sharpen, then weave -
-
I see. What is the least destructive deinterlacer, and how do you reinterlace?
-
-
How should the last line be if the source is BFF?
AssumeBFF().QTGMC(lossless=1)
<filtering>
?????
For example, AVStoDVD generates this code when the source is tff:
Code:Video = Video.LeakKernelBob(1,7,false,false) <other filters> Video = Video.SeparateFields().SelectEvery(4,1,2).Weave()
Code:Video = Video.LeakKernelBob(0,7,false,false) <other filters> Video = Video.SeparateFields().SelectEvery(4,0,3).Weave()
Last edited by davexnet; 11th Feb 2024 at 14:30.
-
It's still rendering as Progressive.
Code:AVISource("I:\June 1996.avi") ConverttoYV12(interlaced=true) AssumeTFF().QTGMC(lossless=1) ex_vibrance(1.3) SmoothTweak(brightness=-10,contrast=1) UnsharpMask(strength=36, radius=3, threshold=8) AssumeTFF().SeparateFields().SelectEvery(4,0,3).Weave()
Code:General Complete name : F:\Video Files\June 1996.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 16.1 MiB Duration : 7 s 120 ms Overall bit rate mode : Variable Overall bit rate : 19.0 Mb/s Writing application : Lavf58.45.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings : CABAC / 8 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 8 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 7 s 120 ms Bit rate : 18.6 Mb/s Width : 704 pixels Height : 576 pixels Display aspect ratio : 1.222 Frame rate mode : Constant Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 1.838 Stream size : 15.8 MiB (98%) Writing library : x264 core 161 Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Codec configuration box : avcC
Last edited by Master Tape; 11th Feb 2024 at 14:47.
-
-
-
If you have to deinterlace to filter, why not keep the final video progressive?
-
-
Last edited by Sharc; 11th Feb 2024 at 17:26.
-
-
-
Sorry, this is in AVSPMod. I'm not using AVS2DVD for this particular task.
Code:AVISource("I:\Video.avi") ConverttoYV12(interlaced=true) AssumeTFF() separatefields() e=selecteven().UnsharpMask(strength=36, radius=3, threshold=8) o=selectodd().UnsharpMask(strength=36, radius=3, threshold=8) weave(e,o) ex_vibrance(1.3) SmoothTweak(brightness=-10,contrast=1)
-
Looks like there's something missing, should be weave(clip)
Jagabo has interleave(e,o) just prior, in which case weave()
should workLast edited by davexnet; 11th Feb 2024 at 22:45.
-
As per post#15:
Code:AVISource("I:\Video.avi") ConverttoYV12(interlaced=true) AssumeTFF() separatefields() e=selecteven().UnsharpMask(strength=36, radius=3, threshold=8) o=selectodd().UnsharpMask(strength=36, radius=3, threshold=8) interleave(e,o) weave() ex_vibrance(1.3) SmoothTweak(brightness=-10,contrast=1)
-
Thanks, looks like i missed interleave then got confused by the post edit and changed it to weave. Looks alot better!
-
Sharper but more processed looking...
Code:LWLibavVideoSource("Source Video.avi") AssumeTFF() ColorYUV(gain_y=40, off_y=-30) QTGMC() SMDegrain(thsad=1000, tr=3, prefilter=4) aWarpSharp2(depth=5) Sharpen(0.7, 0.0) Sharpen(0.7) MergeChroma(last, Spline36Resize(240,288).aWarpSharp2(depth=20).nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=width, fheight=height)) ChromaShiftSP(x=-2, y=2) prefetch(8)
Similar Threads
-
Using FFMPEG how can I convert a file to interlaced MJPEG?
By PRAGMA in forum Video ConversionReplies: 9Last Post: 15th Apr 2023, 11:09 -
Permission denied error with interlaced file
By TenementLady in forum ffmpegX general discussionReplies: 2Last Post: 3rd Jul 2022, 12:23 -
Is it possible to transfer progressive video file back to interlaced?
By anonymoustly in forum MediaReplies: 15Last Post: 20th Mar 2022, 15:20 -
Is my video file interlaced ?
By robw1947 in forum RestorationReplies: 49Last Post: 20th Feb 2022, 18:11 -
MKVMerge not rendering entire file name...
By Lathe in forum Newbie / General discussionsReplies: 12Last Post: 6th Apr 2020, 17:03