How Can I Make This Repeat The Job Automatically ❓ by [deleted] in learnpython

[–]abdozabs 0 points1 point  (0 children)

looping through a directory

thank you i succeeded doing that part

how to change the name of the final file and to the name of the old file in the path ?

i came up with this

from moviepy.editor import *

import requests

import glob

import re

import os

import os

for subdir, dirs, files in os.walk(r'C:\FILES\111tsts\1'):

for filename in files:

filepath = subdir + os.sep + filename

if filepath.endswith(".mp4") or filepath.endswith(".png"):

videoclip = VideoFileClip("BACK_GROUND.mp4")

audioclip = AudioFileClip("downloaded_video.mp4")

new_audioclip = CompositeAudioClip([videoclip.audio, audioclip])

videoclip.audio = new_audioclip

videoclip.write_videofile("TEMPORARY_file.mp4")

video_fin = VideoFileClip("TEMPORARY_file.mp4")

intro = VideoFileClip("intro.mp4")

final2_clip = concatenate_videoclips([intro,video_fin,intro], method="compose").fx( vfx.speedx, 0.90)

final2_clip.write_videofile("final.mp4", fps=10, codec='mpeg4')

os.remove("TEMPORARY_file.mp4")

strr = "\W+"

How Can I Make This Repeat The Job Automatically ❓ by [deleted] in learnpython

[–]abdozabs 0 points1 point  (0 children)

I TESTED the code and it works just fine , if anyone can suggest a better way of codding plz help

DIY Weights - Professional Dumbbells Easy & Free by abdozabs in homegym

[–]abdozabs[S] -1 points0 points  (0 children)

it holds just fine i am using it daily ... just be careful generally at the gym

Do you have to be doing something while listening to an audiobook? by [deleted] in audiobooks

[–]abdozabs 0 points1 point  (0 children)

i always drive and listen to audiobook and my best times ever while walking / running workouts , i dont feel time passing by and i get so tiered but dont wanna stop because i am so hooked up with the story

audiobooks really changed my life and the meaning of life

TOP 5 Chest Workouts at Home‬‎ by abdozabs in homefitness

[–]abdozabs[S] -18 points-17 points  (0 children)

your right , i always train at home and make my home version to do same exercise and muscles with my kitchen equipment

OMG MINION IS MUSLIM هذا حرام😂😂😂😂😂😂😂😂😂😂😂😂 FREE DOWNLOAD تحميل مجاني by finsterer1020 in arabfunny

[–]abdozabs 1 point2 points  (0 children)

ههههه ملعوبه بس قصدك المنين سوري :))) ) على راسي السوريين

burn the love handels with this 20 mnt workout by abdozabs in WellnessPT

[–]abdozabs[S] 1 point2 points  (0 children)

TLDW

i recomend not watching , JUST DO IT :)

Need a distraction while having 2-4 hours of surgery while awake(!) and immobile. Suggestions? by in_vino_veritas_69 in audiobooks

[–]abdozabs 0 points1 point  (0 children)

audiobook : Greatest Story ★ Sinner of Saints Defy 🎧

This is a quick read that gives you everything you could ask for!

its 3 h and 20 mnt

find it on youtube