VideoHelp Forum




+ Reply to Thread
Page 3 of 5
FirstFirst 1 2 3 4 5 LastLast
Results 61 to 90 of 125
  1. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    What I am struggling to find is a stepo by step guide on editing DV and then exporting for general viewing
    Basic AviSynth script:
    Code:
    AviSource("file_name.avi") # or whatever source reader is appropriate
    crop(crop_left, crop_top, -crop_right, -crop_bottom)
    AssumeBFF()
    QTGMC(preset="slow")
    addborders(crop_left+crop_right)/2,(crop_top+crop_bottom)/2,(crop_left+crop_right)/2,(crop_top+crop_bottom)/2)
    encode the avs file with ffmpeg in a command line:

    Code:
    ffmpeg.exe -i <file_name>.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k output.mp4
    Once you get familiar with the basic, you can introduce more complex processing.
    Quote Quote  
  2. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Originally Posted by Jonny
    What I am struggling to find is a stepo by step guide on editing DV and then exporting for general viewing
    Use exactly the same procedure, as for analogue AVI captures: Deinterlace, crop, edit/adjust, resize. You will need much less cropping for DV, if any at all. Also, if you've shot 16:9 DV, you'll need to resize it to 1024x576.

    This confused me as I only just found that cropping is accessible from within the filters list
    Spotto!

    Lollo, you're contradicting yourself:

    Originally Posted by Lollo
    Cropping should be before deinterlacing
    Originally Posted by Lollo
    The cropping before deinterlacing can introduce a problem if you do not respect the appropriate mod according to the source.
    Quote Quote  
  3. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Originally Posted by Alwyn View Post
    Originally Posted by Lollo
    Cropping should be before deinterlacing
    Originally Posted by Lollo
    The cropping before deinterlacing can introduce a problem if you do not respect the appropriate mod according to the source.
    Lollo, you're contradicting yourself
    Only if you do not understand the basics of cropping and deinterlacing.
    Quote Quote  
  4. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Would you mind enlightening us?
    Quote Quote  
  5. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by Alwyn View Post
    Lollo, you're contradicting yourself:
    Originally Posted by Lollo
    Cropping should be before deinterlacing
    Originally Posted by Lollo
    The cropping before deinterlacing can introduce a problem if you do not respect the appropriate mod according to the source.
    I don't see contradiction in his statement.***
    - Crop before deinterlace.
    - Not cropping before deinterlace introduces problems.

    *** I didn't read the whole thread. But it needs to be mentioned that SOMETIMES you only crop after, and SOMETIMES you only crop before. It really depends on factors. It's one of those blanket statements that, read wrong, read out of context (like not reading every post in a thread), leads to massive quality loss. And let's face it, everybody skims, few read every word. (I'm not sure if lollo is correct or not here, but I generally trust his Avisynth scripting, so benefit of the doubt here, not having read it myself.)
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  6. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    But it needs to be mentioned that SOMETIMES you only crop after, and SOMETIMES you only crop before. It really depends on factors.
    We're here to learn. Is it possible to even roughly detail when? I have always cropped after deinterlacing and I have never had "massive" quality loss.
    Quote Quote  
  7. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    The crop before deinterlacing helps to avoid flickering which may happen sometimes on top and bottom scanlines (especially if you work with material with head swithing noise, introducing bad motion vectors at the border for deinterlacer processing routines). It also reduces computation time, but that's marginal.

    When cropping before deinterlacing YV12 material (which is generally not a standard for an Analog Capture), be careful to crop using mod4 on the vertical axis to avoid blurring of chroma.

    It was just that, I had no wish to be pedantic

    edit: for YUY2 crop mod2 vertically, for the same reason
    Last edited by lollo; 11th Dec 2023 at 04:39.
    Quote Quote  
  8. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Alwyn View Post
    Originally Posted by Jonny
    What I am struggling to find is a stepo by step guide on editing DV and then exporting for general viewing
    Use exactly the same procedure, as for analogue AVI captures: Deinterlace, crop, edit/adjust, resize. You will need much less cropping for DV, if any at all. Also, if you've shot 16:9 DV, you'll need to resize it to 1024x576.

    This confused me as I only just found that cropping is accessible from within the filters list
    Spotto!

    Lollo, you're contradicting yourself:

    Originally Posted by Lollo
    Cropping should be before deinterlacing
    Originally Posted by Lollo
    The cropping before deinterlacing can introduce a problem if you do not respect the appropriate mod according to the source.
    How can I find out if Iv'e shot 16:9 aspect ratio?

    What I meant above was that I search the menus for cropping but could not find it, then re read your guide and realised cropping appeared in the filter list when you click on a filter
    Quote Quote  
  9. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    What I meant above was that I search the menus for cropping but could not find it, then re read your guide and realised cropping appeared in the filter list when you click on a filter
    If you want crop only in VirtualDub, you can add the filter "null transform", which does nothing and enables cropping feature.
    Quote Quote  
  10. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Originally Posted by Lollo
    If you want crop only in VirtualDub, you can add the filter "null transform", which does nothing and enables cropping feature.
    That's only relevant for VDub 1.x. As stated, VDub 2 has a dedicated Cropping filter.
    Quote Quote  
  11. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by Alwyn View Post
    Originally Posted by Lollo
    If you want crop only in VirtualDub, you can add the filter "null transform", which does nothing and enables cropping feature.
    That's only relevant for VDub 1.x. As stated, VDub 2 has a dedicated Cropping filter.
    The problem is that VirtualDub2 cropping filters can have nasty side effects. I reported it several times, with details and samples, and nothing was ever done about it. It's not to be trusted.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  12. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    So feeling brave, I added the filters, (Deinterlace, Denoise, Resize to 768x576), save video options Huffyuv v21.1. Everything else left as standard - Pixel Format RGB24, No Compression. Video set to Full Processing Mode.
    I saved the first 7 as a job que. When I hit Job Control / Start, everything apart from the last one immediately went to status Error. The only one that ran was the last one.

    Any ideas?

    Image
    [Attachment 75494 - Click to enlarge]


    UPDATED
    Sorry, before I ran the job, I moved the capture files to a different folder DOH!!
    Last edited by JonnyAlpha; 13th Dec 2023 at 08:32.
    Quote Quote  
  13. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    So feeling brave
    That's the spirit!

    Bummer on the errors.

    Hit F8 (Go>Log). I've never read it but there may be something in there.
    Quote Quote  
  14. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    Don't use RGB24, use YUV2 instead.
    Quote Quote  
  15. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    You started with a DV capture ? I fail to see the benefit of editing to huffyuv. The lossless result comes from a lossy source so there is little benefit. And much larger video files.
    Quote Quote  
  16. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    Getting rid of DV codec is not just a benefit, it is a necessity. If you want to de-interlace, denoise, color correct, upscale and more, you would have to do it outside the DV codec. When you use NLE software to edit a DV footage "supposedly in the DV domain", the software decodes the DV into an uncompressed video, does the processing and encode back to DV, it just doesn't tell you that. But we all know script software are better and more transparent than NLE software, this is what the OP is doing.
    Quote Quote  
  17. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Alwyn View Post
    So feeling brave
    That's the spirit!

    Bummer on the errors.

    Hit F8 (Go>Log). I've never read it but there may be something in there.
    Alwyn - read the update - I had moved the source files into a different folder - hence the error - all sorted now.
    Quote Quote  
  18. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by dellsam34 View Post
    Don't use RGB24, use YUV2 instead.
    Iv'e already done a load using RGB24 - what would the benefits be in doing them again using YUV2?
    Happy to do them all again if needed.
    Quote Quote  
  19. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by DB83 View Post
    You started with a DV capture ? I fail to see the benefit of editing to huffyuv. The lossless result comes from a lossy source so there is little benefit. And much larger video files.
    I was following advice from Dellsam34 here and Alwyn here
    Quote Quote  
  20. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by dellsam34 View Post
    Getting rid of DV codec is not just a benefit, it is a necessity. If you want to de-interlace, denoise, color correct, upscale and more, you would have to do it outside the DV codec. When you use NLE software to edit a DV footage "supposedly in the DV domain", the software decodes the DV into an uncompressed video, does the processing and encode back to DV, it just doesn't tell you that. But we all know script software are better and more transparent than NLE software, this is what the OP is doing.
    So stick with Huvyuff?
    Quote Quote  
  21. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by dellsam34 View Post
    Getting rid of DV codec is not just a benefit, it is a necessity. If you want to de-interlace, denoise, color correct, upscale and more, you would have to do it outside the DV codec. When you use NLE software to edit a DV footage "supposedly in the DV domain", the software decodes the DV into an uncompressed video, does the processing and encode back to DV, it just doesn't tell you that. But we all know script software are better and more transparent than NLE software, this is what the OP is doing.
    Fairy nuff. But the way I read it is that ALL the processing is done at DV level with only the final encode to lossless. Surely you would require two encodes. The first a bare conversion. Then the post-processing before a second encode.
    Quote Quote  
  22. Banned
    Join Date
    Nov 2022
    Search PM
    Originally Posted by DB83 View Post
    But the way I read it is that ALL the processing is done at DV level with only the final encode to lossless. Surely you would require two encodes. The first a bare conversion. Then the post-processing before a second encode.
    Maybe some NLEs can do some operations on compressed footage, but normally they uncompress it first. Some NLEs can do it on the fly like Vegas, other convert it to an intermediate format first (old FCP and iMovie, not sure whether they still do it). IDK whether they can apply effects to the intermediate format directly, or do they still need to uncompress fully.

    In Vegas, you can switch from 8-bit integer to 32-bit floating point. As the Help file explains, "The 32-bit floating point settings allow greater precision for processing video, but require significantly more processing power than working with 8-bit video". I suppose when there are tons of effects, the consecutive rounding errors when dealing with integers can become noticeable compared to processing as float and then converting back to integer. Hmm, I probably should switch to float, especially for 10-bit Cineform files.
    Quote Quote  
  23. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Originally Posted by Jonny
    How can I find out if Iv'e shot 16:9 aspect ratio?
    Sorry I missed this. There are a couple of ways: play it in VLC player and the "wide" 16:9 shape will be obvious. Or you can open the file in Mediainfo View>Tree or Text (a great file info program) and the shot ratio will be shown in the video data:

    Image
    [Attachment 75509 - Click to enlarge]


    To clarify my post-filter workflow: I export to lossless eg HUFF, LAGS, Magic only so that I can import into my "proper" video editor in the best quality for further editing (titles, sectioning, transitions). I then export out as MP4 for distribution/consumption.

    If I have no need for further external editing, I export out from Virtual Dub as MP4, as per my guide.
    Quote Quote  
  24. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    Originally Posted by JonnyAlpha View Post
    Iv'e already done a load using RGB24 - what would the benefits be in doing them again using YUV2?
    Happy to do them all again if needed.
    YUV2 is compatible with most script software, Outputing HuffYUV is just to reduce the overall size of the lossless files, It can also be uploaded directly to youtube without issues.
    Quote Quote  
  25. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Alwyn View Post
    Originally Posted by Jonny
    How can I find out if Iv'e shot 16:9 aspect ratio?
    Sorry I missed this. There are a couple of ways: play it in VLC player and the "wide" 16:9 shape will be obvious. Or you can open the file in Mediainfo View>Tree or Text (a great file info program) and the shot ratio will be shown in the video data:

    Image
    [Attachment 75509 - Click to enlarge]


    To clarify my post-filter workflow: I export to lossless eg HUFF, LAGS, Magic only so that I can import into my "proper" video editor in the best quality for further editing (titles, sectioning, transitions). I then export out as MP4 for distribution/consumption.

    If I have no need for further external editing, I export out from Virtual Dub as MP4, as per my guide.
    OK cool, I do need to do extra editing as I need to join all the clips together, before I sporting to mp4. What would be a recommended free editor to do this?
    Quote Quote  
  26. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by dellsam34 View Post
    Originally Posted by JonnyAlpha View Post
    Iv'e already done a load using RGB24 - what would the benefits be in doing them again using YUV2?
    Happy to do them all again if needed.
    YUV2 is compatible with most script software, Outputing HuffYUV is just to reduce the overall size of the lossless files, It can also be uploaded directly to youtube without issues.
    Ok thanks, I had a look back in the save video window where RGB24 is set as default, whilst there are lots of other options YUV2 is not one of them?
    Quote Quote  
  27. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Originally Posted by Dellsam
    Don't use RGB24, use YUV2 instead.
    Did you mean YUY2?

    Image
    [Attachment 75517 - Click to enlarge]
    Quote Quote  
  28. Member
    Join Date
    Nov 2009
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by Alwyn View Post
    Originally Posted by Dellsam
    Don't use RGB24, use YUV2 instead.
    Did you mean YUY2?

    Image
    [Attachment 75517 - Click to enlarge]
    Ah - didn't spot that

    Would it be ok to re-open all of the clips that I have already clipped and filtered and re-save them without any filters again as YUY2? Then carry on with the remainder filtering and using YUY2 output format?
    Last edited by JonnyAlpha; 14th Dec 2023 at 05:54.
    Quote Quote  
  29. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Originally Posted by Jonny
    Would it be ok to re-open all of the clips that I have already clipped and filtered and re-save them without any filters again as YUY2?
    I'm not a whiz at this colour stuff; better wait until Dellsam43 clarifies this.
    Quote Quote  
  30. Ive also been using the default RGB24 pixel format to encode all of my captures so far. Is this going to be a problem?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!