Difference between revisions of "SA INIT"

From Wiki4Intranet
Jump to: navigation, search
 
(25 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 .-. ==
 
== Базовый CRASH-course .-. ==
Line 12: Line 16:
 
== Исходники .-. ==
 
== Исходники .-. ==
  
;screencast.avi:
+
{{vimeoembed|48092671|320|200}}{{vimeoembed|48092718|320|200}}
{{vimeoembed|48092671|640|360}}
+
 
 +
== Папка проекта .-. ==
 +
 
 +
;Название:
 +
* советую начинать {{!|с даты в формате 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
 +
 
 +
== ВСЕ! .-. ==
  
;camera.avi:
+
Этого достаточно:
{{vimeoembed|48092718|640|360}}
+
* Монтировать 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

Видео в HD-качестве, смотрите в полноэкранном режиме.

HTML-код включения <iframe src="http://player.vimeo.com/video/48092919?byline=0&portrait=0" width="800" height="500" frameborder="0"></iframe>

Скачать видео c помощью savevid.com

Базовый CRASH-course .-.

Берем запись

  • с камеры
  • скринкаст

Делаем:

  • «Матрешку»


Исходники .-.

Видео в HD-качестве, смотрите в полноэкранном режиме.

HTML-код включения <iframe src="http://player.vimeo.com/video/48092671?byline=0&portrait=0" width="320" height="200" frameborder="0"></iframe>

Скачать видео c помощью savevid.com

Видео в HD-качестве, смотрите в полноэкранном режиме.

HTML-код включения <iframe src="http://player.vimeo.com/video/48092718?byline=0&portrait=0" width="320" height="200" frameborder="0"></iframe>

Скачать видео c помощью savevid.com

Папка проекта .-.

Название
  • советую начинать с даты в формате YYYY-MM-DD
  • без русского и пробелов. Kirillica eta nekulturno
2012-08-08-test-seminar
    • иначе рано или поздно → проблемы

В папке проекта

sa init

План .-.

[svg]

Синхронизация через просмотр

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-публикуется на файл-сервере.
  • Ссылки на отрывки с вики-системы.