@@ -47,21 +47,18 @@ def create(
4747 """
4848 Create a SubtitleSet for encoding.
4949
50- Args:
51- text: The subtitle text in ASS dialogue format
52- (e.g. b"0,0,Default,,0,0,0,,Hello World" )
53- start: Start display time as offset from pts (typically 0 )
54- end: End display time as offset from pts (i.e., duration)
55- pts: Presentation timestamp in stream time_base units
56- subtitle_format: Subtitle format (default 1 for text)
57-
58- Note :
50+ :param text: The subtitle text in ASS dialogue format
51+ (e.g. ``b"0,0,Default,,0,0,0,,Hello World"``)
52+ :param start: Start display time as offset from pts (typically 0 )
53+ :param end: End display time as offset from pts (i.e., duration )
54+ :param pts: Presentation timestamp in stream time_base units
55+ :param subtitle_format: Subtitle format (default 1 for text)
56+ :return: A SubtitleSet ready for encoding
57+
58+ .. note: :
5959 All timing values should be in stream time_base units.
6060 For MKV (time_base=1/1000), units are milliseconds.
6161 For MP4 (time_base=1/1000000), units are microseconds.
62-
63- Returns:
64- A SubtitleSet ready for encoding
6562 """
6663 subset : SubtitleSet = SubtitleSet (_cinit_bypass_sentinel )
6764
0 commit comments