import json
import time
import subprocess as sp
import ffmpeg
import cv2
import sys
import random

import numpy as np



if __name__ == '__main__':

    command = ["ffmpeg",
               "-f", "concat",
               "-i", r"C:\Users\chenyukun\Desktop\shipin\aaa.txt",
               "-c", "copy",
               r"C:\Users\chenyukun\Desktop\shipin\aaaa.mp4"]
    p = sp.Popen(command, stdout=sp.PIPE)