Vertical screen video generation process
- Write the slide content in the Typst file in a standardized format (
#slide[]) and lecture notes (#notes[]) - Add the resolution parameter when executing the command:
trv --input=presentation.typ --page=1080x1920 - Optionally specify short video platform adaptation parameters:
- Speech modeling:
--model=tts-1 - Tone Selection:
--voice=american_male - Output format: default MP4 can be directly uploaded to the platform
- Speech modeling:
technical point
pass (a bill or inspection etc)--pageParameters to achieve resolution switching (1080 x 1920 is the vertical screen standard), the system will automatically:
- Reformatting slide content to fit vertical screen scale
- Generate voice clips of corresponding duration by note text
- Synthesize MP4 files that meet the specifications of short video platforms
This answer comes from the articleTRV: Rapidly Generate Presentation Videos from Slides/PPTs and Explanatory Notes》































