Advertisement
junh1024

CCS

Mar 8th, 2019
947
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM set filterstring=-vf scale=480:360:flags=bicubic
  2. REM set filterstring=scale=960:720:flags=bilinear,hqdn3d=2
  3. set filterstring=scale=320:240
  4. set fps=fps=24000/1001
  5.  
  6. REM set filterstring=-vf scale=1280:720,fftdnoiz=sigma=1
  7. set path=C:\Users\junh1024\Desktop\Apps\ffmpeg
  8.  
  9. REM ffmpeg -i "%~f1" %filterstring%  -y  -an  "%~f1-proxy.mkv"
  10.  
  11. set OPend=1915
  12. set EDstart=32008
  13.  
  14. set EDlength=1668
  15.  
  16. set /A EDend= %EDstart% + %EDlength%
  17.  
  18. REM echo %EDend%
  19.  
  20.  
  21. %path%\ffmpeg -i "ncop1a.mkv" -an -i "%~f1"  -an  -i "nced1.mkv"  -an  -filter_complex "[0:0]trim=end_frame=%OPend%,%fps%[NCOP];[1:0]trim=start_frame=%OPend%:end_frame=%EDstart%,%fps%[main];[2:0]trim=end_frame=%EDlength%,%fps%[NCED];[1:0]trim=start_frame=%EDend%,%fps%[NEP];[NCOP][main][NCED][NEP]concat=n=4[out];[out]%filterstring%,%fps%"   -y  "%~f1-sync.mkv"
  22.  
  23.  
  24.  REM -pix_fmt yuv420p10le  -strict -1 -f yuv4mpegpipe - | %path%\x265-10b-23 -F 1   --csv  x265logs.csv   --colorprim bt709 --transfer  bt709 --colormatrix  bt709 --preset ultrafast   --crf 23  --y4m --sar 1   --input - -o "%~p1 CCX V3 V RC1.mkv"
  25.  
  26.  
  27.  
  28. popd
  29. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement