diff --git a/content/video-editing.rst b/content/video-editing.rst index ed5b4f9..869a34b 100644 --- a/content/video-editing.rst +++ b/content/video-editing.rst @@ -96,7 +96,7 @@ These exercises will take you through the whole sequence. .. code-block:: - whisper --device cuda --output_format srt --initial_prompt="Welcome to CodeRefinery day four." --lang en --condition_on_previous_text False INPUT.mkv + whisper --device cuda --output_format srt --initial_prompt="Welcome to CodeRefinery day four." --lang en --condition_on_previous_text False INPUT.mkv An initial prompt like this make Whisper more likely to output full sentences, instead of a stream of words with no @@ -124,14 +124,14 @@ These exercises will take you through the whole sequence. # This is the output from one section. Your result should have two of these sections. - output: part1.mkv - title: something - description: >- - some long - description of the - segment - editlist: - - start: 10:00 # start timestamp of the section, in *original* video - - end: 20:00 # end timestamp of the section, in the *original* video + title: something + description: >- + some long + description of the + segment + editlist: + - start: 10:00 # start timestamp of the section, in *original* video + - end: 20:00 # end timestamp of the section, in the *original* video .. solution:: @@ -140,33 +140,33 @@ These exercises will take you through the whole sequence. .. code-block:: yaml - - input: day1-obs.mkv + - input: day1-obs.mkv - - output: day1-intro.mkv - title: 1.2 Introduction - description: >- - General introduction to the workshop. + - output: day1-intro.mkv + title: 1.2 Introduction + description: >- + General introduction to the workshop. - https://scicomp.aalto.fi/training/kickstart/intro/ + https://scicomp.aalto.fi/training/kickstart/intro/ - editlist: - - start: 00:24:10 - - end: 00:37:31 + editlist: + - start: 00:24:10 + - end: 00:37:31 - - output: day1-from-data-storage-to-your-science.mkv - title: "1.3 From data storage to your science" - description: >- - Data is how most computational work starts, whether it is - externally collected, simulation code, or generated. And these - days, you can work on data even remotely, and these workflows - aren't obvious. We discuss how data storage choices lead to - computational workflows. + - output: day1-from-data-storage-to-your-science.mkv + title: "1.3 From data storage to your science" + description: >- + Data is how most computational work starts, whether it is + externally collected, simulation code, or generated. And these + days, you can work on data even remotely, and these workflows + aren't obvious. We discuss how data storage choices lead to + computational workflows. - https://hackmd.io/@AaltoSciComp/SciCompIntro + https://hackmd.io/@AaltoSciComp/SciCompIntro - editlist: - - start: 00:37:43 + editlist: + - start: 00:37:43 - end: 00:50:05 @@ -206,7 +206,7 @@ These exercises will take you through the whole sequence. .. code-block:: console - $ ffmpeg-editlist editlist.yaml . + $ ffmpeg-editlist editlist.yaml . Just running like this is quick and works, but the stream may be garbled in the first few seconds (because it's missing a key @@ -246,13 +246,13 @@ These exercises will take you through the whole sequence. .. solution:: * This course actually didn't have chapters for the first day - sessions, but you can `see chapters for day 2 here - `__, - for example. + sessions, but you can `see chapters for day 2 here + `__, + for example. * `Example of the workshop description for this course - `__ + `__ * Example info.txt file for the general introduction to the - course. The part after the ``-----`` is the workshop description. + course. The part after the ``-----`` is the workshop description. .. code-block:: @@ -262,6 +262,10 @@ These exercises will take you through the whole sequence. https://scicomp.aalto.fi/training/kickstart/intro/ + 00:00 Begin introduction <-- Invented for the exercise demo, not real + 03:25 Ways to attend <-- Invented for the exercise demo, not real + 07:12 What if you get lost <-- Invented for the exercise demo, not real + ----- This is part of the Aalto Scientific Computing "Getting @@ -369,11 +373,11 @@ video. - input: sample-video-to-edit.raw.mkv - output: sample-video-to-edit.processed.mkv - description: > + description: > editlist: - start: 00:16 - - 00:15: demonstration - - 00:20: discussion + - 00:15: demonstration + - 00:20: discussion - stop: 00:25 .. code:: console