ffprobe -v quiet -print_format json -show_format -show_streams /mnt/2.mp4 >>/mnt/media_json.txt
其中/mnt/2.mp4 是视频的路径
/mnt是生成文件的位置
media_json.txt是文件名字
ffprobe -v quiet -print_format json -show_format -show_streams /mnt/2.mp4 >>/mnt/media_json.txt
其中/mnt/2.mp4 是视频的路径
/mnt是生成文件的位置
media_json.txt是文件名字