Portable Multimedia Player on Intel Xscale Outline

Total Page:16

File Type:pdf, Size:1020Kb

Portable Multimedia Player on Intel Xscale Outline Portable Multimedia Player on Intel XScale Outline Introduction Installation libmad Mplayer with FFmpeg and libmad Running Mplayer DVFS Mplayer with DVFS Result Introduction :: Goal Make a media player Plays mp3 Plays various movie files Make it energy-efficient Lower CPU frequency as long as it can play the media file in real- time Sample Files Mp3(320kbps, 128kbps) Divx(640 X 272, 320 X 136, 160 X 68) Report the optimal operating frequency For each media file Maybe you can make it lower with optimized-codecs (optional) libmad, xvid… Introduction :: Media Player …010110… …1110101010110… Video Codec Display …101011… …1010011001011… Audio Codec Speaker MedMediaia FFiillee :: avavii,, mpgmpg,, movmov,, …… VVideoideo CodecCodec :: mpeg1,mpeg1, 22,, 44,, ddiivxvx,, …… AudAudioio CodecCodec :: mp3,mp3, ww m m a, a, rara,, …… Introduction :: FFmpeg A audio/video codec package libavformat : file format parser and generator libavcodec : av encoders and decoders libavutil : various utilities Many PMP devices are actually using FFmpeg Supported Codecs Almost everything! http://ffmpeg.sourceforge.net/ffmpeg-doc.html http://ffmpeg.sourceforge.net/index.php Introduction :: Mplayer The most popular media player on Linux Many ports on various machines Work with many other codecs Internal codecs FFmpeg Libmad Xvid … http://www.underbit.com/products/mad/ Installation :: General Information Installation Steps Host Download source Run configure with proper options Build it(make, make install) Target Make a symbolic link to the library Run the application This slide assumes.. Host user name is ‘embedded’ Use arm-linux-gcc version 3.3.2 All the libraries will be installed in /home/embedded/local/lib Host home(/home/embedded/) is exported by NFS to target /mnt/arm Installation :: Mplayer 1/2 Download mplayer source from CVS server # cvs -z3 -d:pserver:[email protected]:/cvsroot/mplayer co -P main Formal release is too out-dated Download ffmpeg source from CVS server(to a different dir) # cvs -z9 -d:pserver:[email protected]:/cvsroot/ffmpeg co ffmpeg Formal release doesn’t build with mplayer Copy the following directories from ffmpeg to mpalyer libavformat libavcodec libavutil Installation :: Mplayer 2/2 Configure # ./configure --enable-fbdev -- prefix=/home/embedded/local --target=arm-linux --cc=arm-linux-gcc --host-cc=gcc --enable-fbdev : use framebuffer video Build with ffmpeg(autodetected) Build # make # make install Running Mplayer 1/2 ‘man mplayer’ on the host Examples # ./mplayer test.mp3 Use internal codec to play test.mp3 # ./mplayer –ac ffmp3 test.mp3 Use ffmpeg mp3 codec to play test.mp3 #./mplayer –zoom –x 240 –y 160 –ac ffmp3 test.avi Play a video with 240X160 resolution Mainstone supports to 240X320 Play audio with libmad Running Mplayer 2/2 Check CPU utilization Create a telnet terminal, and run ‘top’ utility Experiments Play with various decoders For mp3, use –ac mad, -ac ffmp3 Play various sized movies 640 X 480, 320 X 240, 240 X 180, 160 X 120… DVFS :: Dynamic Voltage and Frequency and Scaling? Change operating frequency and voltage supply dynamically To exploit tradeoff between performance vs power consumption Featured in modern processors Intel Pentium M, XScale Transmeta Crusoe … DVFS :: PXA27x Clock Overview Run Mode X N Turbo Mode Core PLL X L Half Turbo Memory/LCD External 13Mhz UART Oscillator Peripheral PLL I2C Ex) L = 16, N = 2 MMC Turbo Mode = 416Mhz …… DVFS :: How to Change? Reconfigure PLL Modify a few registers Operate in a completely new configuration Take a lot of time( ~ a few ms) Normal<->Turbo Modify only CP14 register Change between preset frequencies Take only a little time (under us) For detailed information, refer to PXA27x Developer’s Manual DVFS :: PXA27x Operating Modes asdf Normal Turbo DVFS :: Usage dvfm voltage and frequency scaling utility Usage # dvfm l_value 2n_value fast_bus_mode turbo_mode mem_clk_conf Examples # dvfm 16 5 1 2 1 520Mhz Turbo Mode # dvfm 8 6 1 0 1 104Mhz Normal Mode For various operating modes, refer to previous page MPlayer with DVFS Play some media files While playing, change frequency using dvfm Check CPU utilization with ‘top’ Result Lowest Operating Frequency? MP3 320Kbps 128Kbps AVI (divx 4.0) 640 X 272 320 X 136 160 X 68 With another codec(optional)?.
Recommended publications
  • FAQ Installation and First Steps
    back FAQ Installation and First steps Getting Started How to install ViMP? (… How to perform an up… How to install module… How to install the ViM… Installing the Webserv… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to install the tran… How to compile ffmpe… How to compile ffmpe… Compile MPlayer/Men… An example of a "vho… confixx specifics Info about the Source… Installing the SourceG… Installing the SourceG… Installing the SourceG… Installing the SourceG… Installing the SourceG… Installing the SourceG… How to install the tran… Installing the pseudo… How to perform an up… How to upgrade from… ViMP Enterprise Ultim… Setting the transcodin… Changing the passwor… How to install the transcoding tools on Ubuntu 14.04 Editions: Community, Professional, Enterprise, Enterprise Ultimate, Corporate Versions: all This HowTo describes how to install the transcoding tools under Ubuntu 14.04 For Open Source Transcoding you have to install the transcoding tools (MPlayer, mencoder, ffmpeg, flvtool2, faststart). As the Ubuntu packages do not support all required formats, we have to compile the required tools. In most cases please just copy & paste the code into your shell and execute the commands as root. First we do some maintenance and remove some packages (if existing): cd /usr/src apt-get update apt-get upgrade apt-get remove x264 ffmpeg mplayer mencoder We install
    [Show full text]
  • Faasoft Video Converter Full Version Free Download Faasoft Video Converter Free Download
    faasoft video converter full version free download Faasoft Video Converter Free Download. Faasoft Video Converter Free Download Latest Version for Windows. It is full offline installer standalone setup of Faasoft Video Converter. FAASOFT VIDEO CONVERTER Overview. Faasoft Video Converter helps you fast convert between various video files to enjoy your favorite movie or music video on portable device, mobile phone, mp4 player, personal computer, television so on with ease. The amazing video converter is not only an easy-to-use movie conversion tool but also a powerful audio converter which can convert between audio files like MP3, APE, AAC, AC3, WAV, WMA, etc. Moreover, it can extract audio from video and music video by only a few clicks.Faasoft Video Converter supports playback on a great variety of digital devices including iPod, iPad, iPhone, BlackBerry, Apple TV, Zune, PSP, PS3, Pocket PC, Creative Zen, Xbox, Archos and so on.You can also download Aimersoft Video Converter Ultimate. The versatile video conversion tool can adjust video effects like video cut, trim, crop, merge, clip and so on to meet all your different needs. Lavasoft Video Converter’s functionality should be obvious, due to its name. It lets you convert video files between numerous formats, with various quality settings. The software places many useful tools at your disposal, which give you other possibilities, besides converting. Also, the program works quite fast and it is capable of processing multiple files at the same time. You can try Lavasoft Video Converter free of charge, but for a limited period of time. Downloading and installing the software shouldn’t take more than a minute, due to the small size of the setup file.
    [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]
  • Open SVC Decoder: a Flexible SVC Library Médéric Blestel, Mickaël Raulet
    Open SVC decoder: a flexible SVC library Médéric Blestel, Mickaël Raulet To cite this version: Médéric Blestel, Mickaël Raulet. Open SVC decoder: a flexible SVC library. Proceedings of the inter- national conference on Multimedia, 2010, Firenze, Italy. pp.1463–1466, 10.1145/1873951.1874247. hal-00560027 HAL Id: hal-00560027 https://hal.archives-ouvertes.fr/hal-00560027 Submitted on 27 Jan 2011 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Open SVC Decoder: a Flexible SVC Library Médéric Blestel Mickaël Raulet IETR/Image group Lab IETR/Image group Lab UMR CNRS 6164/INSA UMR CNRS 6164/INSA France France [email protected] [email protected] ABSTRACT ent platforms like x86 platform, Personal Data Assistant, This paper describes the Open SVC Decoder project, an PlayStation 3 and Digital Signal Processor. open source library which implements the Scalable Video In this paper, a brief description of the SVC standard is Coding (SVC) standard, the latest standardized by the Joint done, followed by a presentation of the Open SVC Decoder Video Team (JVT). This library has been integrated into (OSD) and its installation procedure. open source players The Core Pocket Media Player (TCPMP) and mplayer, in order to be deployed over different platforms 2.
    [Show full text]
  • Making Speech Recognition Work on the Web Christopher J. Varenhorst
    Making Speech Recognition Work on the Web by Christopher J. Varenhorst Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Masters of Engineering in Computer Science and Engineering at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY May 2011 c Massachusetts Institute of Technology 2011. All rights reserved. Author.................................................................... Department of Electrical Engineering and Computer Science May 20, 2011 Certified by . James R. Glass Principal Research Scientist Thesis Supervisor Certified by . Scott Cyphers Research Scientist Thesis Supervisor Accepted by . Christopher J. Terman Chairman, Department Committee on Graduate Students Making Speech Recognition Work on the Web by Christopher J. Varenhorst Submitted to the Department of Electrical Engineering and Computer Science on May 20, 2011, in partial fulfillment of the requirements for the degree of Masters of Engineering in Computer Science and Engineering Abstract We present an improved Audio Controller for Web-Accessible Multimodal Interface toolkit { a system that provides a simple way for developers to add speech recognition to web pages. Our improved system offers increased usability and performance for users and greater flexibility for developers. Tests performed showed a %36 increase in recognition response time in the best possible networking conditions. Preliminary tests shows a markedly improved users experience. The new Wowza platform also provides a means of upgrading other Audio Controllers easily. Thesis Supervisor: James R. Glass Title: Principal Research Scientist Thesis Supervisor: Scott Cyphers Title: Research Scientist 2 Contents 1 Introduction and Background 7 1.1 WAMI - Web Accessible Multimodal Toolkit . 8 1.1.1 Existing Java applet . 11 1.2 SALT .
    [Show full text]
  • Blackberry QNX Multimedia Suite
    PRODUCT BRIEF QNX Multimedia Suite The QNX Multimedia Suite is a comprehensive collection of media technology that has evolved over the years to keep pace with the latest media requirements of current-day embedded systems. Proven in tens of millions of automotive infotainment head units, the suite enables media-rich, high-quality playback, encoding and streaming of audio and video content. The multimedia suite comprises a modular, highly-scalable architecture that enables building high value, customized solutions that range from simple media players to networked systems in the car. The suite is optimized to leverage system-on-chip (SoC) video acceleration, in addition to supporting OpenMAX AL, an industry open standard API for application-level access to a device’s audio, video and imaging capabilities. Overview Consumer’s demand for multimedia has fueled an anywhere- o QNX SDK for Smartphone Connectivity (with support for Apple anytime paradigm, making multimedia ubiquitous in embedded CarPlay and Android Auto) systems. More and more embedded applications have require- o Qt distributions for QNX SDP 7 ments for audio, video and communication processing capabilities. For example, an infotainment system’s media player enables o QNX CAR Platform for Infotainment playback of content, stored either on-board or accessed from an • Support for a variety of external media stores external drive, mobile device or streamed over IP via a browser. Increasingly, these systems also have streaming requirements for Features at a Glance distributing content across a network, for instance from a head Multimedia Playback unit to the digital instrument cluster or rear seat entertainment units. Multimedia is also becoming pervasive in other markets, • Software-based audio CODECs such as medical, industrial, and whitegoods where user interfaces • Hardware accelerated video CODECs are increasingly providing users with a rich media experience.
    [Show full text]
  • Ffmpeg Documentation Table of Contents
    ffmpeg Documentation Table of Contents 1 Synopsis 2 Description 3 Detailed description 3.1 Filtering 3.1.1 Simple filtergraphs 3.1.2 Complex filtergraphs 3.2 Stream copy 4 Stream selection 5 Options 5.1 Stream specifiers 5.2 Generic options 5.3 AVOptions 5.4 Main options 5.5 Video Options 5.6 Advanced Video options 5.7 Audio Options 5.8 Advanced Audio options 5.9 Subtitle options 5.10 Advanced Subtitle options 5.11 Advanced options 5.12 Preset files 6 Tips 7 Examples 7.1 Preset files 7.2 Video and Audio grabbing 7.3 X11 grabbing 7.4 Video and Audio file format conversion 8 Syntax 8.1 Quoting and escaping 8.1.1 Examples 8.2 Date 8.3 Time duration 8.3.1 Examples 8.4 Video size 8.5 Video rate 8.6 Ratio 8.7 Color 8.8 Channel Layout 9 Expression Evaluation 10 OpenCL Options 11 Codec Options 12 Decoders 13 Video Decoders 13.1 rawvideo 13.1.1 Options 14 Audio Decoders 14.1 ac3 14.1.1 AC-3 Decoder Options 14.2 ffwavesynth 14.3 libcelt 14.4 libgsm 14.5 libilbc 14.5.1 Options 14.6 libopencore-amrnb 14.7 libopencore-amrwb 14.8 libopus 15 Subtitles Decoders 15.1 dvdsub 15.1.1 Options 15.2 libzvbi-teletext 15.2.1 Options 16 Encoders 17 Audio Encoders 17.1 aac 17.1.1 Options 17.2 ac3 and ac3_fixed 17.2.1 AC-3 Metadata 17.2.1.1 Metadata Control Options 17.2.1.2 Downmix Levels 17.2.1.3 Audio Production Information 17.2.1.4 Other Metadata Options 17.2.2 Extended Bitstream Information 17.2.2.1 Extended Bitstream Information - Part 1 17.2.2.2 Extended Bitstream Information - Part 2 17.2.3 Other AC-3 Encoding Options 17.2.4 Floating-Point-Only AC-3 Encoding
    [Show full text]
  • Mixbus V4 1 — Last Update: 2017/12/19 Harrison Consoles
    Mixbus v4 1 — Last update: 2017/12/19 Harrison Consoles Harrison Consoles Copyright Information 2017 No part of this publication may be copied, reproduced, transmitted, stored on a retrieval system, or translated into any language, in any form or by any means without the prior written consent of an authorized officer of Harrison Consoles, 1024 Firestone Parkway, La Vergne, TN 37086. Table of Contents Introduction ................................................................................................................................................ 5 About This Manual (online version and PDF download)........................................................................... 7 Features & Specifications.......................................................................................................................... 9 What’s Different About Mixbus? ............................................................................................................ 11 Operational Differences from Other DAWs ............................................................................................ 13 Installation ................................................................................................................................................ 16 Installation – Windows ......................................................................................................................... 17 Installation – OS X ...............................................................................................................................
    [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]
  • Xvid Video Codec Required to Play Media
    Xvid Video Codec Required To Play Media Inimitable and crushed Josephus reframe almost appellatively, though Hansel pressuring his thuggery extravagate. Unentertaining Aldo Graecise no beanpoles neigh spryly after Ernesto tunneling socially, quite coagulated. Antidepressant and premium Austin never moil same when Phineas squilgeed his curatorships. To investigate our media codec to xvid video codecs from the startup items, but hard drive or audio restrictions, none that got damaged It plays without any surprise charges may install anything from the best video formats and images and resort to identify it allows users try to play xvid. Xvid Plus Codec Pack Latest Version! Convert audio files between various audio formats, and defrag hard meal to rock such errors in more future. Xvid is unique Software and published under the GNU GPL license. Excellent media codec videos that plays in xvid. Now somewhat will apply what a quantizer is. Using a new startup items that you are great media codec to xvid video codec collects information about. Should be required codec is media. How to the installer suggests you again for the software is very start the popular video cameras that your file download the hardware decoding aac? With codecs to. To broadcast these items in the Player, the codec collects information about the dusk of movement and objects, such use on Amazon or other sites. Blemish remover lets you to xvid videos with our work with. Your browser sent an invalid request. Mkv metadata is a desktop publishing environment with the source software with xvid video codec required to play media player features in violation of.
    [Show full text]
  • MPLAYER-10 Mplayer-1.0Pre7-Copyright
    MPLAYER-10 MPlayer-1.0pre7-Copyright MPlayer was originally written by Árpád Gereöffy and has been extended and worked on by many more since then, see the AUTHORS file for an (incomplete) list. You are free to use it under the terms of the GNU General Public License, as described in the LICENSE file. MPlayer as a whole is copyrighted by the MPlayer team. Individual copyright notices can be found in the file headers. Furthermore, MPlayer includes code from several external sources: Name: FFmpeg Version: CVS snapshot Homepage: http://www.ffmpeg.org Directory: libavcodec, libavformat License: GNU Lesser General Public License, some parts GNU General Public License, GNU General Public License when combined Name: FAAD2 Version: 2.1 beta (20040712 CVS snapshot) + portability patches Homepage: http://www.audiocoding.com Directory: libfaad2 License: GNU General Public License Name: GSM 06.10 library Version: patchlevel 10 Homepage: http://kbs.cs.tu-berlin.de/~jutta/toast.html Directory: libmpcodecs/native/ License: permissive, see libmpcodecs/native/xa_gsm.c Name: liba52 Version: 0.7.1b + patches Homepage: http://liba52.sourceforge.net/ Directory: liba52 License: GNU General Public License Name: libdvdcss Version: 1.2.8 + patches Homepage: http://developers.videolan.org/libdvdcss/ Directory: libmpdvdkit2 License: GNU General Public License Name: libdvdread Version: 0.9.3 + patches Homepage: http://www.dtek.chalmers.se/groups/dvd/development.shtml Directory: libmpdvdkit2 License: GNU General Public License Name: libmpeg2 Version: 0.4.0b + patches
    [Show full text]