VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    I am trying to convert some lossless .avi files to .mp4 or .mkv files but the thing is, I am not sure what is the default for converting to lossless .mp4 or .mkv. I want to do this in Virtualdub2 to make but is the default settings for any other type of converter such as Handbrake, RipBot, etc.?
    Quote Quote  
  2. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    To encode to lossless AVC video, you need to specify quantizer 0 (as documented in the help screen of x264):
    Code:
          Lossless:
                x264 --qp 0 -o <output> <input>
    Please note that consumer players may not play lossless AVC. PC media players should be able, especially when using decoders based on ffmpeg / libavcodec. This means e.g. VLC, MPC-HC, MPC-BE, or installing LAV Filters for any DirectShow compatible player.
    Quote Quote  
  3. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    What about in the Windows version of those very same codecs? Like x264 8 bit?
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by Guernsey View Post
    What about in the Windows version of those very same codecs? Like x264 8 bit?
    Yes, that's the default, the command given produces such a file
    Quote Quote  
  5. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    The codec does not behave differently on different operating systems.
    Quote Quote  
  6. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Have you considered simply using MKVToolNix? No re-encoding quality in = quality out, same with file size.
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  7. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    MKV will be able to contain the original video format from the AVI. MP4 requires one of a few supported video formats.
    Quote Quote  
  8. Member
    Join Date
    May 2016
    Location
    Lithopolis, OH United States
    Search Comp PM
    Originally Posted by LigH.de View Post
    To encode to lossless AVC video, you need to specify quantizer 0 (as documented in the help screen of x264):
    Code:
          Lossless:
                x264 --qp 0 -o <output> <input>
    Please note that consumer players may not play lossless AVC. PC media players should be able, especially when using decoders based on ffmpeg / libavcodec. This means e.g. VLC, MPC-HC, MPC-BE, or installing LAV Filters for any DirectShow compatible player.
    How do you translate this into the x264 configuration in Virtualdub2?
    Quote Quote  
  9. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    Just study the user interface.
    Image Attached Thumbnails Click image for larger version

Name:	VDub2_x264_lossless.png
Views:	34
Size:	16.1 KB
ID:	62276  

    Quote Quote  
  10. You can also use ffmpeg with -crf 0 for lossless avc/hevc encoding
    Quote Quote  
  11. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    CRF 0 may work too; but Constant Quantizer 0 is the primarily documented method.
    Quote Quote  



Similar Threads

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