I have to produce DVD-Compliant mpg files to import into DVD Authoring software and then burn onto DVD.
The source is VHS and S-VHS material captured trough a TerraTec Cinergy 400 and stored in Lagarith Lossless Codec.
I was searching for FREE MPEG2 codecs and many people advised HCenc as the best one on this forum. Others pointed out to AVStoDVD software for who wouldn't want to mess aroung much with the videos.
I then downloaded AVStoDVD and ran some comparisons among "Smart selection" (so FFMPEG) and "HCEnc", and the result was always better with the ffmpeg choice. The test involved PSNR and SSIM (couldn't enable VMAF), along with a visual inspection. Also, if compared with DVDFlick, the latter was always better to parity of bitrate.
On some other threads it was said that HCEnc requires a deep knowledge in order to be used correctly, but I couldn't find any thorough guide specifically for interlaced VHS content encoding (especially for when it comes to matrices), so I'm asking you if you have any advice, or if you suggest me any other (free) codec for my purpose*.
p.s. I'd like to avoid blocking as much as possible, and I generally set bitrates pretty high, since space isn't an impediment (1h/DVD would be no problem).
*procoder 1.5 is impossible to find and I don't have the budget for MainConcept!
Thanks in advance.
+ Reply to Thread
Results 1 to 8 of 8
I would suggest these settings in HCenc as a good starting point for interlaced VHS:
*BITRATE 9269 *MAXBITRATE 9600 *PROFILE best *ASPECT 4:3 *AUTOGOP 15 *DEADZONE 1 0 *DC_PREC 10 *INTERLACED *TFF *BIAS 30 *INTRAVLC 2 *MATRIX manono3 *LUMGAIN 1
Assuming stereo audio of 256 kBit/s, the average video bitrate to fill a DVD+R (4482.25 MiB) with 65 minutes of video would have to be 9269 kBit/s. This needs good quality media such as MCC 004 and a good burner (no laptop burner).
there is some old windows batch lines I used pulled out from scripts that encode mpeg2 or burn DVD right away from avi files, not sure if it is going to work on windows 10, DV avi helper.zip
if %ar%==4:3 if %h%==480 if %w%==720 (set DV_found=yes) if %ar%==4:3 if %h%==576 if %w%==720 (set DV_found=yes) if %ar%==16:9 if %h%==480 if %w%==720 (set DV_found=yes) if %ar%==16:9 if %h%==576 if %w%==720 (set DV_found=yes) set DAR=%ar% field_order=-INTERLACED -BFF SET pass_one_variables=%field_order% -AUTOGOP 15 -CQ_MAXBITRATE 3 -AQ 2 -MAXBITRATE 8500 -aspectratio %DAR% SET pass_two_variables=-2pass %field_order% -AUTOGOP 15 -MAXBITRATE 8500 -B %average% -aspectratio %DAR% if %pass_two% ==no %Hcenc% -i "%temp_adr%_v.avs" -o "%temp_adr%.m2v" %pass_one_variables% -logfile "%temp_adr%_hc.encoder.log" if %pass_two% ==yes %Hcenc% -i "%temp_adr%_v.avs" -o "%temp_adr%.m2v" %pass_two_variables% -logfile "%temp_adr%_hc.encoder.log"
*MAXBITRATE 8500 *PROFILE best *CQ_MAXBITRATE 5.000 *DC_PREC 10 *PREVIEW *INTRAVLC 2 *MATRIX mpeg *PRIORITY normal *WAIT 0
Last edited by _Al_; 25th Aug 2022 at 10:32.
[QUOTE=Skiller;2665640]DVDFlick (which always scored the highest psnr/ssim in my tests) which delivered a lot of blocking in the sky.
Now I'd like to ask you if this bitrate could create any compatibility issues with dvd players, and in that event if I could decrease the bitrate to around 8-9 Mb/s while keeping the other settings.
I still haven't tried the scripts, but I will as soon as I can.
Thanks by the way for your suggestions!
If blocking is the main problem you may want to try changing the encoding matrix in HCenc. There used to be dozens if not hundreds of matrices available in the DVD age, tuned for certain purpose. Not sure where to find these now.
Best mpeg2 encoder for minimum blocking was Canopus Procoder as I remember. Maybe you can still find it somewhere in the internet.
Also CCE (Cinemacraft) was very good for interlaced video. Not sure whether a freeware version ever existed.
Last edited by Sharc; 26th Aug 2022 at 14:52.
You can certainly go a bit lower on the average bitrate and fit a couple more minutes on a disc without a noticeable drop in quality (8000-9000 KBit/s will be fine), but I would keep the max bitrate setting at 9600 with HCenc (assuming stereo audio in the range of 192-256 KBit/s). HC tends to be pretty cautious of the max bitrate you enter and will barely touch it and never overshoot it. For most other encoders I would opt for a max bitrate setting of 9400.
Last edited by Skiller; 28th Aug 2022 at 22:12.