Open Source Platform for Remote Encoding and Distribution of Multimedia Contents
Total Page:16
File Type:pdf, Size:1020Kb
OPEN SOURCE PLATFORM FOR REMOTE ENCODING AND DISTRIBUTION OF MULTIMEDIA CONTENTS Paulo Paiva, Pedro Tom´as, Nuno Roma TU Lisbon / IST / INESC-ID Rua Alves Redol, 9, 1000-029 Lisboa - PORTUGAL Keywords: Audio and Video Encoding, Multimedia Terminal, Remote Management, Open Source Software Abstract: This paper presents a multimedia platform for digital television based on existing single purpose open-source solutions. The advantage of the proposed platform regarding existing ones is the possibility to integrate new features or change existing ones (e.g., recording format and coding standard). In this sense, the proposed terminal natively supports: (i) multi-user remote management; (ii) broadcast of recorded contents to remote devices, such as laptops and mobile phones; (iii) broadcast of real-time TV or video/surveillance cameras. 1 INTRODUCTION To summarize, the proposed system is character- ized by offering support for: Nowadays, the commercial trend for multimedia • input devices: satellite, video or radio antenna, ca- terminals are all-in-one solutions that are able to dis- ble TV, IPTV; play real-time TV shows, record TV programs and • manage other multimedia contents. However, the output devices: TV, computer, laptops, mobile de- latest advances in multimedia services will soon in- vices, Hard Disk Drive (HDD) (for recording pur- tegrate other features, such as video-call or home pose), others (e.g. tablets ) through a local con- surveillance, which will require more customizable nection, LAN and/or Internet. platforms, where the user has the possibility to add Furthermore, it supports the following core ser- new features. vices: Some platforms for the distribution of multimedia • TV Streaming – after acquiring the TV signal, it contents already exist. Example of such platforms in- may be displayed in real-time or even displayed clude: commercial solutions, such as Microsoft Me- while recording. This reproduction facility of the diaroom [17], do not allow any change due to pro- audio/video is often denoted as streaming, where prietary rights. Example of open-source solutions in- media is constantly received and displayed to the clude Linux TV [15], which may have a large sup- end-user through an active Internet connection, port for devices and formats, but require programing whether or not the user is next to the computer knowledge by the end-user, making it hard to cus- where the signal is acquired. tomize or change. • In contrast, the platform that is proposed allows TV Recording – this basic functionality provides different inputs, from satellite broadcasts to video- the ability to remotely manage the recording of camera or surveillance-cameras. The produced con- any TV show or program that, by some reason, tent is handled by an encoding and streaming server, can not be seen at that time. allowing different types of devices to access the ser- • Video-call – since the audio/video acquisition is vice with no extra costs for the user other than the implemented for the TV Streaming functionality, Internet connection. Moreover, its strict personal us- setting it up for a web-cam and microphone repre- age is assured by convenient security (using SSL/TLS sents a small change in the system. This way, the protocols) and user authentication mechanisms. video-call can also be offered as a service. 2 RELATED WORK MediaRoom [16] is a proprietary and paid IPTV ser- vice available to television providers. Many providers Several tools that implement the previously pre- use this software (including Portuguese MEO and sented features already exist independently, but with Vodafone) and it is also accessible through a large set no connectivity between them. The main difference of devices (personal computer, mobile devices, TV’s, between the developed platform and the tools already Microsoft XBox360). GoogleTV [7] is an IPTV developed is that this framework integrates several in- service for Android based systems. It is an all-in- dependent solutions into it. Other differences are: one solution, allows developers to add new features, through the Android Market, and currently works • Some proprietary solutions cannot be modified only for some selected Sony televisions and Sony Set- without violating intellectual property. Top boxes. NDS MediaHighway [20] is a platform • Many software tools have a complex interface and adopted worldwide by many Set-Top boxes (e.g., Por- are suitable only for experienced users or users tuguese Zon provider). The difference between NDS with some programming knowledge. In some and MediaRoom is that NDS supports DVB (terres- cases, this is due to the fact that these tools support trial, satellite and hybrid), while MediaRoom does many more features and configuration parameters not. than what is expected in an all-in-one multimedia All of the above commercial solutions have sim- solution. ilar functionalities and charge their usage. However, • Some TV applications cover only DVB, while no some support a great number of devices (MS Media- analog support is provided; Room), and some are specialized in one kind of de- • Most applications only work in specific world ar- vice, e.g. GoTV - mobile devices. None of the men- eas (e.g., USA). tioned commercial solutions offer support for video- conference, either as an add-on or within the normal • Some applications only support a limited set of service. devices. A new emergent area is IPTV (Internet Protocol Television), with several solutions being developed in Free/open-source software Linux TV [15] is a a daily basis, but all related to IP solutions. It is the repository for several tools that offers a vast set of case of a Personal TV framework presented in [1], support for several kinds of TV Cards and broadcasts where the main goal is the design of a Framework for methods. By using the Video for Linux driver (V4L) Personal TV for personalized services over IP. [2], it is possible to watch TV from all kinds of DVB The solution presented in this paper differs from sources, but none for analog TV broadcast sources. the Personal TV [1] in several aspects. The solution The problem of this solution is that, for a regular user here in presented is: implemented based on existent with no programing knowledge, it is hard to setup open-source solutions; intended to be easily modi- any of the proposed solutions. Video Disk Recorder fiable; aggregate several multimedia functionalities, (VDR) [14] is another open-solution for DVB, with such as video-call, recording content; and to serve the the common options (regular playback, recording and user with several different multimedia video formats video edition). However, it requires some program- (the streamed video is done in WebM format, but it ming knowledge. Kastor! TV (K!TV) [22] is an open is possible to download the recorded content in dif- solution for MS Windows to view and record TV con- ferent video formats, after requesting the platform to tent from a video card. MythTV [19] is a free open- re-encode the content). source software for digital video recording (DVR). It In the following, a set of existing platforms is pre- has a vast support and development team, and any sented. It should be noted the existence of other small user can modify/customize it with no fee. applications just for video display (e.g. TV players In general, the existent open-source software of- such as Xawtv [6]) However, in comparison with the fer similar functionalities in comparison with the pro- proposed application, there is no solution that covers posed solution. The major restrictions of using these all the features offered by the proposed solution. solutions are: the user needs some programming knowledge (Linux TV); the acquired content can only Comercial Solutions Several commercial solutions be viewed in the machine where the signal is acquired exist, but none is legaly modifiable. GoTV [9] is a (VDR); and other solutions (MythTV) offer the pos- proprietary and paid software tool, which offers TV sibility for remote usage, but the remote user needs viewing specifically to mobile-devices (e.g., Android, specific software installed in order to properly view iPhone, ...) and only works in the USA. Microsoft the remote content. 3 ARCHITECTURE with the selected profile, i.e. different encoding parameters; The proposed architecture is based on existent sin- • Video Streamer Engine (VSE), which streams the gle purpose open-source software tools and was de- encoded video through the Internet connection; fined in order to make it easy to manipulate, remove • Scheduler, responsible for managing multimedia or add new features and hardware components. The recordings; core functionalities are: • Video Recorder Engine (VRE), which records the • Video Streaming, allowing real-time repro- video into the local hard drive, for posterior visu- duction of audio/video acquired from different alization, download or re-encoding; sources (e.g.,TV cards, video cameras, surveil- • lance cameras). The media is constantly received Video-Call Module (VMC), which streams the au- and displayed to the end-user through an active dio/video acquired from the web-cam and micro- Internet connection. phone. • Video Recording, providing the ability to re- Using a bottom-up approach, the server side mod- motely manage the recording of any source (e.g. ules, presented in Fig. 1 will now be described in the a TV show or program) in a storage medium; next subsection. • Video-call, considering that most TV providers 3.1.1 Signal Acquisition And Control also offer their customers an Internet connection, it can be used together with a web-camera and a The SAAC Module is responsible for the signal acqui- microphone, to implement a video-call service. sition and control. Video/audio signal can be acquired from multiple Hardware (HW) sources (e.g., TV The conceived architecture adopts a client-server card, surveillance camera, web-cam and microphone, model.