feos

2-pass

May 6th, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.00 KB | None | 0 0
  1. :: use BitrateCalc.exe
  2. set BITRATE=76000
  3.  
  4. :: threads increase memory usage
  5. set THREADS=1
  6.  
  7. set OUTPUT="H:\"
  8.  
  9.  ".\programs\avs2pipemod" -wav encode.avs | ".\programs\venc" -q10 - %OUTPUT%audio_youtube.ogg
  10.  
  11.  ".\programs\avs2pipemod" -y4mp encode.avs | ".\programs\x264_x64" --threads %THREADS% --pass 1 --bitrate %BITRATE% --stats %OUTPUT%video_youtube.stats --keyint infinite --ref 6 --bframes 0 --input-range tv --range tv --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output-csp i420 --output NUL --demuxer y4m -
  12.  
  13. ".\programs\avs2pipemod" -y4mp encode.avs | ".\programs\x264_x64" --threads %THREADS% --pass 2 --bitrate %BITRATE% --stats %OUTPUT%video_youtube.stats --keyint infinite --ref 6 --bframes 0 --input-range tv --range tv --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output-csp i420 --output %OUTPUT%video_youtube.mkv --demuxer y4m -
  14.  
  15.  ".\programs\mkvmerge" -o %OUTPUT%encode_youtube.mkv --compression -1:none %OUTPUT%video_youtube.mkv %OUTPUT%audio_youtube.ogg
  16.  
  17. pause
Add Comment
Please, Sign In to add comment