]> pere.pagekite.me Git - homepage.git/blob - blog/tags/video/index.html
4d1ba52abecc8b4d348c9d75d663af8da810df73
[homepage.git] / blog / tags / video / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: Entries Tagged video</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="../../style.css">
7 <link rel="alternate" title="RSS Feed" href="video.rss" type="application/rss+xml">
8 </head>
9 <body>
10
11 <div class="title">
12 <h1>
13 <a href="../../">Petter Reinholdtsen</a>
14
15 </h1>
16
17 </div>
18
19 <p>Entries tagged "video".</p>
20
21
22
23
24 <div class="entry">
25 <div class="title">
26 <a href="../../Software_video_mixer_on_a_USB_stick.html">Software video mixer on a USB stick</a>
27 </div>
28 <div class="date">
29 2008-12-28 15:40
30 </div>
31
32 <div class="body">
33
34 <p>The <a href="http://www.nuug.no/">Norwegian Unix User Group</a> is
35 recording our montly presentation on video, and recently we have
36 worked on improving the quality of the recordings by mixing the slides
37 directly with the video stream. For this, we use the
38 <a href="http://dvswitch.alioth.debian.org/">dvswitch</a> package from
39 the Debian video team. As this require quite one computer per video
40 source, and NUUG do not have enough laptops available, we need to
41 borrow laptops. And to avoid having to install extra software on
42 these borrwed laptops, I have wrapped up all the programs needed on a
43 bootable USB stick. The software required is dvswitch with assosiated
44 source, sink and mixer applications and
45 <a href="http://www.kinodv.org/">dvgrab</a>. To allow this setup to
46 work without any configuration, I've patched dvswitch to use
47 <a href="http://www.avahi.org/">avahi</a> to connect the various parts
48 together. And to allow us to use laptops without firewire plugs, I
49 upgraded dvgrab to the one from Debian/unstable to get one that work
50 with USB sources. We have not yet tested this setup in a production
51 setup, but I hope it will work properly, and allow us to set up a
52 video mixer in a very short time frame. We will need it for
53 <a href="http://www.goopen.no/">Go Open 2009</a>.</p>
54
55 <p><a href="http://www.nuug.no/pub/video/bin/usbstick-dvswitch.img.gz">The
56 USB image</a> is for a 1 GB memory stick, but can be used on any
57 larger stick as well.</p>
58
59 </div>
60 <div class="tags">
61
62
63
64 Tags: <a href="../../tags/english">english</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>.
65
66 </div>
67 </div>
68 <div class="padding"></div>
69
70 <div class="entry">
71 <div class="title">
72 <a href="../../When_web_browser_developers_make_a_video_player___.html">When web browser developers make a video player...</a>
73 </div>
74 <div class="date">
75 2009-01-17 18:50
76 </div>
77
78 <div class="body">
79
80 <p>As part of the work we do in <a href="http://www.nuug.no">NUUG</a>
81 to publish video recordings of our monthly presentations, we provide a
82 page with embedded video for easy access to the recording. Putting a
83 good set of HTML tags together to get working embedded video in all
84 browsers and across all operating systems is not easy. I hope this
85 will become easier when the &lt;video&gt; tag is implemented in all
86 browsers, but I am not sure. We provide the recordings in several
87 formats, MPEG1, Ogg Theora, H.264 and Quicktime, and want the
88 browser/media plugin to pick one it support and use it to play the
89 recording, using whatever embed mechanism the browser understand.
90 There is at least four different tags to use for this, the new HTML5
91 &lt;video&gt; tag, the &lt;object&gt; tag, the &lt;embed&gt; tag and
92 the &lt;applet&gt; tag. All of these take a lot of options, and
93 finding the best options is a major challenge.</p>
94
95 <p>I just tested the experimental Opera browser available from <a
96 href="http://labs.opera.com">labs.opera.com</a>, to see how it handled
97 a &lt;video&gt; tag with a few video sources and no extra attributes.
98 I was not very impressed. The browser start by fetching a picture
99 from the video stream. Not sure if it is the first frame, but it is
100 definitely very early in the recording. So far, so good. Next,
101 instead of streaming the 76 MiB video file, it start to download all
102 of it, but do not start to play the video. This mean I have to wait
103 for several minutes for the downloading to finish. When the download
104 is done, the playing of the video do not start! Waiting for the
105 download, but I do not get to see the video? Some testing later, I
106 discover that I have to add the controls="true" attribute to be able
107 to get a play button to pres to start the video. Adding
108 autoplay="true" did not help. I sure hope this is a misfeature of the
109 test version of Opera, and that future implementations of the
110 &lt;video&gt; tag will stream recordings by default, or at least start
111 playing when the download is done.</p>
112
113 <p>The test page I used (since changed to add more attributes) is
114 <a href="http://www.nuug.no/aktiviteter/20090113-foredrag-om-foredrag/">available
115 from the nuug site</a>. Will have to test it with the new Firefox
116 too.</p>
117
118 <p>In the test process, I discovered a missing feature. I was unable
119 to find a way to get the URL of the playing video out of Opera, so I
120 am not quite sure it picked the Ogg Theora version of the video. I
121 sure hope it was using the announced Ogg Theora support. :)</p>
122
123 </div>
124 <div class="tags">
125
126
127
128 Tags: <a href="../../tags/english">english</a>, <a href="../../tags/multimedia">multimedia</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>, <a href="../../tags/web">web</a>.
129
130 </div>
131 </div>
132 <div class="padding"></div>
133
134 <div class="entry">
135 <div class="title">
136 <a href="../../F__rste_vellykkede_videostr__m_fra_NUUG.html">Første vellykkede videostrøm fra NUUG</a>
137 </div>
138 <div class="date">
139 2009-02-11 06:30
140 </div>
141
142 <div class="body">
143
144 <p>Jeg ble glad for å se under
145 <a href="http://www.nuug.no/aktiviteter/20090210-compiz/">gårdagens
146 medlemsmøte</a> i NUUG Oslo at utsending av live-video fra møtet
147 fungerte for første gang. Forrige gang ble det ved en teknisk tabbe
148 sendt video uten lyd. Vi kan takke Ole Kristian Lien og resten av
149 videogruppen i NUUG for at nå NUUG-medlemmer over det ganske land
150 kunne se foredraget samtidig med oss i Oslo. Vi opplevde til og med
151 under møtet å motta spørsmål via IRC som ble besvart der og da.
152 Opptaket publiseres så snart det er kopiert over til NUUGs
153 webserver og komprimert.</p>
154
155 </div>
156 <div class="tags">
157
158
159
160 Tags: <a href="../../tags/norsk">norsk</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>.
161
162 </div>
163 </div>
164 <div class="padding"></div>
165
166 <div class="entry">
167 <div class="title">
168 <a href="../../Lisensvalg_for_NUUG_opptakene_endelig_p___plass.html">Lisensvalg for NUUG-opptakene endelig på plass</a>
169 </div>
170 <div class="date">
171 2009-03-06 21:20
172 </div>
173
174 <div class="body">
175
176 <p>Etter mange års meditasjon over temaet, har NUUG endelig klart å
177 bestemme seg for hvilken lisens vi skal bruke på videoopptakene som
178 gjøres av NUUGs videogruppe. Ole Kristian har annonsert at lisensen
179 blir <a href="http://creativecommons.org/licenses/by-sa/3.0/no/">Creative
180 Commons Navngivelse-Del på samme vilkår 3.0 Norge</a>. Jeg er veldig
181 glad for at denne saken endelig er landet. Lisensen for opptaket til
182 Stallman-foredraget ble en annen pga. at lisensvalget ikke var avklart
183 på forhånd og IFI og PING ønsket CC-BY-ND, og må ses på som et unntak
184 i denne sammenhengen.</p>
185
186 </div>
187 <div class="tags">
188
189
190
191 Tags: <a href="../../tags/norsk">norsk</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>.
192
193 </div>
194 </div>
195 <div class="padding"></div>
196
197 <div class="entry">
198 <div class="title">
199 <a href="../../Frikanalen_og_jul_i_studentr__det.html">Frikanalen og jul i studentrådet</a>
200 </div>
201 <div class="date">
202 2009-03-11 23:40
203 </div>
204
205 <div class="body">
206
207 <p>I går
208 <a href="http://lists.nuug.no/pipermail/interesserte/2009-March/000387.html">lanserte</a>
209 NUUGs videogruppe
210 <a href="http://www.frikanalen.no">Frikanalen</a> med
211 <a href="http://www.nuug.no/pub/video/frikanalen/frontpage.cgi">åpne
212 standarder</a>, og resultatet av noen intense uker med arbeide kunne
213 endelig presenteres. Jeg har tro på åpen kanalkonseptet som
214 Frikanalen er et eksempel på, der borgerne får anledning til å
215 kringkaste sitt syn på en åpen og demokratisk måte. Jeg er veldig
216 glad vi har fått gjort kanalen tilgjengelig i Ogg Theora, slik at alle
217 kan få tilgang til opptakene på web, og slipper å måtte installere MS
218 Silverlight for å spille av opptakene.</p>
219
220 <p>Frikanalen har en brokete historie, og dagens inkarnasjon er ikke
221 helt slik foreningen Åpen kanal planla det for mange år siden, noe som
222 er bakgrunnen for at det fredag 13. mars 2009 kl 09:00 starter en
223 rettsak i Oslo tingrett der Kringkasterforeningen (tidligere
224 foreningen Åpen kanal) har saksøkt kulturdepartementet over
225 konsesjonsvilkårene til Frikanalen. Jeg er spent på resultatet.</p>
226
227 <p>I arbeidet med Frikanalen med åpne standarder, så har vi hatt glede
228 av å se en rekke av innslagene som er tilgjengelig. Her er mye
229 religiøst sludder, fra
230 <a href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=720">vandring
231 i jerusalem</a> via
232 <a href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=779">religiøst
233 vinklede nyheter</a> til
234 <a
235 href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=2077">kreasjonisk
236 retorikk</a>, men også fine
237 <a href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=407">dokumentarer
238 om redningsselskapet</a> og
239 <a href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=2204">interessante
240 tegneserieanmeldelser</a>. Det jeg derimot har hatt størst glede av,
241 er
242
243 <a href="http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=1556">jul
244 i studentrådet</a>, der hver episode var en fest å se på. Jeg håper
245 NUUG lykkes med å få ut sine opptak med like stor suksess.</p>
246
247 </div>
248 <div class="tags">
249
250
251
252 Tags: <a href="../../tags/norsk">norsk</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>.
253
254 </div>
255 </div>
256 <div class="padding"></div>
257
258 <div class="entry">
259 <div class="title">
260 <a href="../../Recording_video_from_cron_using_VLC.html">Recording video from cron using VLC</a>
261 </div>
262 <div class="date">
263 2009-04-05 10:00
264 </div>
265
266 <div class="body">
267
268 <p>One think I have wanted to figure out for a along time is how to
269 run vlc from cron to do recording of video streams on the net. The
270 task is trivial with mplayer, but I do not really trust the security
271 of mplayer (it crashes too often on strange input), and thus prefer
272 vlc. I finally found a way to do it today. I spent an hour or so
273 searching the web for recipes and reading the documentation. The
274 hardest part was to get rid of the GUI window, but after finding the
275 dummy interface, the command line finally presented itself:</p>
276
277 <blockquote><pre>URL=http://www.ping.uio.no/video/rms-oslo_2009.ogg
278 SAVEFILE=rms.ogg
279 DISPLAY= vlc -q $URL \
280 --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \
281 --intf=dummy</pre></blockquote>
282
283 <p>The command stream the URL and store it in the SAVEFILE by
284 duplicating the output stream to "nodisplay" and the file, using the
285 dummy interface. The dummy interface and the nodisplay output make
286 sure no X interface is needed.</p>
287
288 <p>The cron job then need to start this job with the appropriate URL
289 and file name to save, sleep for the duration wanted, and then kill
290 the vlc process with SIGTERM. Here is a complete script
291 <tt>vlc-record</tt> to use from <tt>at</tt> or <tt>cron</tt>:</p>
292
293 <blockquote><pre>#!/bin/sh
294 set -e
295 URL="$1"
296 SAVEFILE="$2"
297 DURATION="$3"
298 DISPLAY= vlc -q "$URL" \
299 --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \
300 --intf=dummy < /dev/null > /dev/null 2>&1 &
301 pid=$!
302 sleep $DURATION
303 kill $pid
304 wait $pid</pre></blockquote>
305
306 </div>
307 <div class="tags">
308
309
310
311 Tags: <a href="../../tags/english">english</a>, <a href="../../tags/nuug">nuug</a>, <a href="../../tags/video">video</a>.
312
313 </div>
314 </div>
315 <div class="padding"></div>
316
317 <p style="text-align: right;"><a href="video.rss"><img src="../../xml.gif" alt="RSS Feed" width="36" height="14"></a></p>
318
319
320
321
322 <div id="sidebar">
323
324 <h2>Archive</h2>
325 <ul>
326
327 <li>2009
328 <ul>
329
330 <li><a href="../../archive/2009/01/">January (8)</a></li>
331
332 <li><a href="../../archive/2009/02/">February (8)</a></li>
333
334 <li><a href="../../archive/2009/03/">March (12)</a></li>
335
336 <li><a href="../../archive/2009/04/">April (10)</a></li>
337
338 <li><a href="../../archive/2009/05/">May (6)</a></li>
339
340 </ul></li>
341
342 <li>2008
343 <ul>
344
345 <li><a href="../../archive/2008/11/">November (5)</a></li>
346
347 <li><a href="../../archive/2008/12/">December (7)</a></li>
348
349 </ul></li>
350
351 </ul>
352
353
354
355 <h2>Tags</h2>
356 <ul>
357
358 <li><a href="../../tags/3d-printer">3d-printer (11)</a></li>
359
360 <li><a href="../../tags/amiga">amiga (1)</a></li>
361
362 <li><a href="../../tags/aros">aros (1)</a></li>
363
364 <li><a href="../../tags/debian">debian (10)</a></li>
365
366 <li><a href="../../tags/debian edu">debian edu (6)</a></li>
367
368 <li><a href="../../tags/english">english (12)</a></li>
369
370 <li><a href="../../tags/fiksgatami">fiksgatami (1)</a></li>
371
372 <li><a href="../../tags/fildeling">fildeling (2)</a></li>
373
374 <li><a href="../../tags/lenker">lenker (1)</a></li>
375
376 <li><a href="../../tags/ltsp">ltsp (1)</a></li>
377
378 <li><a href="../../tags/multimedia">multimedia (2)</a></li>
379
380 <li><a href="../../tags/norsk">norsk (44)</a></li>
381
382 <li><a href="../../tags/nuug">nuug (44)</a></li>
383
384 <li><a href="../../tags/opphavsrett">opphavsrett (3)</a></li>
385
386 <li><a href="../../tags/personvern">personvern (6)</a></li>
387
388 <li><a href="../../tags/reprap">reprap (10)</a></li>
389
390 <li><a href="../../tags/rss">rss (1)</a></li>
391
392 <li><a href="../../tags/sikkerhet">sikkerhet (1)</a></li>
393
394 <li><a href="../../tags/standard">standard (3)</a></li>
395
396 <li><a href="../../tags/stavekontroll">stavekontroll (1)</a></li>
397
398 <li><a href="../../tags/video">video (6)</a></li>
399
400 <li><a href="../../tags/vitenskap">vitenskap (1)</a></li>
401
402 <li><a href="../../tags/web">web (4)</a></li>
403
404 </ul>
405
406 </div>
407 </body>
408 </html>