Difference between revisions of "SA INIT"
From Wiki4Intranet
(Created page with "<slideshow title="«SA INIT»" style="4intra" scaled="true" font="Calibri, Segoe Print, cursive" footer="" headingmark=".-." />") |
|||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<slideshow title="«SA INIT»" style="4intra" scaled="true" font="Calibri, Segoe Print, cursive" footer="" headingmark=".-." /> | <slideshow title="«SA INIT»" style="4intra" scaled="true" font="Calibri, Segoe Print, cursive" footer="" headingmark=".-." /> | ||
+ | |||
+ | [[Category:Курс «Видео на конвеере»]] | ||
+ | |||
+ | {{vimeoembed|48092919|800|500}} | ||
+ | |||
+ | == Базовый CRASH-course .-. == | ||
+ | Берем запись | ||
+ | * с камеры | ||
+ | * скринкаст | ||
+ | |||
+ | Делаем: | ||
+ | * «Матрешку» | ||
+ | |||
+ | |||
+ | == Исходники .-. == | ||
+ | |||
+ | {{vimeoembed|48092671|320|200}}{{vimeoembed|48092718|320|200}} | ||
+ | |||
+ | == Папка проекта .-. == | ||
+ | |||
+ | ;Название: | ||
+ | * советую начинать {{!|с даты в формате YYYY-MM-DD}} | ||
+ | * без русского и пробелов. {{@|Kirillica eta nekulturno}} | ||
+ | 2012-08-08-test-seminar | ||
+ | |||
+ | ** иначе рано или поздно → проблемы | ||
+ | |||
+ | В папке проекта | ||
+ | sa init | ||
+ | |||
+ | == План .-. == | ||
+ | |||
+ | <graph> | ||
+ | digraph G{ | ||
+ | node[fontname="Consolas" fontsize=8 shape=note]; | ||
+ | edge[fontname="Calibry" fontsize=8 fontcolor=blue dir=back] | ||
+ | rankdir=LR; | ||
+ | |||
+ | "../sources/cam1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/video.avs" -> "../sources/cam1/source.py.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "2012-08-08-test.uncut.mkv" [style=filled fillcolor=lightgrey] | ||
+ | "2012-08-08-test.uncut.mkv" -> "2012-08-08-test.uncut" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/screen1/video.avs$vbitrate=800.avi" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/video.avs$vbitrate=800.avi" -> "../sources/screen1/video.avs" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/cam1/video.avs$vbitrate=700.avi" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/video.avs$vbitrate=700.avi" -> "../sources/cam1/video.avs" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/cam1/video.avs" -> "../sources/cam1/videofilters.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/sa-sample-camera.avi" [style=filled fillcolor=yellow] | ||
+ | "../sources/cam1/source.py.avs" -> "../sources/cam1/sa-sample-camera.avi" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/common.avs" -> "../lib/lib.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../lib/lib.avs" -> "../lib/debugmode.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/start_time.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/start_time.py.avs" -> "../sources/screen1/start_time.py" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/screen1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/source.py.avs" -> "../sources/screen1/common.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/start_time.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/start_time.py.avs" -> "../sources/cam1/start_time.py" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/cam1/video.avs" -> "../sources/cam1/common.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/start_time.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/video.avs" -> "../sources/cam1/start_time.py.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/video.avs" -> "../sources/screen1/source.py.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/source.py.avs" -> "../sources/cam1/source.py" [label="parent" style=solid color=darkblue ] | ||
+ | "../lib/lib.avs" -> "../lib/cachemode.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/sa-sample-camera.avi.meta" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/sa-sample-camera.avi" [style=filled fillcolor=yellow] | ||
+ | "../sources/cam1/sa-sample-camera.avi.meta" -> "../sources/cam1/sa-sample-camera.avi" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/cam1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/source.py.avs" -> "../sources/cam1/common.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/start_time.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/video.avs" -> "../sources/screen1/start_time.py.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/video.avs" -> "../sources/screen1/common.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/common.avs" -> "../lib/lib.avs" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/sa-sample-camera.avi.meta" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/cam1/source.py" -> "../sources/cam1/sa-sample-camera.avi.meta" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/video.avs$vbitrate=800.avi" [style=filled fillcolor=lightgrey] | ||
+ | "2012-08-08-test.uncut" -> "../sources/screen1/video.avs$vbitrate=800.avi" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/sa-sample-screencast.avi.meta" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/sa-sample-screencast.avi" [style=filled fillcolor=yellow] | ||
+ | "../sources/screen1/sa-sample-screencast.avi.meta" -> "../sources/screen1/sa-sample-screencast.avi" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/screen1/sa-sample-screencast.avi.meta" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/source.py" -> "../sources/screen1/sa-sample-screencast.avi.meta" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/screen1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/source.py.avs" -> "../sources/screen1/source.py" [label="parent" style=solid color=darkblue ] | ||
+ | "../sources/screen1/source.py.avs" [style=filled fillcolor=lightgrey] | ||
+ | "../sources/screen1/sa-sample-screencast.avi" [style=filled fillcolor=yellow] | ||
+ | "../sources/screen1/source.py.avs" -> "../sources/screen1/sa-sample-screencast.avi" [label="includes" style=dashed color=lightblue ] | ||
+ | "../sources/cam1/video.avs$vbitrate=700.avi" [style=filled fillcolor=lightgrey] | ||
+ | "2012-08-08-test.uncut" -> "../sources/cam1/video.avs$vbitrate=700.avi" [label="includes" style=dashed color=lightblue ] | ||
+ | } | ||
+ | </graph> | ||
+ | |||
+ | == Синхронизация через просмотр == | ||
+ | === sources/cam1 .-. === | ||
+ | Подгоним скринкаст под камеру! | ||
+ | |||
+ | Просмотрим файл с камерой: | ||
+ | sa view sa-sample-camera.avi | ||
+ | |||
+ | * Найдите какое-нибудь {{!|событие на экране}} | ||
+ | * Листание: | ||
+ | ;Грубое: {{!|SHIFT←→}}, PgUp/PgDown, таймлайн. | ||
+ | ;Точное: ←→ | ||
+ | * {{!|CTRL-G}}: «Go-To Frame» | ||
+ | * {{!|CTRL-A/CTRL-C}} → {{!|время в клипборд}} | ||
+ | |||
+ | === sources/screen1 .-. === | ||
+ | |||
+ | ;start_time.py: вписываем время из клипборда | ||
+ | their_time_ms = ut.time2ms('0:00') | ||
+ | |||
+ | Просмотрим скринкаст, время того же события в клипборд | ||
+ | sa v sa-sample-screencast.avi | ||
+ | |||
+ | ;start_time.py: вписываем время | ||
+ | my_time_ms = ut.time2ms('0:00') | ||
+ | |||
+ | == SA BUILD .-. == | ||
+ | |||
+ | В папке {{!|scenes}}, запустить | ||
+ | |||
+ | sa b 2012-08-08-test.uncut.mkv | ||
+ | |||
+ | |||
+ | * Заняться своими делами. | ||
+ | |||
+ | Когда закончит, проверить, что <tt>2012-08-08-test.uncut.mkv</tt> — играется, и каналы {{!|синхронны}}. | ||
+ | |||
+ | См. http://wiki.4intra.net/Matroska4seminars-stas-fomin | ||
+ | |||
+ | == ВСЕ! .-. == | ||
+ | |||
+ | Этого достаточно: | ||
+ | * Монтировать 95% внутрикомпанейских видео. | ||
+ | * MKV-публикуется на файл-сервере. | ||
+ | * Ссылки на отрывки с вики-системы. |
Latest revision as of 18:06, 7 September 2012
- Title
- «SA INIT»
- Author
- Stas Fomin
- Subfooter
- Stas Fomin, 18:06, 7 September 2012
Contents
Базовый CRASH-course .-.
Берем запись
- с камеры
- скринкаст
Делаем:
- «Матрешку»
Исходники .-.
Папка проекта .-.
- Название
- советую начинать с даты в формате YYYY-MM-DD
- без русского и пробелов. Kirillica eta nekulturno
2012-08-08-test-seminar
- иначе рано или поздно → проблемы
В папке проекта
sa init
План .-.
Синхронизация через просмотр
sources/cam1 .-.
Подгоним скринкаст под камеру!
Просмотрим файл с камерой:
sa view sa-sample-camera.avi
- Найдите какое-нибудь событие на экране
- Листание:
- Грубое
- SHIFT←→, PgUp/PgDown, таймлайн.
- Точное
- ←→
- CTRL-G: «Go-To Frame»
- CTRL-A/CTRL-C → время в клипборд
sources/screen1 .-.
- start_time.py
- вписываем время из клипборда
their_time_ms = ut.time2ms('0:00')
Просмотрим скринкаст, время того же события в клипборд
sa v sa-sample-screencast.avi
- start_time.py
- вписываем время
my_time_ms = ut.time2ms('0:00')
SA BUILD .-.
В папке scenes, запустить
sa b 2012-08-08-test.uncut.mkv
- Заняться своими делами.
Когда закончит, проверить, что 2012-08-08-test.uncut.mkv — играется, и каналы синхронны.
См. http://wiki.4intra.net/Matroska4seminars-stas-fomin
ВСЕ! .-.
Этого достаточно:
- Монтировать 95% внутрикомпанейских видео.
- MKV-публикуется на файл-сервере.
- Ссылки на отрывки с вики-системы.