Using ubuntu to watch TV online

Source: Internet
Author: User
Article Title: Using ubuntu to watch TV online. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Load a ubuntu linux system under widows. I can access the Internet in one system and watch TV in one system. I usually access the Internet in widows and watch TV in linux.

In linux, I use mplayer to watch the video. Open the terminal and enter the following command:

Myplayer mms: // TV .lzu.edu.cn/cctv3:

Ahlian @ Ahlian :~ $ Mplayer mms: // TV .lzu.edu.cn/cctv3
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron (tm) Processor 2500 + (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3 DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Mplayer: cocould not connect to socket
Mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mms: // TV .lzu.edu.cn/cctv3.

STREAM_ASF, URL: mms: // TV .lzu.edu.cn/cctv3
Resolving TV .lzu.edu.cn for AF_INET6...
Connecting to server TV .lzu.edu.cn [2001: da8: c000: 200]: 1755...
Connected
Unknown object
Unknown object
File object, packet length = 8000 (8000)
Unknown object
Stream object, stream ID: 1
Stream object, stream ID: 2
Unknown object
Unknown object
Data object
Mmst packet_length = 8000
Cache size set to 64 KBytes
Cache fill: 0.00% (0 bytes)
ASF file format detected.
[Asfheader] Audio stream found,-aid 1
[Asfheader] Video stream found,-vid 2
VIDEO: [WMV3] 768x576 24bpp 1000.000 fps 950.0 kbps (116.0 kbyte/s)
Clip info:
Name: Three sets in the center
Author: netstorms @ metc
Copyright: CCTV
Xscreensaver_disable: cocould not find XScreenSaver window.
GNOME screensaver disabled
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html # xv!
[VO_XV] See 'mplayer-vo help' for other (non-xv) video out drivers.
[VO_XV] Try-vo x11.
Error opening/initializing the selected video_out (-vo) device.
========================================================== ========================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6003-> 176400)
Selected audio codec: [ffwmav2] ATOM: ffmpeg (DivX audio v2 (FFmpeg ))
========================================================== ========================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Enter the following results to pull:

Ahlian @ Ahlian :~ $ Mplayer-vo x11 mms: // TV .lzu.edu.cn/cctv3

Run the following command:

Ahlian @ Ahlian :~ $ Mplayer-vo x11 mms: // TV .lzu.edu.cn/cctv3
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron (tm) Processor 2500 + (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3 DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Mplayer: cocould not connect to socket
Mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mms: // TV .lzu.edu.cn/cctv3.

STREAM_ASF, URL: mms: // TV .lzu.edu.cn/cctv3

Resolving TV .lzu.edu.cn for AF_INET6...
Connecting to server TV .lzu.edu.cn [2001: da8: c000: 200]: 1755...
Connected
Unknown object
Unknown object
File object, packet length = 8000 (8000)
Unknown object
Stream object, stream ID: 1
Stream object, stream ID: 2
Unknown object
Unknown object
Data object
Mmst packet_length = 8000
Cache size set to 64 KBytes
Cache fill: 0.00% (0 bytes)
ASF file format detected.
[Asfheader] Audio stream found,-aid 1
[Asfheader] Video stream found,-vid 2
VIDEO: [WMV3] 768x576 24bpp 1000.000 fps 950.0 kbps (116.0 kbyte/s)
Clip info:
Name: Three sets in the center
Author: netstorms @ metc
Copyright: CCTV
Xscreensaver_disable: cocould not find XScreenSaver window.
GNOME screensaver disabled
========================================================== ========================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Get output r = 0x0 size: 1327104 align: 1
StreamCount r = 0x0 1 1
Decoder supports the following formats: YV12 YUY2 uyvy yvyu RGB8 RGB555 RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request-768x576 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined-no prescaling applied.
VO: [x11] 768x576 => 768x576 Planar YV12
[Swscaler @ 0x89357b0] SwScaler: using unscaled yuv420p-> rgb32 special converter
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
========================================================== ========================================
========================================================== ========================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6003-> 176400)
Selected audio codec: [ffwmav2] ATOM: ffmpeg (DivX audio v2 (FFmpeg ))
========================================================== ========================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...

Of course, you can also use mplayer to open the open url. Of course, you can also watch TV in widows, and access the Internet in linux.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.