1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
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">
13 <a href=
"../../">Petter Reinholdtsen
</a>
19 <p>Entries tagged "video".
</p>
26 <a href=
"../../Software_video_mixer_on_a_USB_stick.html">Software video mixer on a USB stick
</a>
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>
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>
64 Tags:
<a href=
"../../tags/english">english
</a>,
<a href=
"../../tags/nuug">nuug
</a>,
<a href=
"../../tags/video">video
</a>.
68 <div class=
"padding"></div>
72 <a href=
"../../When_web_browser_developers_make_a_video_player___.html">When web browser developers make a video player...
</a>
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
<video
> 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 <video
> tag, the
<object
> tag, the
<embed
> tag and
92 the
<applet
> tag. All of these take a lot of options, and
93 finding the best options is a major challenge.
</p>
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
<video
> 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 <video
> tag will stream recordings by default, or at least start
111 playing when the download is done.
</p>
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
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>
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>.
132 <div class=
"padding"></div>
136 <a href=
"../../F__rste_vellykkede_videostr__m_fra_NUUG.html">Første vellykkede videostrøm fra NUUG
</a>
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>
160 Tags:
<a href=
"../../tags/norsk">norsk
</a>,
<a href=
"../../tags/nuug">nuug
</a>,
<a href=
"../../tags/video">video
</a>.
164 <div class=
"padding"></div>
168 <a href=
"../../Lisensvalg_for_NUUG_opptakene_endelig_p___plass.html">Lisensvalg for NUUG-opptakene endelig på plass
</a>
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>
191 Tags:
<a href=
"../../tags/norsk">norsk
</a>,
<a href=
"../../tags/nuug">nuug
</a>,
<a href=
"../../tags/video">video
</a>.
195 <div class=
"padding"></div>
199 <a href=
"../../Frikanalen_og_jul_i_studentr__det.html">Frikanalen og jul i studentrådet
</a>
208 <a href=
"http://lists.nuug.no/pipermail/interesserte/2009-March/000387.html">lanserte
</a>
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>
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>
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
232 <a href=
"http://www.nuug.no/pub/video/frikanalen/fetchvideo.cgi?videoId=779">religiøst
233 vinklede nyheter
</a> til
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,
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>
252 Tags:
<a href=
"../../tags/norsk">norsk
</a>,
<a href=
"../../tags/nuug">nuug
</a>,
<a href=
"../../tags/video">video
</a>.
256 <div class=
"padding"></div>
260 <a href=
"../../Recording_video_from_cron_using_VLC.html">Recording video from cron using VLC
</a>
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>
277 <blockquote><pre>URL=http://www.ping.uio.no/video/rms-oslo_2009.ogg
279 DISPLAY= vlc -q $URL \
280 --sout="#duplicate{dst=std{access=file,url='$SAVEFILE'},dst=nodisplay}" \
281 --intf=dummy
</pre></blockquote>
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>
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>
293 <blockquote><pre>#!/bin/sh
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 &
304 wait $pid
</pre></blockquote>
311 Tags:
<a href=
"../../tags/english">english
</a>,
<a href=
"../../tags/nuug">nuug
</a>,
<a href=
"../../tags/video">video
</a>.
315 <div class=
"padding"></div>
317 <p style=
"text-align: right;"><a href=
"video.rss"><img src=
"../../xml.gif" alt=
"RSS Feed" width=
"36" height=
"14"></a></p>
330 <li><a href=
"../../archive/2009/01/">January (
8)
</a></li>
332 <li><a href=
"../../archive/2009/02/">February (
8)
</a></li>
334 <li><a href=
"../../archive/2009/03/">March (
12)
</a></li>
336 <li><a href=
"../../archive/2009/04/">April (
10)
</a></li>
338 <li><a href=
"../../archive/2009/05/">May (
3)
</a></li>
345 <li><a href=
"../../archive/2008/11/">November (
5)
</a></li>
347 <li><a href=
"../../archive/2008/12/">December (
7)
</a></li>
358 <li><a href=
"../../tags/3d-printer">3d-printer (
10)
</a></li>
360 <li><a href=
"../../tags/amiga">amiga (
1)
</a></li>
362 <li><a href=
"../../tags/aros">aros (
1)
</a></li>
364 <li><a href=
"../../tags/debian">debian (
10)
</a></li>
366 <li><a href=
"../../tags/debian edu">debian edu (
6)
</a></li>
368 <li><a href=
"../../tags/english">english (
12)
</a></li>
370 <li><a href=
"../../tags/fiksgatami">fiksgatami (
1)
</a></li>
372 <li><a href=
"../../tags/fildeling">fildeling (
2)
</a></li>
374 <li><a href=
"../../tags/ltsp">ltsp (
1)
</a></li>
376 <li><a href=
"../../tags/multimedia">multimedia (
2)
</a></li>
378 <li><a href=
"../../tags/norsk">norsk (
41)
</a></li>
380 <li><a href=
"../../tags/nuug">nuug (
41)
</a></li>
382 <li><a href=
"../../tags/opphavsrett">opphavsrett (
3)
</a></li>
384 <li><a href=
"../../tags/personvern">personvern (
5)
</a></li>
386 <li><a href=
"../../tags/reprap">reprap (
10)
</a></li>
388 <li><a href=
"../../tags/rss">rss (
1)
</a></li>
390 <li><a href=
"../../tags/sikkerhet">sikkerhet (
1)
</a></li>
392 <li><a href=
"../../tags/standard">standard (
3)
</a></li>
394 <li><a href=
"../../tags/stavekontroll">stavekontroll (
1)
</a></li>
396 <li><a href=
"../../tags/video">video (
6)
</a></li>
398 <li><a href=
"../../tags/vitenskap">vitenskap (
1)
</a></li>
400 <li><a href=
"../../tags/web">web (
4)
</a></li>