fixes #1
This commit is contained in:
parent
d823cc6189
commit
e8da229655
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user