• 02-03-2025, 03:14:13
    #28
    def cut_video(self):
    if self.video_path:
    if not os.path.exists(f"videos/{idd}/video/"):
    os.makedirs(f"videos/{idd}/video/")
    output_path = f"videos/{idd}/video/{sira}.mp4"
    start_sec = self.start_time
    end_sec = self.end_time
    control_point_sec = self.audio_control_time
    fade_in_duration = self.fade_in_duration
    fade_out_duration = self.fade_out_duration
    full_volume_duration = self.full_volume_duration
    audio_effect_start_sec = max(0, control_point_sec - fade_in_duration)
    full_volume_end_sec = control_point_sec + full_volume_duration
    fade_out_start_sec = full_volume_end_sec
    if self.video_label.blur_rects:
    filter_complex = ""
    prev_base_video = "[0:v]"
    for i, rect in enumerate(self.video_label.blur_rects):
    x = rect.x()
    y = rect.y()
    w = rect.width()
    h = rect.height()
    if i == 0:
    filter_complex += f"{prev_base_video}split=2[base0][blurred0];"
    filter_complex += f"[blurred0]crop={w}:{h}:{x}:{y},boxblur=10:10[box0];"
    filter_complex += f"[base0][box0]overlay={x}:{y}[base1v];"
    prev_base_video = "[base1v]"
    else:
    filter_complex += f"{prev_base_video}split=2[base{i}a][blurred{i}];"
    filter_complex += f"[blurred{i}]crop={w}:{h}:{x}:{y},boxblur=10:10[box{i}];"
    filter_complex += f"[base{i}a][box{i}]overlay={x}:{y}[base{i+1}v];"
    prev_base_video = f"[base{i+1}v]"
    filter_complex += f"[0:a]volume=0:enable='lt(t,{audio_effect_start_sec})'[silenced_audio];"
    filter_complex += f"[silenced_audio]afade=in:ss={audio_effect_start_sec}:d={fade_in_du ration}[fadein_audio];"
    filter_complex += f"[fadein_audio]afade=out:st={fade_out_start_sec}:d={fade_out_dura tion}[aout]"
    cmd = [
    'ffmpeg', '-y',
    '-i', self.video_path,
    '-ss', str(start_sec), '-to', str(end_sec),
    '-filter_complex', filter_complex,
    '-map', prev_base_video, '-map', '[aout]',
    '-c:v', 'libx264', '-preset', 'medium', '-crf', '23',
    '-c:a', 'aac', '-b:a', '128k', output_path
    ]
    else:
    filter_complex = f"[0:a]volume=0:enable='lt(t,{audio_effect_start_sec})'[silenced_audio];"
    filter_complex += f"[silenced_audio]afade=in:ss={audio_effect_start_sec}:d={fade_in_du ration},volume=1:enable='between(t,{audio_effect_s tart_sec},{full_volume_end_sec})'[full_volume_audio];"
    filter_complex += f"[full_volume_audio]afade=out:st={fade_out_start_sec}:d={fade_out_dura tion}[aout]"
    cmd = [
    'ffmpeg', '-y',
    '-i', self.video_path,
    '-ss', str(start_sec), '-to', str(end_sec),
    '-filter_complex', filter_complex,
    '-map', '0:v', '-map', '[aout]',
    '-c:v', 'libx264', '-preset', 'medium', '-crf', '23',
    '-c:a', 'aac', '-b:a', '128k', output_path
    ]
    subprocess.run(cmd)
    print(f"Video kaydedildi: {output_path}")
  • 02-03-2025, 04:12:31
    #29
    Konuyu toplam 15 kişi okuyor. (13 kayıtlı üye ve 2 misafir)
    Ladavaz+, omerfarukxy, Bartis, SeoWr, EmreCPR, DRY, MMU, slipknot, WebFinity, demirhandemir, Berkt, ForJustice, XrDevil
  • 02-03-2025, 12:22:17
    #30
    $LNG['custom_asteroid'] = '
    <b>The Asteroid Discovery Event has begun!</b><br><br>
    <img src="https://play.ogame.life/styles/theme/gow/planeten/small/s_asteroid.png" height="16" width="16">
    You may spot asteroids resembling this image in the galaxy.<br>
    <b>%d</b> asteroids have been detected falling towards the planet.<br>
    Time remaining until impact: <b>10 seconds</b>.<br><br>
    Asteroids are very rare in the galaxy, but for each collected asteroid, you will receive <b><span style="color:red;">100 antimatter</span></b>, making it worth your efforts.<br><br>
    <b>Event Duration:</b><br>
    - This event continues until the <b>next asteroid rain</b>.<br>
    - Asteroids disappear <b>once they are collected</b>.<br>
    - The countdown for the next asteroid rain has begun.<br><br>
    <b>Important Information:</b><br>
    - Asteroids can only be collected with the <b>Battle Recycler</b> ship.<br>
    <div style="display:flex; align-items:center;">
    <span>Battle Recycler</span>
    <img src="https://play.ogame.life/styles/theme/gow/gebaeude/219.gif" height="16" width="16" style="margin-left:5px;">
    </div><br>
    - The more ships you send, the more resources you can gather.<br>
    - However, asteroid resources are <b>limited</b>. Act fast!<br><br>
    <b>Alliance Planet and Touch Module Usage:</b><br>
    If you have access to an alliance planet, you can use the <b>Touch Module</b> to explore more asteroid fields. The Touch Module expands the range around the alliance planet, allowing you to detect asteroids that are normally out of reach. You can benefit from these advantages by requesting access to the alliance planet from your alliance chairman.<br><br>

    <b>5 detected Asteroid Locations:</b><br>
    %s<br><br>
    <b>Rewards:</b><br>
    - Each asteroid contains <b>metal</b>, <b>crystal</b>, and <b>antimatter</b>.<br>
    Good luck, commander!
    ';
  • 02-03-2025, 12:30:48
    #31
    FLrUrjUyhUY7
  • 02-03-2025, 16:12:23
    #32
    Profesyonel Tasarım Hiz.
  • 02-03-2025, 17:04:59
    #34
    <!-- Mobil Uyumluluk için Ek CSS -->
  • 02-03-2025, 17:29:44
    #35
    🚀 Awarder 4 ile Kendi Görev Platformunu Kur! – Sadece 2000₺ (Son 10 Kişi!) 💰
    🔹 Kazançlı bir iş modeli kurmak istiyorsun ama nereden başlayacağını bilmiyor musun?
    🔹 Daha fazla müşteri çekmek, gelirini artırmak ve online bir iş sahibi olmak mı istiyorsun?
    🔹 Hazır bir sistem ile kendi görev platformunu yönetmeye ne dersin?
    📌 Awarder 4 tam sana göre! Bu yazılım sayesinde dışarıdan aldığın işleri üyelerine görev olarak verebilir, otomatik bir gelir modeli oluşturabilirsin.
    Teknik bilgi gerektirmez – Kurulum bizden!
    Tam otomatik görev yönetimi!
    Üye ve görev kontrol paneli!
    Sürekli kazanç modeli!
    💰 Fiyat: 2000₺ KDV dahildir.
    Sadece 10 kişiye özel! Kontenjan dolduğunda fiyat artacak!
    📩 Detaylı bilgi ve satın alma için hemen mesaj at! 🚀

    Konu linki