@echo off
title REWOSSKY ENGELSIZYASAM
color 4
echo.
echo 1. RENDER SES
echo 2. RENDER 1280x720 + SES
echo 3. -200px CROP-RESIZE720 + SES
echo 4. SES Seviye1 White
echo 5. SES Seviye2 Gray
echo 6. SES Seviye3 DarkGray
echo 7. SES Seviye4 Black
echo 8. MP4 TO AVI DUSUK-KALITE
echo 9. AVI TO MP4 YUKSEK-KALITE
echo 10. MPEG TO MP4
echo 11. VIDEO BIRLESTIR x2
echo 12. VIDEO BIRLESTIR x3
echo 13. VIDEO BIRLESTIR x4
echo 132. VIDEO BIRLESTIR x5
echo 14. VIDEO BIRLESTIR x6
echo 15. Re-CODEC (Kayipsiz Boyut Dusur)
echo 16. MP4 TO MP3
echo 17. 5X MKV
echo 18. 2.30 KIRP
echo 19. VIDEO BIRLESTIR x9
echo.
set /p a=
IF %a%==1 (ffmpeg -y -i 1.mp4 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,8);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==2 (ffmpeg -y -i 1.mp4 -vf scale=1280:720 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,0);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==3 (ffmpeg -y -hide_banner -i "1.mp4" -vf "scale=1280:720:force_original_aspect_ratio=increase,crop=1 280:720" -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,0);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==4 (ffmpeg -y -i 1.mp4 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,0);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==5 (ffmpeg -y -i 1.mp4 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,1);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==6 (ffmpeg -y -i 1.mp4 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,10);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==7 (ffmpeg -y -i 1.mp4 -af "firequalizer=gain_entry='entry(0,-23);entry(250,-1100.5);entry(1000,0);entry(4000,20);entry(16000,16)'" -ss 0 -t 1285 CIKTI.mp4)
IF %a%==8 (ffmpeg -y -i 1.mp4 -vf scale=1280:720 CIKTI.mp4)
IF %a%==9 (ffmpeg -y -i 1.avi -c:a copy -c:v vp9 CIKTI.mp4)
IF %a%==10 (ffmpeg -i 1.mpeg -c copy MPG-MP4.mp4)
IF %a%==11 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts" -c copy BirlesenX2.mp4
Del h264ilk.ts
del h264iki.ts )
IF %a%==12 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i 3.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264UC.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts|h264UC.ts" -c copy BirlesenX3.mp4
Del h264ilk.ts
del h264iki.ts
del h264UC.ts )
IF %a%==13 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i 3.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264UC.ts
ffmpeg -i 4.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264DORT.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts|h264UC.ts|h264DORT.ts" -c copy BirlesenX4.mp4
Del h264ilk.ts
del h264iki.ts
del h264UC.ts
del h264DORT.ts )
IF %a%==132 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i 3.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264UC.ts
ffmpeg -i 4.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264DORT.ts
ffmpeg -i 5.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264BES.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts|h264UC.ts|h264DORT.ts|h264BES.ts" -c copy BirlesenX5.mp4
Del h264ilk.ts
del h264iki.ts
del h264UC.ts
del h264DORT.ts
del h264BES.ts )
IF %a%==14 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i 3.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264UC.ts
ffmpeg -i 4.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264DORT.ts
ffmpeg -i 5.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264BES.ts
ffmpeg -i 6.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ALTI.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts|h264UC.ts|h264DORT.ts|h264BES.ts|h264ALTI.ts" -c copy BirlesenX6.mp4
Del h264ilk.ts
del h264iki.ts
del h264UC.ts
del h264DORT.ts
del h264BES.ts
del h264ALTI.ts )
IF %a%==15 (ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 CIKTI.mp4
ffmpeg -i 2.mp4 -vcodec libx264 -crf 30 CIKTI2.mp4
ffmpeg -i 3.mp4 -vcodec libx264 -crf 30 CIKTI3.mp4
ffmpeg -i 4.mp4 -vcodec libx264 -crf 30 CIKTI4.mp4
ffmpeg -i 5.mp4 -vcodec libx264 -crf 30 CIKTI5.mp4
ffmpeg -i 6.mp4 -vcodec libx264 -crf 30 CIKTI6.mp4
ffmpeg -i 7.mp4 -vcodec libx264 -crf 30 CIKTI7.mp4)
IF %a%==16 (ffmpeg -i 1.mp4 -b:a 192K -vn Audio.mp3)
IF %a%==17 (ffmpeg -i output.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i output2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts" -c copy BirlesenX2.mp4)
IF %a%==18 (ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:00:00 -t 00:02:30 s1.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:02:30 -t 00:02:30 s2.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:05:00 -t 00:02:30 s3.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:07:30 -t 00:02:30 s4.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:10:00 -t 00:02:30 s5.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:12:30 -t 00:02:30 s6.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:15:00 -t 00:02:30 s7.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:17:30 -t 00:02:30 s8.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:20:00 -t 00:02:30 s9.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:22:30 -t 00:02:30 s10.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:25:00 -t 00:02:30 s11.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:27:30 -t 00:02:30 s12.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:30:00 -t 00:02:30 s13.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:32:30 -t 00:02:30 s14.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:35:00 -t 00:02:30 s15.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:37:30 -t 00:02:30 s16.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:40:00 -t 00:02:30 s17.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:42:30 -t 00:02:30 s18.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:45:00 -t 00:02:30 s19.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:47:30 -t 00:02:30 s20.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:50:00 -t 00:02:30 s21.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:52:30 -t 00:02:30 s22.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:55:00 -t 00:02:30 s23.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:57:30 -t 00:02:30 s24.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 00:59:59 -t 00:02:30 s25.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:02:30 -t 00:02:30 s26.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:05:00 -t 00:02:30 s27.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:07:30 -t 00:02:30 s28.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:10:00 -t 00:02:30 s29.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:12:30 -t 00:02:30 s30.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:15:00 -t 00:02:30 s31.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:17:30 -t 00:02:30 s32.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:20:00 -t 00:02:30 s33.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:22:30 -t 00:02:30 s34.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:25:00 -t 00:02:30 s35.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:27:30 -t 00:02:30 s36.mp4
ffmpeg -i 1.mp4 -vcodec libx264 -crf 30 -ss 01:30:00 -t 00:02:30 s37.mp4
IF %a%==19 (ffmpeg -i 1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ilk.ts
ffmpeg -i 2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264iki.ts
ffmpeg -i 3.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264UC.ts
ffmpeg -i 4.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264DORT.ts
ffmpeg -i 5.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264BES.ts
ffmpeg -i 6.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264ALTI.ts
ffmpeg -i 7.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264YEDI.ts
ffmpeg -i 8.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264SEKIZ.ts
ffmpeg -i 9.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts h264DOKUZ.ts
ffmpeg -i "concat:h264ilk.ts|h264iki.ts|h264UC.ts|h264DORT.ts|h264BES.ts|h264ALTI.ts|h264YEDI.ts|h264SEKIZ.ts|h264DOKUZ.ts" -c copy BirlesenX9.mp4)
IF %a%==20 (ffmpeg -i 1.mov -vcodec h264 my-video.mp4)