slide to video
1.0.0
슬라이드 데크를 비디오로 변환하는 도구는 음성 나레이션으로 완성됩니다. 여러 언어를 지원합니다.
우분투 20.04에서 테스트.
ffmpeg 설치 : sudo apt-get install ffmpegpip 설치하십시오 .git clone [email protected]:Changochen/slide-to-video.git
cd slide-to-video
pip install .slide-to-videoNEWSLIDE 로 분리됩니다.slide-to-video --model MODEL_NAME --slide slide --script script --output-dir OUTPUT_PATH --config ADDITIONAL_CONFIG.yaml로컬 음성 모델 사용 :
slide-to-video --model local --slide example/slide.pdf --script example/script.txt --voice example/sample.mp3 --output-dir output 최종 비디오는 OUTPUT_PATH 디렉토리에서 output.mp4 로 생성됩니다.
음성 속도 조정을 포함한 더 많은 옵션을 보려면 실행 :
slide-to-video --help현재 지원되는 모델 :
현재 지원되는 언어 : 'en', 'es', 'fr', 'fr', 'de', 'it', 'pt', 'pl', 'tr', 'ru', 'nl', 'cs', 'ar', 'zh-cn', 'hu', 'ko', 'ja', 'hi'
비디오를 생성 한 후 출력 디렉토리에는 project.yaml 파일이 포함되어 변경되지 않은 컨텐츠 생성을 건너 뛸 수 있습니다. 입력이 동일하게 유지되면 도구가 비디오 생성 프로세스를 건너 뜁니다.
스피치 속도와 같은 슬라이드, 스크립트 또는 설정을 수정하면 도구가 영향을받는 컨텐츠를 재생합니다. 특정 부품의 재생을 강제하려면 출력 디렉토리에 project.yaml 에 해당 항목의 force_reset 필드를 설정하십시오.
새로운 음성 모델을 지원하려면 src/slide_to_video/tts_engine 에서 새 클래스를 구현하고 register_engine 에 전화하여 클래스를 등록해야합니다 (여기의 예 참조).
> You must confirm the following:
| > "I have purchased a commercial license from Coqui: [email protected]"
| > "Otherwise, I agree to the terms of the non-commercial CPML: https://coqui.ai/cpml" - [y/n]
| | >
y 입력하십시오.