sjh - mountain biking running linux vegan geek spice - mtb / vegan / running / linux / canberra / cycling / etc

Steven Hanley hackergotchi picture Steven
Hanley

About

email: sjh@svana.org

web: https://svana.org/sjh
twitter: https://twitter.com/sjhmtb
instagram: https://instagram.com/sjhmtb

Other online diaries:

Aaron Broughton,
Andrew Pollock,
Anthony Towns,
Chris Yeoh,
Martijn van Oosterhout,
Michael Davies,
Michael Still,
Tony Breeds,

Links:

Linux Weekly News,
XKCD,
Girl Genius,
Planet Linux Australia,
Bilbys,
CORC,

Canberra Weather: forecast, radar.

Subscribe: rss, rss2.0, atom

June
Mon Tue Wed Thu Fri Sat Sun
     
20
   

2006
Months
Jun

Categories:

Archive by month:

Tue, 20 Jun 2006

More success with the tv tuner card - 16:06
Thanks to tpot for a bunch of help with suggestions on what to use t make this run. I was able to tune into a channel (SBS HD) and record it successfully (dump to a file the broadcast stream) and play it on my laptop.

I needed the dvb-utils and dvbstream packages, Tim said first off generate a channel scan in a format xine and other applications will understand (including tzap) which is done using the scan program from dvb-utils.

/usr/bin/scan -o zap /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-canberra > channels.conf

This channels.conf is understood by xine and the tzap command (tune to a channel), to tune into a given channel run tzap -r "Channel Name" where the channel name is listed in the channels.conf. I have not yet found Ten/Capital, however this is using rabbit ears in my office, I suspect when hooked up to the roof mounted antenna at home all will be better. This was enough to find a lot of other channels though so that is good.

Leaving tzap running in the background in another xterm I was then able to run "dvbstream 8192 -o > output.ts" and it sat there dumping the raw video/audio stream until I hit control c. As Tim pointed out the stream is about 1 MB per second and with dual audio streams can soak up more. Almost 2 minutes and I was using 150 MB of disk for the output.ts already. I strongly suspect transcoding to a more compressed on the fly will be necessary. The 8192 above is a dummy value that simply tells dvbstream to dump all of the stream it sees.

Anyway I copied the file to my laptop and played it with mplayer, the quality really is rather nice 720x576 I think, definitely better than normal tv, woohoo bring on the Tour de France.

[/comp/hardware] link


home, email, rss, rss2.0, atom