在widows下装载一个ubuntulinux系统。可以在一个系统下上网,在一个系统下看电视,我一般在widows下上网,在linux下看电视。
我在linux下用mplayer观看,打开终端输入以下命令:
Myplayermms://tv.lzu.edu.cn/cctv3(这是中央3的地址)结果只是有声音,没有图像如下:
ahlian@Ahlian:~$mplayermms://tv.lzu.edu.cn/cctv3
MPlayer1.0rc2-4.2.3(C)2000-2007MPlayerTeam
CPU:AMDSempron(tm)Processor2500 (Family:15,Model:44,Stepping:2)
CPUflags:MMX:1MMX2:13DNow:13DNow2:1SSE:1SSE2:1
CompiledwithruntimeCPUdetection.
mplayer:couldnotconnecttosocket
mplayer:Nosuchfileordirectory
FailedtoopenLIRCsupport.Youwillnotbeabletouseyourremotecontrol.
Playingmms://tv.lzu.edu.cn/cctv3.
STREAM_ASF,URL:mms://tv.lzu.edu.cn/cctv3
Resolvingtv.lzu.edu.cnforAF_INET6...
Connectingtoservertv.lzu.edu.cn[2001:da8:c000::200]:1755...
Connected
unknownobject
unknownobject
fileobject,packetlength=8000(8000)
unknownobject
streamobject,streamID:1
streamobject,streamID:2
unknownobject
unknownobject
dataobject
mmstpacket_length=8000
Cachesizesetto64KBytes
Cachefill:0.00%(0bytes)
ASFfileformatdetected.
[asfheader]Audiostreamfound,-aid1
[asfheader]Videostreamfound,-vid2
VIDE[WMV3]768x57624bpp1000.000fps950.0kbps(116.0kbyte/s)
Clipinf
name:中央三套
author:netstorms@metc
copyright:中央电视台
xscreensaver_disable:CouldnotfindXScreenSaverwindow.
GNOMEscreensaverdisabled
[VO_XV]ItseemsthereisnoXvideosupportforyourvideocardavailable.
[VO_XV]Run''xvinfo''toverifyitsXvsupportandread
[VO_XV]DOCS/HTML/en/video.html#xv!
[VO_XV]See''mplayer-vohelp''forother(non-xv)videooutdrivers.
[VO_XV]Try-vox11.
Erroropening/initializingtheselectedvideo_out(-vo)device.
==========================================================================
Forcedaudiocodec:mad
Openingaudiodecoder:[ffmpeg]FFmpeg/libavcodecaudiodecoders
AUDI44100Hz,2ch,s16le,48.0kbit/3.40%(rati6003->176400)
Selectedaudiocodec:[ffwmav2]afm:ffmpeg(DivXaudiov2(FFmpeg))
==========================================================================
A[pulse]44100Hz2chs16le(2bytespersample)
Videnovideo
Startingplayback...
输入以下结果就可以拉:
ahlian@Ahlian:~$mplayer-vox11mms://tv.lzu.edu.cn/cctv3
运行如下:
ahlian@Ahlian:~$mplayer-vox11mms://tv.lzu.edu.cn/cctv3
MPlayer1.0rc2-4.2.3(C)2000-2007MPlayerTeam
CPU:AMDSempron(tm)Processor2500 (Family:15,Model:44,Stepping:2)
CPUflags:MMX:1MMX2:13DNow:13DNow2:1SSE:1SSE2:1
CompiledwithruntimeCPUdetection.
mplayer:couldnotconnecttosocket
mplayer:Nosuchfileordirectory
FailedtoopenLIRCsupport.Youwillnotbeabletouseyourremotecontrol.
Playingmms://tv.lzu.edu.cn/cctv3.
STREAM_ASF,URL:mms://tv.lzu.edu.cn/cctv3
Resolvingtv.lzu.edu.cnforAF_INET6...
Connectingtoservertv.lzu.edu.cn[2001:da8:c000::200]:1755...
Connected
unknownobject
unknownobject
fileobject,packetlength=8000(8000)
unknownobject
streamobject,streamID:1
streamobject,streamID:2
unknownobject
unknownobject
dataobject
mmstpacket_length=8000
Cachesizesetto64KBytes
Cachefill:0.00%(0bytes)
ASFfileformatdetected.
[asfheader]Audiostreamfound,-aid1
[asfheader]Videostreamfound,-vid2
VIDE[WMV3]768x57624bpp1000.000fps950.0kbps(116.0kbyte/s)
Clipinf
name:中央三套
author:netstorms@metc
copyright:中央电视台
xscreensaver_disable:CouldnotfindXScreenSaverwindow.
GNOMEscreensaverdisabled
==========================================================================
Openingvideodecoder:[dmo]DMOvideocodecs
DMOdllsupportsVOOptimizations01
DMOdllmightuseprevioussamplewhenrequested
GetOutputr=0x0size:1327104align:1
StreamCountr=0x011
Decodersupportsthefollowingformats:YV12YUY2UYVYYVYURGB8RGB555RGB565RGB24RGB32
DecoderiscapableofYUVoutput(flags0x1b)
VDec:voconfigrequest-768x576(preferredcolorspace:PackedYUY2)
VDec:usingPlanarYV12asoutputcsp(no0)
Movie-Aspectisundefined-noprescalingapplied.
V[x11]768x576=>768x576PlanarYV12
[swscaler@0x89357b0]SwScaler:usingunscaledyuv420p->rgb32specialconverter
Selectedvideocodec:[wmv9dmo]vfm:dmo(WindowsMediaVideo9DMO)
==========================================================================
==========================================================================
Forcedaudiocodec:mad
Openingaudiodecoder:[ffmpeg]FFmpeg/libavcodecaudiodecoders
AUDI44100Hz,2ch,s16le,48.0kbit/3.40%(rati6003->176400)
Selectedaudiocodec:[ffwmav2]afm:ffmpeg(DivXaudiov2(FFmpeg))
==========================================================================
A[pulse]44100Hz2chs16le(2bytespersample)
Startingplayback...
当然也可以用mplayer的打开,openurl即可。当然也可以在widows下看电视,在linux下上网赫赫,看自己的兴趣拉。
利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视利用ubuntu实现上网看电视
阅读(1038) | 评论(0) | 转发(0) |