# Auto SSTV Generator **Repository Path**: mickytxxml/autosstv ## Basic Information - **Project Name**: Auto SSTV Generator - **Description**: 自动将视频切割并生成sstv音频 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-03 - **Last Updated**: 2021-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Auto SSTV Generator #### 介绍 自动将视频切割并生成为SSTV音频 本项目基于pysstv项目开发,基于MIT许可证开源 #### 相关资源 示例视频:(请解压缩到source文件夹内) [https://wwa.lanzous.com/izGB9f8piri](https://wwa.lanzous.com/izGB9f8piri) ffmpeg核心:(请下载到程序根目录) [https://wwa.lanzous.com/iX7XFf8piof](https://wwa.lanzous.com/iX7XFf8piof) 跑分用4K视频:(请下载到source文件夹内)[https://pan.baidu.com/s/1mloypWHs5QqZwH6drROK8g ](https://pan.baidu.com/s/1mloypWHs5QqZwH6drROK8g ) ``` 链接:https://pan.baidu.com/s/1mloypWHs5QqZwH6drROK8g 提取码:0oym 复制这段内容后打开百度网盘手机App,操作更方便哦 ``` #### 使用教程 1. 使用pip安装必要的运行环境 ``` pip install -r requirement.txt -i https://mirrors.163.com ``` 2. 将FFMPEG核心文件(ffmpeg.exe)放入与main.py同级目录或配置为环境变量 3. 修改Config内的参数 4. 运行main.py #### 参数说明 #### 中文 ``` “SLOWLOG参数用于日志输出速度控制。如果如果要更清楚地读取日志输出,则应设置得更多更大一点。本参数单位是二,如果如果要逐个读取日志,应将其设置为'true'。” “FILE参数是需要作为SSTV音频处理的视频文件名,且它应该位于您在SOURCE参数中写入的目录中。” “FPS是需要作为SSTV音频处理的视频的输出的FPS。” “DURATION参数是需要作为SSTV处理的视频的持续时间。本参数单位是秒。” “DIGIT是文件名的编号位数。通常情况下,你不必改变它。” “FORMAT参数是输出音频的格式,可以选择wav、mp3、mp2” “TEMP参数是临时目录的名称。在通常情况下,你不必改变它。” “OUTPUT参数是用于保存音频输出的目录名。” “SOURCE参数是用于放置视频源的目录。” “PERPAR参数为性能参数,越小的数字意味着性能要求就越高。你不应该填写超过5的数字。” “WIDTH参数是输出图片的宽度。” “HEIGHT参数是输出图片的高度。” “MODE参数是输出音频的SSTV模式,不同的模式意味着不同的输出文件大小和音频长度。” ``` #### ENGLISH ``` "SLOWLOG is the parameter which used to determine the mode of log.If you want to read the log output more clearly,you should set it more bigger.The unit is second.If you want to read the log one by one,you should set this as 'true'." "FILE is the video which need to be processed as SSTV audio,it should inside the dir which you write in SOURCE." "FPS is the fps of the video which need to be processed as SSTV audio." "DURATION is the duration of the video which need to be proccessed as SSTV audio.The unit of it is second." "DIGIT is the file name's number digit.In usual use,you needn't to change it." "FORMAT it the format for output audio,you can choose wav,mp3,mp2." "TEMP is the temp dir's name.In usual use,you needn't to change it." "OUTPUT is the outpud dir which be used to save audio output." "SOURCE is the dir which be used to put the video source." "PERPAR means performance parameter.The smaller number you write,the performance requirement will become more high.You shouldn't let it more than 5." "WIDTH is the width of output pictures." "HEIGHT is the height of output pictures." "MODE is the SSTV mode for output audio,the different mode means different output file size and audio length." ``` #### 跑分说明 本项目的跑分功能并非专业跑分,数据仅供参考,请确保您的跑分项目运行时的config配置与官方一致,这样才能使输出的数据有比对的价值。 本项目官方跑分将会消耗至少500GB磁盘空间,并将持续负载数小时,内存占用至少4GB,请确保自己的配置足以带动 #### 参与贡献 1. Bigsk