Codec-On-Demand Based on User-Level Virtualization

Total Page:16

File Type:pdf, Size:1020Kb

Codec-On-Demand Based on User-Level Virtualization IEICE TRANS. INF. & SYST., VOL.E92–D, NO.12 DECEMBER 2009 2422 PAPER Codec-on-Demand Based on User-Level Virtualization Youhui ZHANG†a), Member and Weimin ZHENG†, Nonmember SUMMARY At work, at home, and in some public places, a desktop PC We performed a test to show the decoding capability is usually available nowadays. Therefore, it is important for users to be able of the mainstream media players. More than eighty video ff to play various videos on di erent PCs smoothly, but the diversity of codec files were selected randomly from the Internet to be played types complicates the situation. Although some mainstream media play- ∗ ers can try to download the needed codec automatically, this may fail for by five players, WMP 10.0 , RealPlayer 11, QuickTime 7.0, average users because installing the codec usually requires administrator MPlayer v1.0rc2 [1] and VLC 0.9 [2] on a freshly-installed privileges to complete, while the user may not be the owner of the PC. We Windows XP SP2 host. Each player tried to show all believe an ideal solution should work without users’ intervention, and need videos before it was uninstalled and the next player was in- no special privileges. This paper proposes such a user-friendly, program- transparent solution for Windows-based media players. It runs the media stalled and tested successively. Successful decoding meant player in a user-mode virtualization environment, and then downloads the that both the video and audio streams could be decoded needed codec on-the-fly. Because of API (Application Programming In- smoothly. The results were interesting: terface) interception, some resource-accessing API calls from the player will be redirected to the downloaded codec resources. Then from the view- • MPlayer behaved perfectly as it could decode all point of the player, the necessary codec exists locally and it can handle videos; the exception was that the audio streams of two the video smoothly, although neither system registry nor system folders files could not be handled. The runner-up was VLC: was modified during this process. Besides convenience, the principle of about 94% of the files could be decoded. least privilege is maintained and the host system is left clean. This pa- • per completely analyzes the technical issues and presents such a prototype WMP behaved not badly: more than 85% of the files which can work with DirectShow-compatible players. Performance tests were decoded smoothly; for RealPlayer, the success- show that the overhead is negligible. Moreover, our solution conforms to ful ratio was about 77%; QuickTime performed poorly: the Software-As-A-Service (SaaS) mode, which is very promising in the the ratio was only 30%. All players were configured as Internet era. key words: codec, user-level virtualization, on demand “downloading codec automatically”. It appears that the two open source players (MPlayer 1. Introduction and VLC) performed much better that their commercial counterparts. However, neither of them has the function to The number of videos that can be accessed through the In- download a needed codec automatically when an unknown ternet keeps on growing rapidly. As well, a desktop PC or video is met, which means that their extensibility is limited kiosk is usually available at work, at home, and in some and they are not very user-friendly. public places. However, how to play the ubiquitous videos For a skilled user, locating and installing a suitable conveniently on any PC is an open problem. That is, most codec or player is easy. However, for an ordinary user, it users may have an annoying experience: after waiting a long is difficult to understand the technical codec-related terms, time for a video to download, the user is informed that the let alone find and install it. video cannot be played because there is no suitable codec Moreover, in some computing environments, the user on the host. may be not the owner of the host and then she has to run Some mainstream video players have solutions for this players on a locked-down PC without the administrator priv- situation. For example, Windows Media Player (WMP) ilege, which means she cannot install any new software. can automatically download a suitable codec to play a new We believe an ideal solution should have the following video, and RealPlayer has the same function. However, be- features: cause of the diversity of codec types, they cannot solve this • User-friendliness. That is, the user need not know any- problem completely and the “cannot play” issue still arises thing about codec location, installation, and so on. No frequently. Therefore, there are some open-source play- administrator privilege is needed. ff ers famous for their capabilities to deal with many di erent • Program transparency. Current media players should codecs. not need to be rewritten to have the new feature. Manuscript received October 16, 2008. ∗The latest version is WMP 11. However, it does not Manuscript revised April 8, 2009. affect the credibility of our test because the new features of †The authors are with the Department of Computer Science WMP 11 are focused on the flexibility in managing functions and Technology, Tsinghua University, Beijing, 100084, China. as mentioned at http://www.microsoft.com/windows/windows- a) E-mail: [email protected] vista/features/media -player-11.aspx. It still needs administrator DOI: 10.1587/transinf.E92.D.2422 privilege to install an on-demand codec. Copyright c 2009 The Institute of Electronics, Information and Communication Engineers ZHANG and ZHENG: CODEC-ON-DEMAND BASED ON USER-LEVEL VIRTUALIZATION 2423 • High adaptability. At least for the mainstream media players on most desktop PCs, it should “just work”. 2. Related Work ffi The most di cult problem is to provide these features 2.1 On-Demand in a compatible way, so that the existing players and codecs can be reused. This paper presents such a solution. It On-demand is a feature which responds to the user’s desire enables the player software to run in a user-mode virtual- for instant gratification and immediate use. It is regarded as ization environment that intercepts some resource (registry, a friendly and economical service by IT users. Some types files/directories, environment variables, etc.) accessing API of on-demand service include: calls from the player to learn whether a suitable codec ex- ists on the local host or not. If needed, the codec is down- • Video-on-demand is a type of video or movie service loaded from the Internet into the same virtualization envi- which allows the viewer to access the media immedi- ronment. Subsequently the resource-accessing API calls are ately upon subscription, such as streaming Internet or intercepted and some of them will be redirected to the down- pay-per-view television offerings. loaded resource. • On-demand computing most frequently refers to a type Therefore, from the viewpoint of the media player, the of computing service where the actual software is pre- necessary codec is available and it can handle the video sented to the user, once a subscription to the service is smoothly. The key point is that, during the whole process, successfully processed. neither system registry nor system folder is modified. Thus, • On-demand software is typically delivered by an appli- the principle of least privilege [3] is maintained; in addition, cation service provider. This type of service offering is the host system is left clean, which minimizes the possibility also frequently referred to as Software as a Service. of conflicts between software. On the other side, our solution expresses some of the As mentioned in Sect. 1, although video-on-demand principles of SaaS; that is, the software can run on demand is a convenient service, users often encounter the “can- across the Internet without installation and without any spe- not play” problem because of the lack of a suitable codec. cial privilege; users’ intervention has been decreased to the Therefore it appears that combining video-on-demand with minimum. software-on-demand would be a smooth solution, which SaaS is believed as a promising delivery and us- means that a suitable codec could be automatically down- age mode for software, which was usually used by some loaded on demand with the video. This paper focuses on enterprise-level software and now it has moved closer to that idea. common users. The automatic download mechanism of Of course, online video-playback is also a popular WMP and RealPlayer can be regarded as a step to the mode. The most famous example is YouTube using Adobe software-as-a-service mode. But because they are based Flash technology [5] to provide the video streams. Adobe on the traditional DirectShow framework, their solution is Flash adopts a proprietary file format and its recent release not complete—the administrator privileges are still needed. supports H264 and AAC codecs. Users can watch videos in Our solution bridges the gap between the SaaS mode and this mode on diverse hosts because the Adobe Flash Player the legacy software (including codecs)—using the user-level and web browser plug-in are widely available. However, virtualization technology, we have implemented such a so- in this mode, existing videos have to be converted into the lution on the Windows OS, which can work successfully given format before delivery. Furthermore, it is unimag- with WMP, RealPlayer, some third-party players, and ex- inable that the online mode will totally replace the offline isting codecs; no source codes of them are modified. mode. This paper focuses on the offline mode of video play- back. Another mode, online, is becoming more and more 2.2 Multimedia Playback popular.
Recommended publications
  • High Level Architecture Framework
    Java Media Framework Multimedia Systems: Module 3 Lesson 1 Summary: Sources: H JMF Core Model H JMF 2.0 API Programmers m Guide from Sun: Architecture http://java.sun.com/products/java-media/jmf/2.1/guide/ m Models: time, event, data H JMF 2.0 API H JMF Core Functionality H JMF White Paper from IBM m Presentation http://www- 4.ibm.com/software/developer/library/jmf/jmfwhite. m Processing html m Capture m Storage and Transmission H JMF Extensibility High Level Architecture H A demultiplexer extracts individual tracks of media data JMF Applications, Applets, Beans from a multiplexed media stream. A mutliplexer performs the JMF Presentation and Processing API opposite function, it takes individual tracks of media data and merges them into a single JMF Plug-In API multiplexed media stream. H A codec performs media-data Muxes & Codecs Effects Renderers Demuxes compression and decompression. Each codec has certain input formats that it can handle and H A renderer is an abstraction of a certain output formats that it can presentation device. For audio, the generate presentation device is typically the H An effect filter modifies the computer's hardware audio card track data in some way, often to that outputs sound to the speakers. create special effects such as For video, the presentation device is blur or echo typically the computer monitor. Framework JMF H Media Streams m A media stream is the media data obtained from a local file, acquired over the network, or captured from a camera or microphone. Media streams often contain multiple channels of data called tracks.
    [Show full text]
  • Download Media Player Codec Pack Version 4.1 Media Player Codec Pack
    download media player codec pack version 4.1 Media Player Codec Pack. Description: In Microsoft Windows 10 it is not possible to set all file associations using an installer. Microsoft chose to block changes of file associations with the introduction of their Zune players. Third party codecs are also blocked in some instances, preventing some files from playing in the Zune players. A simple workaround for this problem is to switch playback of video and music files to Windows Media Player manually. In start menu click on the "Settings". In the "Windows Settings" window click on "System". On the "System" pane click on "Default apps". On the "Choose default applications" pane click on "Films & TV" under "Video Player". On the "Choose an application" pop up menu click on "Windows Media Player" to set Windows Media Player as the default player for video files. Footnote: The same method can be used to apply file associations for music, by simply clicking on "Groove Music" under "Media Player" instead of changing Video Player in step 4. Media Player Codec Pack Plus. Codec's Explained: A codec is a piece of software on either a device or computer capable of encoding and/or decoding video and/or audio data from files, streams and broadcasts. The word Codec is a portmanteau of ' co mpressor- dec ompressor' Compression types that you will be able to play include: x264 | x265 | h.265 | HEVC | 10bit x265 | 10bit x264 | AVCHD | AVC DivX | XviD | MP4 | MPEG4 | MPEG2 and many more. File types you will be able to play include: .bdmv | .evo | .hevc | .mkv | .avi | .flv | .webm | .mp4 | .m4v | .m4a | .ts | .ogm .ac3 | .dts | .alac | .flac | .ape | .aac | .ogg | .ofr | .mpc | .3gp and many more.
    [Show full text]
  • Megui) Recommended Fix: Download Here
    Join Forum | Login | Today's Posts | Tutorials | Windows 10 Forum | Windows 8 Forum Windows 7 Help Forums Windows 7 help and support Tutorials » Windows 7: Video Encoding x264 (MeGUI) Recommended Fix: Download Here Page 1 of 3 1 2 3 > Video Encoding (Using MeGUI x264 Encoder) MeGUI x264 Video Encoding Published by Wishmaster 15 Aug 2010 --How to Setup & Encode Content with MeGUI x264 Published by Encoder-- This tutorial will show you how to use MeGUI to create a MP4 or MKV file for your Media Center collection, from your legally owned DVD collection. Wishmaster I will not cover how to decrypt. This tutorial will be in 2 parts: Part 1: Installing,setting up,and configuring everything needed as well as the configuring the encoder itself. Part 2: The actual encoding process. Theres alot of info. to cover so lets get started. Step 1: The Essential Tools & Utilities 1) Shark007's Codec pack (optional) If you plan on using WMC for playback, and wish to use FFDshow as the decoder, you will need the 64bit add on as well. However, for the purposes of MeGUI, only the 32bit package is needed. [Please Note] You do not actually need any 3rd party Codecs such as FFDShow or Sharks codec pack. Both DVD and BluRay can be indexed and encoded with built in codecs. Extracting BluRay video streams to MKV format is the easiest way to work with them. You will need Haali splitter for these MKVs but if using Shark007s package, it is included.. You will need it only if you decide not to use this codec package.
    [Show full text]
  • E Player Download
    E player download LINK TO DOWNLOAD · VideoLAN, VLC, VLC media player and x are trademarks internationally registered by the VideoLAN non-profit organization. VideoLAN software is licensed under various open-source licenses: use and distribution are defined by each software license. Design by Made By Argon. Some icons are licensed under the CC BY-SA +.renuzap.podarokideal.ru Player 将于 年 12 月 31 日终止服务。有关更多详情,请参阅 Flash Player 生命周期终止信息页面。 主页 步骤:第 1 步,共 3 步 Adobe Flash Player 版本 系统要求 您的系统:, 简体中文 您是否是 IT 经理或 OEM renuzap.podarokideal.ru GOM Lab offers a wide range of multimedia software, mobile apps, and web services, from video player to video editor, such as GOM Player, GOM Mix Pro, etc. [US]renuzap.podarokideal.ru · Watch all your favourite TV shows Live or On Demand on your PC, smartphone or tablet for renuzap.podarokideal.ru://renuzap.podarokideal.ru · XePlayer, free download. Android emulator software for Windows: Android emulator that can download apps from the Google Play store. Review of XePlayer. Includes tests and PC download for Windows 32 and bit renuzap.podarokideal.ru › Software Downloads › Mobile Phone › Mobile Phone Tools › XePlayer. · Powerful video player with advanced hardware acceleration and subtitle support. You can now share files, music, apps and more in a click using MX File Transfer a) HARDWARE ACCELERATION - Hardware acceleration can be applied to more videos with the help of new HW+ decoder. b) MULTI-CORE DECODING - MX Player is the first Android video player which supports renuzap.podarokideal.ru? id=renuzap.podarokideal.ru renuzap.podarokideal.ru ™ is used by more than 70 million multi media users throughout the world and it has been translated into more than 90 languages renuzap.podarokideal.ru ™, a free media movie player, AVCHD video format and download missing m2v, mp4, mpv, renuzap.podarokideal.ru Adobe is changing the world through digital experiences.
    [Show full text]
  • Ethical Decision Making Framework Pdf
    Ethical decision making framework pdf Continue FOLLOW USA Results 1 - 10 of 17 Prev 1 2 Next Android users can grab the K Lite codec package for free. Download the latest version of this full free media player file for your Android set. Android users like Samsung can better enjoy the app. Here are some of the main features the players explain. K Lite Codec pack Full Features K-Lite Codec Pack apk K-Lite Codec Pack is a collection of audio and video codec that allows the Android operating system and its software to play different audio and video formats that are not supported by its operating system. K-Lite codec Pack encodes and decodes Direct Show filters to audio and video forms. The K-Lite Codec package has a convenient design that provides you with the best solution for audio and film files. K-Lite Codec is often updated with its latest and best components. Components are carefully selected for specific purposes. It's convenient and easy to use. You can install the K-Lite Codec package on its components that you would like to install. K-Lite Codec has four editions, like, Basic. Standard. Full and Mega. It's compatible with XP beyond. Some components that can handle multiple formats. K-Lite codec provide useful features such as, subtitle display, streaming audio bit, file association option and detection of broken codec. Removal removes everything includes registry keys. You can install Music Player - Audio Player Apk App Direct Download for Android Other Features: K-Lite Codec Package works great with Windows Media Player and Media Center.
    [Show full text]
  • Capabilities of the Horchow Auditorium and the Orientation
    Performance Capabilities of Horchow Auditorium and Atrium at the Dallas Museum of Art Horchow Auditorium Capacity and Stage: The auditorium seats 333 people (with a 12 removable chair option in the back), maxing out the capacity at 345). The stage is 45’ X 18’and the screen is 27’ X 14’. A height adjustable podium, microphone, podium clock and light are standard equipment available. Installed/Available Equipment Sound: Lighting: 24 channel sound board 24 fixed lights 4 stage monitors (with up to 4 Mixes) 5 movers (these give a wide array of lighting looks) 6 hardwired microphones 4 wireless lavaliere microphones 2 handheld wireless microphones (with headphone option) 9-foot Steinway Concert Grand Piano 3 Bose towers (these have been requested by Acoustic performers before and work very well) Music stands Projection Panasonic PTRQ32 4K 20,000 Lumen Laser Projector Preferred Video Formats in Horchow Blu Ray DVD Apple ProRes 4:2:2 Standard in a .mov wrapper H.264 in a .mov wrapper Formats we can use, but are not optimal MPEG-1/2 Dirac / VC-2 DivX® (1/2/3/4/5/6) MJPEG (A/B) MPEG-4 ASP WMV 1/2 XviD WMV 3 / WMV-9 / VC-1 3ivX D4 Sorenson 1/3 H.261/H.263 / H.263i DV H.264 / MPEG-4 AVC On2 VP3/VP5/VP6 Cinepak Indeo Video v3 (IV32) Theora Real Video (1/2/3/4) Atrium Capacity and Stage: The Atrium seats up to 500 people (chair rental required). The stage available to be installed in the Atrium is 16’ x 12’ x 1’.
    [Show full text]
  • © 2019 Jimi Jones
    © 2019 Jimi Jones SO MANY STANDARDS, SO LITTLE TIME: A HISTORY AND ANALYSIS OF FOUR DIGITAL VIDEO STANDARDS BY JIMI JONES DISSERTATION Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Library and Information Science in the Graduate College of the University of Illinois at Urbana-Champaign, 2019 Urbana, Illinois Doctoral Committee: Associate Professor Jerome McDonough, Chair Associate Professor Lori Kendall Assistant Professor Peter Darch Professor Howard Besser, New York University ABSTRACT This dissertation focuses on standards for digital video - the social aspects of their design and the sociotechnical forces that drive their development and adoption. This work is a history and analysis of how the MXF, JPEG 2000, FFV1 and Matroska standards have been adopted and/or adapted by libraries and archives of different sizes. Well-funded institutions often have the resources to develop tailor-made specifications for the digitization of their analog video objects. Digital video standards and specifications of this kind are often derived from the needs of the cinema production and television broadcast realms in the United States and may be unsuitable for smaller memory institutions that are resource-poor and/or lack staff with the knowledge to implement these technologies. This research seeks to provide insight into how moving image preservation professionals work with - and sometimes against - broadcast and film production industries in order to produce and/or implement standards governing video formats and encodings. This dissertation describes the transition of four digital video standards from niches to widespread use in libraries and archives. It also examines the effects these standards produce on cultural heritage video preservation by interviewing people who implement the standards as well as people who develop them.
    [Show full text]
  • Video Codec Set-Up
    Quintic Software Tutorial 5 Video Codecs Contents Page 1. Video Codecs 2. Vista Codec Pack Install Instructions 3. Xvid Video Codec Installation 4. XP Backwards Compatibility Video Utility (Only for Vista Users) 1. Video Codecs A video codec is a device or software that enables video compression and/or decompression for digital video. There is a complex balance between the video quality, the quantity of the data needed to represent it (also known as the bit rate), the complexity of the encoding and decoding algorithms, robustness to data losses and errors, ease of editing, random access, the state of the art of compression algorithm design, end-to-end delay, and a number of other factors. Quintic currently recommend using the following codecs for use with all levels of Quintic software: - Vista Video Codec Package - Xvid MPEG 4 Video Codec Package - XP Backwards compatibility Video utility (Only use if trying to play XP captured videos on a Vista/7/8 operating system) All of these codecs / video utilities can be downloaded from: http://www.quintic.com/downloads/system_tools.htm Installing the recommended codecs provides your system with specific instructions on how to compress and decompress videos. Once you've installed the codecs on your system you will be able to play the videos within the Quintic Video Analysis software player. 2. Vista Codec Pack Install Instructions The Vista codec Package is a collection of codec’s (audio and video), that make it possible to open the majority of the formats existing multimedia’s (Xvid, Windows video media 9, FFDShow, ogg and ac-3 acm).
    [Show full text]
  • (A/V Codecs) REDCODE RAW (.R3D) ARRIRAW
    What is a Codec? Codec is a portmanteau of either "Compressor-Decompressor" or "Coder-Decoder," which describes a device or program capable of performing transformations on a data stream or signal. Codecs encode a stream or signal for transmission, storage or encryption and decode it for viewing or editing. Codecs are often used in videoconferencing and streaming media solutions. A video codec converts analog video signals from a video camera into digital signals for transmission. It then converts the digital signals back to analog for display. An audio codec converts analog audio signals from a microphone into digital signals for transmission. It then converts the digital signals back to analog for playing. The raw encoded form of audio and video data is often called essence, to distinguish it from the metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the robustness of the stream. Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much. Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be encapsulated together in a container format.
    [Show full text]
  • Zoom Player Documentation
    Table of Contents Part I Introduction 1 1 Feature................................................................................................................................... Chart 5 2 Features................................................................................................................................... in detail 10 3 Options................................................................................................................................... & Settings 19 Advanced Options.......................................................................................................................................................... 20 Interface ......................................................................................................................................................... 21 Control Bar ......................................................................................................................................... 22 Buttons ................................................................................................................................... 23 Timeline Area ................................................................................................................................... 23 Display ................................................................................................................................... 24 Keyboard ........................................................................................................................................
    [Show full text]
  • Download Video Player for Pc 10 Best and Free Video Players for Windows 10 PC in 2021
    download video player for pc 10 Best And Free Video Players For Windows 10 PC in 2021. We all love to watch TV shows, Movies on our computers. Since computers are more preferred nowadays, more and more streaming sites are popping out of the web. However, not everyone out there loves to stream videos because video streaming can be expensive. We first need to have a proper internet connection and a subscription to the streaming service to watch videos. In this case, downloading videos seems to be the best option as we have to spend the internet data once rather than streaming it again and again. But, what after downloading the video? Is it enough to get the best media experience? Well, no! To get the best video experience, we need to use the best media player. The media player is the only thing that decides our media consumption experience. So, having a good media player app is the most vital thing for media consumption. In this article, we will share the list of the best free video players for Windows. List of 10 Best And Free Video Players For Windows 10. These video players are free to download, and you can use them to get the most amazing video watching experience. So, let’s explore the ten best free video players for Windows. 1. Media Player Classic. If you are searching for a powerful video player tool for Windows 10 operating system, you need to give Media Player Classic a try. Guess what? The tool provides users with lots of customization options.
    [Show full text]
  • Movavi Screen Capture 7
    Movavi Screen Capture 7 Don't know where to start? Read these tutorials: Recording screen Capturing online video Capturing video from players Capture any fragment of your Record video from online video Record any video in your player. screen or the full desktop. websites such as YouTube or Vimeo. Capturing Skype calls Recording only audio Need more help? Record Skype calls with sound from both ends. Record any sound from a device Write to us at [email protected] or music on your computer. Or click here to open live chat. Table of Contents Removing trial restrictions ....................................................................................................................................................................................3 Getting an activation key ................................................................................................................................................................................4 Activating Screen Capture ..............................................................................................................................................................................5 Activating without Internet access ..................................................................................................................................................................6 Tutorials .................................................................................................................................................................................................................8
    [Show full text]