ابو الشنين 《B》💔⚰️ :
import subprocess, os
out='/mnt/data/الفيديو_مع_الموسيقى.mp4'
cmd=[
'ffmpeg','-y',
'-i','/mnt/data/9889.mp4',
'-i','/mnt/data/9869.mp4',
'-map','0:v:0','-map','1:a:0',
'-c:v','copy','-c:a','aac','-b:a','192k',
'-t','12.96','-movflags','+faststart',
out
]
r=subprocess.run(cmd,capture_output=True,text=True)
print(r.stderr[-1500:])
print('exists',os.path.exists(out),'size',os.path.getsize(out) if os.path.exists(out) else None)
import subprocess, os
out='/mnt/data/الفيديو_مع_الموسيقى.mp4'
cmd=[
'ffmpeg','-y',
'-i','/mnt/data/9889.mp4',
'-i','/mnt/data/9869.mp4',
'-map','0:v:0','-map','1:a:0',
'-c:v','copy','-c:a','aac','-b:a','192k',
'-t','12.96','-movflags','+faststart',
out
]
r=subprocess.run(cmd,capture_output=True,text=True)
print(r.stderr[-1500:])
print('exists',os.path.exists(out),'size',os.path.getsize(out) if os.path.exists(out) else None)
import subprocess, os
out='/mnt/data/الفيديو_مع_الموسيقى.mp4'
cmd=[
'ffmpeg','-y',
'-i','/mnt/data/9889.mp4',
'-i','/mnt/data/9869.mp4',
'-map','0:v:0','-map','1:a:0',
'-c:v','copy','-c:a','aac','-b:a','192k',
'-t','12.96','-movflags','+faststart',
out
]
r=subprocess.run(cmd,capture_output=True,text=True)
print(r.stderr[-1500:])
print('exists',os.path.exists(out),'size',os.path.getsize(out) if os.path.exists(out) else None)
import subprocess, os
out='/mnt/data/الفيديو_مع_الموسيقى.mp4'
cmd=[
'ffmpeg','-y',
'-i','/mnt/data/9889.mp4',
'-i','/mnt/data/9869.mp4',
'-map','0:v:0','-map','1:a:0',
'-c:v','copy','-c:a','aac','-b:a','192k',
'-t','12.96','-movflags','+faststart',
out
]
r=subprocess.run(cmd,capture_output=True,text=True)
print(r.stderr[-1500:])
print('exists',os.path.exists(out),'size',os.path.getsize(out) if os.path.exists(out) else None)
import subprocess, os
out='/mnt/data/الفيديو_مع_الموسيقى.mp4'
cmd=[
'ffmpeg','-y',
'-i','/mnt/data/9889.mp4',
'-i','/mnt/data/9869.mp4',
'-map','0:v:0','-map','1:a:0',
'-c:v','copy','-c:a','aac','-b:a','192k',
'-t','12.96','-movflags','+faststart',
out
]
r=subprocess.run(cmd,capture_output=True,text=True)
print(r.stderr[-1500:])
print('exists',os
2026-11-11 10:58:58