注册 登录
自由的生活_软路由 返回首页

11的个人空间 https://bbs.routerclub.com/?499 [收藏] [复制] [分享] [RSS]

日志

droidtv:在android上使用usb dvb-t 看电视的软件

已有 2226 次阅读2012-4-14 10:28 | android, usb电视棒

源码在:
https://github.com/chrulri/droidtv
介绍在:
http://www.slatedroid.com/topic/18812-howto-dvb-usb-support/page__st__20

HOW DOES IT WORK?

DroidTV uses basic linux functionality as Android runs on top of a linux kernel. So the prerequirements are:

  • kernel modules for your dvb device are loaded and working
  • dvb device has the firmware loaded and is in 'warm state'
  • dvb device nodes in /dev/dvb/... are set with the correct permissions (e.g. at least 666)

These prerequirements given the app itself does not need any superuser privileges.

Then DroidTV uses w_scan to scan for channels on all frequencies. This has to be done everytime you're moving to a new broadcasting area (e.g. moving to another country).

Once you've scanned for the channels the channel list will be stored on your Android device and you can simply switch between those channel lists and tune your favored channel. DroidTV then starts DVBlast - an open source, simple and powerful MPEG-2/TS demux and streaming application - which streams all the media streams via UDP back to droidtv which in turn streams it via HTTP to the media player rendering engine on your Android device.

工作原理就是:先编译驱动能正确驱动usb dvb-t,然后使用w_scan扫描节目频道,再用dvblast采集数据流,通过udp发送到前端的android界面程序。
实现上还有些复杂,如果能全部集中在一起就好了。



路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-6-8 21:03 , Processed in 0.035090 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

返回顶部