fixes #1
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ while True:
|
||||
print('\n end \n')
|
||||
break
|
||||
|
||||
os.system("cat segment"+str(v)+".ts >> all.ts")
|
||||
os.system("cat *"+str(v)+".ts >> all.ts")
|
||||
|
||||
os.system("ffmpeg -i all.ts -acodec copy -vcodec copy video.mp4")
|
||||
os.system("rm *.ts")
|
||||
@@ -54,7 +54,7 @@ while True:
|
||||
print('\n end \n')
|
||||
break
|
||||
|
||||
os.system("cat segment"+str(v)+".ts >> all.ts")
|
||||
os.system("cat *"+str(v)+".ts >> all.ts")
|
||||
|
||||
os.system("ffmpeg -i all.ts -acodec copy -vcodec copy so.mp4")
|
||||
os.system("rm *.ts")
|
||||
|
||||
Reference in New Issue
Block a user