Home
last modified time | relevance | path

Searched refs:start_seconds (Results 1 – 25 of 64) sorted by relevance

123

/dports/multimedia/subsync/subsync-d9798a5/subsync/
H A Dsubsync.py20 def make_srt_speech_pipeline(encoding, max_subtitle_seconds, start_seconds): argument
24 start_seconds=start_seconds)),
26 start_seconds=start_seconds))
57 args.start_seconds)
64 start_seconds=args.start_seconds,
69 args.start_seconds)
H A Dspeech_transformers.py45 def __init__(self, sample_rate, frame_rate, start_seconds=0, vlc_mode=False): argument
48 self.start_seconds = start_seconds
53 total_duration = float(ffmpeg.probe(fname)['format']['duration']) - self.start_seconds
58 if self.start_seconds > 0:
60 '-ss', str(timedelta(seconds=self.start_seconds)),
101 def __init__(self, sample_rate, start_seconds=0): argument
103 self.start_seconds = start_seconds
112 self.max_time_ = max_time - self.start_seconds
115 start = int(round((sub.start.total_seconds() - self.start_seconds) * self.sample_rate))
H A Dsubtitle_parsers.py14 def _srt_parse(s, max_subtitle_seconds=None, start_seconds=0, tolerant=True): argument
15 start_time = timedelta(seconds=start_seconds)
78 def __init__(self, encoding='infer', max_subtitle_seconds=None, start_seconds=0): argument
83 self.start_seconds = start_seconds
97 start_seconds=self.start_seconds),
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/ffsubsync/
H A Dsubtitle_parser.py26 start_seconds=DEFAULT_START_SECONDS, argument
34 start_seconds=start_seconds
38 def _preprocess_subs(subs, max_subtitle_seconds=None, start_seconds=0, tolerant=True): argument
40 start_time = timedelta(seconds=start_seconds)
67 …it__(self, fmt='srt', encoding='infer', caching=False, max_subtitle_seconds=None, start_seconds=0): argument
76 self.start_seconds = start_seconds
101 start_seconds=self.start_seconds),
H A Dspeech_transformers.py29 start_seconds=DEFAULT_START_SECONDS, argument
40 start_seconds=start_seconds
44 assert parser.start_seconds == start_seconds
52 start_seconds=start_seconds,
167 self.start_seconds = start_seconds
196 pipe = make_subtitle_speech_pipeline(start_seconds=self.start_seconds).fit(output)
222 )['format']['duration']) - self.start_seconds
234 if self.start_seconds > 0:
236 '-ss', str(timedelta(seconds=self.start_seconds)),
329 self.start_seconds = start_seconds
[all …]
/dports/multimedia/subsync/subsync-d9798a5/tests/
H A Dtest_subtitles.py27 def test_start_seconds(start_seconds): argument
28 parser_zero = SrtParser(start_seconds=0)
30 parser = SrtParser(start_seconds=start_seconds)
32 expected = [sub for sub in parser_zero.subs_ if sub.start >= timedelta(seconds=start_seconds)]
70 def test_speech_extraction(sample_rate, start_seconds): argument
71 parser = SrtParser(start_seconds=start_seconds)
72 extractor = SubtitleSpeechTransformer(sample_rate=sample_rate, start_seconds=start_seconds)
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/debug/
H A Dgdk-event-latency-tracker.cpp22 : start_seconds(0.0), max_latency(0.0), skew(1.0), last_elapsed(0.0), last_seconds(0.0) in GdkEventLatencyTracker()
35 if (start_seconds == 0.0) { in process()
37 start_seconds = timestamp_seconds; in process()
44 double const current_seconds = (last_elapsed * skew) + start_seconds; in process()
47 start_seconds += -delta; in process()
59 val = (last_seconds - start_seconds) / last_elapsed; in getSkew()
/dports/multimedia/gaupol/gaupol-1.4-3-g6116d42b/aeidon/
H A Dsubtitle.py95 return self.start_seconds >= other.start_seconds
104 return self.start_seconds > other.start_seconds
113 return self.start_seconds <= other.start_seconds
122 return self.start_seconds < other.start_seconds
132 self.start_seconds = self.start_seconds / coefficient
202 return self.end_seconds - self.start_seconds
349 self.start_seconds = self.start_seconds * value
393 def start_seconds(self): member in Subtitle
397 @start_seconds.setter
398 def start_seconds(self, value): member in Subtitle
/dports/textproc/py-aeidon/aeidon-1.10.1/aeidon/
H A Dsubtitle.py95 return self.start_seconds >= other.start_seconds
104 return self.start_seconds > other.start_seconds
113 return self.start_seconds <= other.start_seconds
122 return self.start_seconds < other.start_seconds
132 self.start_seconds = self.start_seconds / coefficient
202 return self.end_seconds - self.start_seconds
349 self.start_seconds = self.start_seconds * value
393 def start_seconds(self): member in Subtitle
397 @start_seconds.setter
398 def start_seconds(self, value): member in Subtitle
/dports/devel/py-buildbot/buildbot-3.4.1/buildbot/util/
H A Dbackoff.py28 def __init__(self, start_seconds, multiplier, max_wait_seconds): argument
29 if start_seconds < 0:
36 self.start_seconds = start_seconds
44 self.current_wait_seconds = self.start_seconds
/dports/multimedia/gstreamer1-plugins-svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/
H A DEbTime.c32 double svt_vp9_compute_overall_elapsed_time_ms(const uint64_t start_seconds, in svt_vp9_compute_overall_elapsed_time_ms() argument
36 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in svt_vp9_compute_overall_elapsed_time_ms()
41 double svt_vp9_compute_overall_elapsed_time(const uint64_t start_seconds, in svt_vp9_compute_overall_elapsed_time() argument
46 start_seconds, start_useconds, finish_seconds, finish_useconds) / in svt_vp9_compute_overall_elapsed_time()
H A DEbTime.h12 double svt_vp9_compute_overall_elapsed_time_ms(const uint64_t start_seconds,
16 double svt_vp9_compute_overall_elapsed_time(const uint64_t start_seconds,
/dports/multimedia/svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/
H A DEbTime.c32 double svt_vp9_compute_overall_elapsed_time_ms(const uint64_t start_seconds, in svt_vp9_compute_overall_elapsed_time_ms() argument
36 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in svt_vp9_compute_overall_elapsed_time_ms()
41 double svt_vp9_compute_overall_elapsed_time(const uint64_t start_seconds, in svt_vp9_compute_overall_elapsed_time() argument
46 start_seconds, start_useconds, finish_seconds, finish_useconds) / in svt_vp9_compute_overall_elapsed_time()
H A DEbTime.h12 double svt_vp9_compute_overall_elapsed_time_ms(const uint64_t start_seconds,
16 double svt_vp9_compute_overall_elapsed_time(const uint64_t start_seconds,
/dports/net-im/purple-plugin-pack/purple-plugin-pack-2.8.0/timelog/
H A Drange-widget.c40 static GtkWidget *start_seconds; variable
97 if (widget == GTK_SPIN_BUTTON(start_seconds)) { in cb_time_value_changed()
167 start_tm.tm_sec = gtk_spin_button_get_value(GTK_SPIN_BUTTON(start_seconds)); in range_widget_get_bounds()
278 start_seconds = gtk_spin_button_new(GTK_ADJUSTMENT(start_seconds_adj), 1, 0); in range_widget_create()
279 gtk_widget_show(start_seconds); in range_widget_create()
280 gtk_box_pack_start(GTK_BOX(hbox44), start_seconds, TRUE, TRUE, 0); in range_widget_create()
281 gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(start_seconds), TRUE); in range_widget_create()
282 gtk_spin_button_set_snap_to_ticks(GTK_SPIN_BUTTON(start_seconds), TRUE); in range_widget_create()
343 g_signal_connect((gpointer) start_seconds, "value_changed", in range_widget_create()
355 gtk_entry_set_text(GTK_ENTRY(start_seconds), val); in range_widget_create()
/dports/multimedia/gstreamer1-plugins-svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Common/Codec/
H A DEbTime.c31 double svt_av1_compute_overall_elapsed_time_ms(const uint64_t start_seconds, in svt_av1_compute_overall_elapsed_time_ms() argument
35 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in svt_av1_compute_overall_elapsed_time_ms()
/dports/multimedia/svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Common/Codec/
H A DEbTime.c31 double svt_av1_compute_overall_elapsed_time_ms(const uint64_t start_seconds, in svt_av1_compute_overall_elapsed_time_ms() argument
35 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in svt_av1_compute_overall_elapsed_time_ms()
/dports/multimedia/gaupol/gaupol-1.4-3-g6116d42b/aeidon/files/
H A Dmpl2.py46 subtitle.start_seconds = float(match.group(1)) / 10
62 .format(subtitle.start_seconds*10,
/dports/textproc/py-aeidon/aeidon-1.10.1/aeidon/files/
H A Dmpl2.py46 subtitle.start_seconds = float(match.group(1)) / 10
62 .format(subtitle.start_seconds * 10,
/dports/multimedia/svt-vp9/SVT-VP9-0.3.0/Source/App/
H A DEbAppTime.c33 const uint64_t start_seconds, const uint64_t start_useconds, in app_svt_vp9_compute_overall_elapsed_time() argument
35 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in app_svt_vp9_compute_overall_elapsed_time()
/dports/multimedia/gstreamer1-plugins-svt-vp9/SVT-VP9-0.3.0/Source/App/
H A DEbAppTime.c33 const uint64_t start_seconds, const uint64_t start_useconds, in app_svt_vp9_compute_overall_elapsed_time() argument
35 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in app_svt_vp9_compute_overall_elapsed_time()
/dports/multimedia/gaupol/gaupol-1.4-3-g6116d42b/aeidon/agents/
H A Dposition.py49 start = self.subtitles[index].start_seconds
61 end_max = (self.subtitles[index+1].start_seconds
114 x1 = self.subtitles[p1[0]].start_seconds
115 x2 = self.subtitles[p2[0]].start_seconds
/dports/textproc/py-aeidon/aeidon-1.10.1/aeidon/agents/
H A Dposition.py49 start = self.subtitles[index].start_seconds
61 end_max = (self.subtitles[index + 1].start_seconds
114 x1 = self.subtitles[p1[0]].start_seconds
115 x2 = self.subtitles[p2[0]].start_seconds
/dports/multimedia/gstreamer1-plugins-svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/App/EncApp/
H A DEbTime.c41 double app_svt_av1_compute_overall_elapsed_time(const uint64_t start_seconds, in app_svt_av1_compute_overall_elapsed_time() argument
45 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in app_svt_av1_compute_overall_elapsed_time()
/dports/multimedia/svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/App/EncApp/
H A DEbTime.c41 double app_svt_av1_compute_overall_elapsed_time(const uint64_t start_seconds, in app_svt_av1_compute_overall_elapsed_time() argument
45 const int64_t s_diff = (int64_t)finish_seconds - (int64_t)start_seconds, in app_svt_av1_compute_overall_elapsed_time()

123