News: How to record a video stream using linux

Kristian Fiskerstrand's blog

Published: 2005-12-28 21:25:11 . Categories: Computer Open Source

In relation to a previously mentioned blog entry I want to record the news story where it was mentioned. The TV channel has an online stream that I can play using mplayer, but how to record it?

Kaffeine has a record button, but as it use Xine, and my Xine installation doesn't have WMV support, I'm as far as without having kaffeine in the first place.

The difference is that mplayer has an own application mencoder that will encode anything mplayer will play. So here is what I use to grab a copy:

mencoder -o dag.wmv -oac pcm -ovc copy mms://straumod.nrk.no/Nyheter/Dagsrevyen/2005-12-28/Dagsrevyen_28_12_05_900_134628_20051228_190000.wmv

This seem to do it, next is to crop the appropriate part of the movie.

Bookmark this on google Bookmark this on del.icio.us Submit this to digg Bookmark this at yahoo Bookmark this at reddit Bookmark this at furl Search technorati for links to this page Toggle more

Comments

K_F -
Okay, so I wanted to extract a spesific part of the movie as well, to do this I used transcode: transcode -i dag.wmv -y xvid -o dag.avi -c :14:37-:15:00
Email: -hidden- - Website: N/A Added: 2005-12-28 22:01:19
 
K_F -
Okay, so that didn't work, that resulted in [transcode] warning : no option -x found, option -i ignored, reading from "/dev/zero"
lets try with -x mplayer
Email: -hidden- - Website: N/A Added: 2005-12-28 22:05:01
 
1|


Name:
Nickname:
E-mail:
Website:
Message:
Read codeImage verification
Put code:

News archive



[Sitemap]