Videogrep: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
aka [[wikipedia:grep|grep]] meets [[wikipedia:SubRip|SRT]]
See also [[Videogrep.py]]


The idea of this assignment is to familiarize yourself with:
== Videogrep ==
* basic text/code editing in Linux
* commandline basics
* '''bigidea''': working in a "pipeline" (both literally, and more metaphorically)


== Ingredients ==
From SRT to EDL


redirect stderr to stdout:
== SubRip Text ==
2>&1


<pre>
48
00:06:13,530 --> 00:06:14,460
lt's about time you got married,


49
00:06:14,530 --> 00:06:18,530
Before you turn into
a lonesome and bitter, old man.


[[Category: Prototyping]]
50
00:06:19,730 --> 00:06:21,860
yeah, can't you just see me?
 
51
00:06:23,000 --> 00:06:25,000
Rushing home to a hot apartment
 
52
00:06:25,060 --> 00:06:29,060
To listen to the automatic laundry
and the electric dishwasher
 
53
00:06:29,130 --> 00:06:33,130
And the garbage disposal
and the nagging wife.
</pre>
 
http://en.wikipedia.org/wiki/SubRip
 
== grep "\bman\b" ==
 
http://activearchives.org/mw/images/3/3c/Videogrep_man.png
 
== grep "\bwoman\b" ==
 
http://activearchives.org/mw/images/7/79/Videogrep_woman.png
 
== Videogrep ==
 
{{#Widget:Video|webm=http://automatist.org/video/man.webm}}
{{#Widget:Video|webm=http://automatist.org/video/woman.webm}}

Latest revision as of 16:10, 3 February 2015

See also Videogrep.py

Videogrep

From SRT to EDL

SubRip Text

48
00:06:13,530 --> 00:06:14,460
lt's about time you got married,

49
00:06:14,530 --> 00:06:18,530
Before you turn into
a lonesome and bitter, old man.

50
00:06:19,730 --> 00:06:21,860
yeah, can't you just see me?

51
00:06:23,000 --> 00:06:25,000
Rushing home to a hot apartment

52
00:06:25,060 --> 00:06:29,060
To listen to the automatic laundry
and the electric dishwasher

53
00:06:29,130 --> 00:06:33,130
And the garbage disposal
and the nagging wife.

http://en.wikipedia.org/wiki/SubRip

grep "\bman\b"

Videogrep_man.png

grep "\bwoman\b"

Videogrep_woman.png

Videogrep