VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Jul 2009
    Location
    Palestinian Territory, Occupied
    Search Comp PM
    I downloaded a script from a user on this forum. It works well, but I want two things- I would like the resolution to stay at 1920x1200 (the native resolution of my Canon HF200) and I would like no normalization on the audio. I am very bad with manipulating avisynth scripts so does anyone know how to make this possible losslessly? Or is there another script that is better to use?

    Code:
    @echo off
    
    del *.aac
    del *.h264
    del *.avc
    del *.dga
    del *.ac3
    del *.wav
    del *.avs
    del *.log
    
    cls
    
    for %%a in ("*.mts") do xport -h "%%a" 1 1 1 && ren bits0001.mpa "%%~na.ac3" &&  ren bits0001.mpv "%%~na.avc"
    
    
    
    
    for %%b in ("*.avc") do DGAVCIndex -i "%%b" -o "%%~nb.dga" -e
    
    for %%c in ("*.ac3") do azid "%%c" "%%~nc.wav"
    for %%a in ("*.wav") do normalize -l 0 --peak -v "%%a"
    
    for %%a in ("*.wav") do faac -b 192 "%%a" -o "%%~na.aac"
    
    
    for %%a in ("*.dga") do @echo loadplugin("dgavcdecode.dll") >> "%%~na.avs"
    for %%a in ("*.dga") do @echo load_stdcall_plugin("yadif.dll") >> "%%~na.avs"
    for %%a in ("*.dga") do @echo AVCSource("%%a") >> "%%~na.avs"
    
    for %%a in ("*.dga") do @echo yadif() >> "%%~na.avs"
    for %%a in ("*.dga") do @echo fadein(15).fadeout(15) >> "%%~na.avs" 
    for %%a in ("*.dga") do @echo Lanczos4Resize(1280,720) >> "%%~na.avs"
    
    
    cls
    
    
    for %%a in ("*.avs") do x264.exe --qp 64 --bitrate 6000 --ref 10 --bframes 0 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads auto --thread-input --progress --no-psnr --no-ssim --output "%%~na.h264" "%%a" 
    
    
    for %%a in ("*.h264") do mp4box -add "%%a" -add "%%~na.aac" -fps 29.97 -new "vimeo_%%~na.mp4"
    
    
    del *.aac
    del *.h264
    del *.avc
    del *.dga
    del *.ac3
    del *.wav
    del *.avs
    del *.log
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Try remove the normalize and Lanczos4Resize lines from the script.

    But this is not lossless, reconverting to h264 and aac will reduce the quality a bit. What is you goal to change to mp4 file? If just computer playback why not leave it as mts.
    Quote Quote  
  3. Member
    Join Date
    Jul 2009
    Location
    Palestinian Territory, Occupied
    Search Comp PM
    Originally Posted by Baldrick
    Try remove the normalize and Lanczos4Resize lines from the script.

    But this is not lossless, reconverting to h264 and aac will reduce the quality a bit. What is you goal to change to mp4 file? If just computer playback why not leave it as mts.
    Final Cut will not read MTS and the Apple codecs that convert it to a usable format are garbage. Is there a better lossless conversion process?
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Avid DNxHD is cross platform and visually lossless.

    If you want truly lossless (i.e repackaging only) then Xvid4PSP can do this under Windows.
    Read my blog here.
    Quote Quote  
  5. well you aren't going to get 1920x1200 from any program. the cam only records 1920x1080.
    from canon
    The Canon VIXIA HF200 not only captures images in Full HD, but records and outputs at 1920 x 1080
    the Apple Intermediate Codec HDV 1080i60 should work fine for that cam's video.
    Quote Quote  



Similar Threads

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