Hızlı video birleştirme (5Saat video=1dk işlem) FFMPEG

Rewossky

Administrator
Katılım
2 Ağustos 2016
Mesajlar
6.779
Tepkime puanı
0
Puan
36
Konum
Pripyat
Web sitesi
www.ytpara.com
Selamlar.

Render programlarının hantallığından bunalıp ffmpeg ile bir şeyler denedim, oldukça olumlu sonuçlar elde ettim. 2,5 saatlik iki filmi (2gb) 1dk'da birleştirdim. Bu kadar hızlı sonuç veren başka bir sistem yok diyebilirim.

Sistem tek tıklama ile ilk başta 2videoyu aynı codeclere dönüştürüyor ve sonra ikisini birleştiriyor.

https://www.youtube.com/watch?v=gGY8K7n7aeo


Ben dosya isimlerini 1 - 2 ve BİRLEŞEN olarak ayarladım, siz BAT dosyasını açıp istediğiniz gibi değiştirebilirsiniz.


ÜCRETSİZ OLARAK İNDİR (56MB)
https://dosya.co/oo9gha8j4qa9/FFMPEG_TOPLU_İŞLEM.rar.html

Kod olarak isteyenler;
Kod:
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 Birlesen.mp4


Sistem özelliklerim :SSD'siz sistem, Pentium G serisi cpu, 8gb ddr3 ram, gtx 730 vga
 
Son düzenleme:
Büyük kolaylık sağlayacak teşekkür ederim
 
hocam videonti de sorun yaşadığım için video birleştirme prog. arayışına girdim.( Videonti deki sorun mesela 40 dk video(ilk video), 5 dk lik video(ikinci video) birleştirince 45 dk olarak çıkması lazım video dosyasının fakat 1 saat 20 dk felan çıkıyor.)

Siz hala bu üstte linkini paylaştığınız sistemi kullanıyor musunuz?
güncel kullandığınız bir sistem varsa söyleyebilir misiniz ?
 
hocam videonti de sorun yaşadığım için video birleştirme prog. arayışına girdim.( Videonti deki sorun mesela 40 dk video(ilk video), 5 dk lik video(ikinci video) birleştirince 45 dk olarak çıkması lazım video dosyasının fakat 1 saat 20 dk felan çıkıyor.)

Siz hala bu üstte linkini paylaştığınız sistemi kullanıyor musunuz?
güncel kullandığınız bir sistem varsa söyleyebilir misiniz ?

hocam bunu kullanıyorum aktif olarak, hiç sorun yaşamadım desem yeridir, bir hata vs vermesi de söz konusu olmadı hiç
 
Teşekkürler lazım olabilir
[MENTION=56556]Rewossky[/MENTION] hocam 2 den fazla video birleştirmek için ne yapmak gerekli ?
 
Son düzenleme:
Teşekkürler lazım olabilir
[MENTION=56556]Rewossky[/MENTION] hocam 2 den fazla video birleştirmek için ne yapmak gerekli ?

Şu bat dosyasının komutlarını ekliyorum, bunun içinde epey bir çoklu birleştirme hazır olarak duruyor. Not defteri açıp buradaki kodları ekleyin ve sonra farklı kaydet diyerek sonu .bat ile bitecek şekilde kaydedin. Örneğin Başlat.bat Start.bat gibi.

6WEvHCW.jpg



Kod:
@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)
 
Selamlar.

Render programlarının hantallığından bunalıp ffmpeg ile bir şeyler denedim, oldukça olumlu sonuçlar elde ettim. 2,5 saatlik iki filmi (2gb) 1dk'da birleştirdim. Bu kadar hızlı sonuç veren başka bir sistem yok diyebilirim.

Sistem tek tıklama ile ilk başta 2videoyu aynı codeclere dönüştürüyor ve sonra ikisini birleştiriyor.

https://www.youtube.com/watch?v=gGY8K7n7aeo


Ben dosya isimlerini 1 - 2 ve BİRLEŞEN olarak ayarladım, siz BAT dosyasını açıp istediğiniz gibi değiştirebilirsiniz.


ÜCRETSİZ OLARAK İNDİR (56MB)
https://dosya.co/qcg0wnbg1tpa/Video_Birleştir.rar.html

Kod olarak isteyenler;
Kod:
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 Birlesen.mp4


Sistem özelliklerim :SSD'siz sistem, Pentium G serisi cpu, 8gb ddr3 ram, gtx 730 vga



hocam merhaba linkleri güncelleme şansınız varmı ?
 
Linki güncelledim, aktif kullandığım toplu işlemli uzantıyı dahil ettim, sağ tık / düzenle yapıp kodları inceleyebilirsiniz.

Bu konuda bir defa daha sana teşekkür ederim. Verdiginiz kodlar çok çok işime yaradı.
Ayrıca konuya bende ufak bir ekleme yapmak istiyorum. Chat gpt ile bu kodları geliştirerek güzel işler çıkartabiliyoruz.
 
Kişiselleştirme

Tema editörü

Ayarlar Renkler

  • Mobil kullanıcılar bu fonksiyonları kullanamaz.

    Alternatif header

    Farklı bir görünüm için alternatif header yapısını kolayca seçebilirsiniz.

    Görünüm Modu Seçimi

    Tam ekran ve dar ekran modları arasında geçiş yapın.

    Izgara Görünümü

    Izgara modu ile içerikleri kolayca inceleyin ve düzenli bir görünüm elde edin.

    Resimli Izgara Modu

    Arka plan görselleriyle içeriğinizi düzenli ve görsel olarak zengin bir şekilde görüntüleyin.

    Yan Paneli Kapat

    Yan paneli gizleyerek daha geniş bir çalışma alanı oluşturun.

    Sabit Yan Panel

    Yan paneli sabitleyerek sürekli erişim sağlayın ve içeriğinizi kolayca yönetin.

    Box görünüm

    Temanızın yanlarına box tarzı bir çerçeve ekleyebilir veya mevcut çerçeveyi kaldırabilirsiniz. 1300px üstü çözünürler için geçerlidir.

    Köşe Yuvarlama Kontrolü

    Köşe yuvarlama efektini açıp kapatarak görünümü dilediğiniz gibi özelleştirin.

  • Renginizi seçin

    Tarzınızı yansıtan rengi belirleyin ve estetik uyumu sağlayın.

Geri