<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hartvig.de &#187; stream</title>
	<atom:link href="http://hartvig.de/tag/stream/feed/" rel="self" type="application/rss+xml" />
	<link>http://hartvig.de</link>
	<description>Personal homepage of Kåre Hartvig Jensen - a research scientist</description>
	<lastBuildDate>Sun, 13 Mar 2011 19:15:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto: Record a web stream of TV with VLC</title>
		<link>http://hartvig.de/2008/howto-record-a-web-stream-of-tv-with-vlc/</link>
		<comments>http://hartvig.de/2008/howto-record-a-web-stream-of-tv-with-vlc/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 22:36:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://hartvig.de/?p=268</guid>
		<description><![CDATA[As you may have noticed, a number of national and international tv stations are beginning to offer their products in the form of high-definition mp4 live video streams. Long gone are the days when streaming meant crappy realmedia video. Let&#8217;s hope they never return.

A natural question that arises is how to record and store such [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have noticed, a number of national and international tv stations are beginning to offer their products in the form of high-definition mp4 live video streams. Long gone are the days when streaming meant crappy realmedia video. Let&#8217;s hope they never return.<br />
<img src="http://www.hartvig.de/files/images/vlc.jpg"><br />
A natural question that arises is how to record and store such streams for future viewing. In this part one of our feature on recording with VLC we will look at how to save a tv stream to the hard disk. Read on for more&#8230;<br />
<span id="more-268"></span><br />
<strong>Prerequisites</strong><br />
Before we begin, we have to install a couple of things. First, lets get VLC</p>
<pre class=prettyprint>
apt-get install vlc
</pre>
<p>Next, we have to locate a couple of tv stream urls. At the bottom of this page, I have listed a few for you to try out. The one we will work with is
<pre class=prettyprint>
mms://wm1.streamzilla.jet-stream.nl/demo=fireplaceHD
</pre>
<p> which is in fact not a tv station, but a HD fireplace. Nice and comfy.<br />
<strong>Viewing a stream</strong><br />
To view the fireplace in action, open a console and type</p>
<pre class=prettyprint>
vlc mms://wm1.streamzilla.jet-stream.nl/demo=fireplaceHD
</pre>
<p><strong>Saving a stream to the hard disk</strong><br />
To save the stream to you hard disk execute the following command (in one line)</p>
<pre class=prettyprint>
cvlc mms://wm1.streamzilla.jet-stream.nl/demo=fireplaceHD --sout
"#transcode{vcodec=mp1v,vb=800,scale=1,acodec=mp3,ab=256,channels=2}
:duplicate{dst=std{access=file,mux=ts,dst=/home/user/Fireplace.mpg}}"
</pre>
<p> Remember to replace the &#8220;user&#8221; in the &#8220;dst=&#8221; part with your username.<br />
<strong>Playing with video codecs</strong><br />
To encode to another video format, use one of the following &#8220;names&#8221; part in your vcodec=&#8230; command</p>
<pre class=prettyprint>
<strong>Name Description</strong>
mp1v MPEG-1 Video - recommended for portability
mp2v MPEG-2 Video - used in DVDs
mp4v MPEG-4 Video
SVQ1 Sorenson Video v1
SVQ3 Sorenson Video v3
WMV1 Windows Media Video v1
WMV2 Windows Media Video v2
WMV3 Windows Media Video v3, also called Windows Media 9 (unsupported)
DVSD Digital Video
MJPG MJPEG
H263 H263
h264 H264
theo Theora
IV20 Indeo Video
IV40 Indeo Video version 4 or later (unsupported)
RV10 Real Media Video
cvid Cinepak
VP31 On2 VP
FLV1 Flash Video
CYUV Creative YUV
HFYU Huffman YUV
MSVC Microsoft Video v1
MRLE Microsoft RLE Video
AASC Autodesc RLE Video
FLIC FLIC video
QPEG QPEG Video
</pre>
<p><strong>List of tv stations</strong></p>
<pre class=prettyprint>
DR1 rtsp://streamer-01.dr.nordija.dk/dr1high
DR2 rtsp://streamer-01.dr.nordija.dk/dr2high
MADFACE mms://72.29.72.109/madfacetv
Ministry of Sound http://a745.l2645830502.c26458.g.lm.akamaistream.net/D/745/26458/v0001/reflector:30502
Music Plus TV mms://musicplus-musicplustv.wm.llnwd.net/musicplus_musicplustv
SCC mms://media.scctv.net/SCCtv%20Broadband
SportBox mms://s-lon-01b.global-mix.net/itb
FRANCE 24 mms://live.france24.com/france24_fr.wsx
ZDF mms://ms.mdcs.dtag.de/encoder.zdf.zdf_h
SKY TG24 mms://live.skylife.it/SkyTg24
NRK Nyheter mms://media00.nrk.no/mms2/nydi/AutoEnc/mn1840.wmv
TV Visjon http://wm-live.crossnet.net/Visjonnorge
SONY Japan mms://morrich.gekimedia.net/MainStream500
BBC WORLD mms://tv.lzu.edu.cn/tv1
FOX 5 mms://a1729.l2168647534.c21686.g.lm.akamaistream.net/D/1729/21687/v0001/reflector:30206
FOX 8 mms://a1090.l1814050135.c18140.g.lm.akamaistream.net/D/1090/18140/v0001/reflector:50135
ABC mms://wmslive.stream.aol.com/live/abc/now
KARE 11 mms://a1100.l2234351369.c22343.n.lm.akamaistream.net/D/1100/22343/v0001/reflector:51369
MSNBC mms://msnbc.wmod.llnwd.net/a275/e1/video/100/vh.asf
SKY news mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k
FTV mms://88.191.27.137/paid%5Cfashiontv
CNN mms://a466.l3760651364.c37606.g.lm.akamaistream.net/D/466/37606/v0001/reflector:51364mms://a466.l3760651364.c37606.g.lm.akamaistream.net/D/466/37606/v0001
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hartvig.de/2008/howto-record-a-web-stream-of-tv-with-vlc/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

