
Python Multimedia : Learn How to Develop Multimedia Applications using Python with this Practical Step-by-step Guide.
Title:
Python Multimedia : Learn How to Develop Multimedia Applications using Python with this Practical Step-by-step Guide.
Author:
Sathaye, Ninad.
ISBN:
9781849510172
Personal Author:
Physical Description:
1 online resource (328 pages)
Contents:
Python Multimedia Beginner's Guide -- Python Multimedia Beginner's Guide -- Credits -- About the Author -- About the Reviewers -- Preface -- What this book covers -- Who this book is for -- Conventions -- Time for action - heading -- What just happened? -- Pop quiz - heading -- Have a go hero - heading -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Python and Multimedia -- Multimedia -- Multimedia processing -- Image processing -- Audio and video processing -- Compression -- Mixing -- Editing -- Animations -- Built-in multimedia support -- winsound -- audioop -- wave -- External multimedia libraries and frameworks -- Python Imaging Library -- PyMedia -- GStreamer -- Pyglet -- PyGame -- Sprite -- Display -- Surface -- Draw -- Event -- Image -- Music -- Time for action - a simple application using PyGame -- What just happened? -- QT Phonon -- Other multimedia libraries -- Snack Sound Toolkit -- PyAudiere -- Summary -- 2. Working with Images -- Installation prerequisites -- Python -- Windows platform -- Other platforms -- Python Imaging Library (PIL) -- Windows platform -- Other platforms -- PyQt4 -- Windows platform -- Other platforms -- Summary of installation prerequisites -- Reading and writing images -- Time for action - image file converter -- What just happened? -- Creating an image from scratch -- Time for action - creating a new image containing some text -- What just happened? -- Reading images from archive -- Time for action - reading images from archives -- What just happened? -- Have a go hero - add new features to the image file converter -- Basic image manipulations -- Resizing -- Time for action - resizing -- What just happened? -- Rotating -- Time for action - rotating -- What just happened? -- Flipping -- Time for action - flipping -- What just happened? -- Capturing screenshots.
Time for action - capture screenshots at intervals -- What just happened? -- Cropping -- Time for action - cropping an image -- What just happened? -- Pasting -- Time for action - pasting: mirror the smiley face! -- What just happened? -- Project: Thumbnail Maker -- Time for action - play with Thumbnail Maker application -- What just happened? -- Generating the UI code -- Time for action - generating the UI code -- What just happened? -- Have a go hero - tweak UI of Thumbnail Maker dialog -- Connecting the widgets -- Time for action - connecting the widgets -- What just happened? -- Developing the image processing code -- Time for action - developing image processing code -- What just happened? -- Have a go hero - enhance the ThumbnailMaker application -- Summary -- 3. Enhancing Images -- Installation and download prerequisites -- Adjusting brightness and contrast -- Time for action - adjusting brightness and contrast -- What just happened? -- Tweaking colors -- Time for action - swap colors within an image! -- What just happened? -- Changing individual image band -- Time for action - change the color of a flower -- What just happened? -- Gray scale images -- Cook up negatives -- Blending -- Time for action - blending two images -- What just happened? -- Creating transparent images -- Time for action - create transparency -- What just happened? -- Making composites with image mask -- Time for action - making composites with image mask -- What just happened? -- Project: Watermark Maker Tool -- Time for action - Watermark Maker Tool -- What just happened? -- Have a go hero - do more with Watermark Maker Tool -- Applying image filters -- Smoothing -- Time for action - smoothing an image -- What just happened? -- Sharpening -- Blurring -- Edge detection and enhancements -- Time for action - detecting and enhancing edges -- What just happened?.
Embossing -- Time for action - embossing -- What just happened? -- Adding a border -- Time for action - enclosing a picture in a photoframe -- What just happened? -- Summary -- 4. Fun with Animations -- Installation prerequisites -- Pyglet -- Windows platform -- Other platforms -- Summary of installation prerequisites -- Testing the installation -- A primer on Pyglet -- Important components -- Window -- Image -- Sprite -- Animation -- AnimationFrame -- Clock -- Displaying an image -- Mouse and keyboard controls -- Adding sound effects -- Animations with Pyglet -- Viewing an existing animation -- Time for action - viewing an existing animation -- What just happened? -- Animation using a sequence of images -- Time for action - animation using a sequence of images -- What just happened? -- Single image animation -- Time for action - bouncing ball animation -- What just happened? -- Project: a simple bowling animation -- Time for action - a simple bowling animation -- What just happened? -- Animations using different image regions -- Time for action - raindrops animation -- What just happened? -- Project: drive on a rainy day! -- Time for action - drive on a rainy day! -- What just happened? -- Have a go hero - add more effects -- Summary -- 5. Working with Audios -- Installation prerequisites -- GStreamer -- Windows platform -- Other platforms -- PyGobject -- Windows platform -- Other platforms -- Summary of installation prerequisites -- Testing the installation -- A primer on GStreamer -- gst-inspect and gst-launch -- Elements and pipeline -- Plugins -- Bins -- Pads -- Dynamic pads -- Ghost pads -- Caps -- Bus -- Playbin/Playbin2 -- Playing music -- Time for action - playing an audio: method 1 -- What just happened? -- Have a go hero - play audios from a playlist -- Building a pipeline from elements -- Time for action - playing an audio: method 2.
What just happened? -- Pop Quiz - element linking -- Playing an audio from a website -- Have a go hero - use 'playbin' to play local audios -- Converting audio file format -- Time for action - audio file format converter -- What just happened? -- Have a go hero - do more with audio converter -- Extracting part of an audio -- The Gnonlin plugin -- Time for action - MP3 cutter! -- What just happened? -- Have a go hero - extend MP3 cutter -- Recording -- Time for action - recording -- What just happened? -- Summary -- 6. Audio Controls and Effects -- Controlling playback -- Play -- Pause/resume -- Time for action - pause and resume a playing audio stream -- What just happened? -- Stop -- Fast-forward/rewind -- Project: extract audio using playback controls -- Time for action - MP3 cutter from basic principles -- What just happened? -- Adjusting volume -- Time for action - adjusting volume -- What just happened? -- Audio effects -- Fading effects -- Time for action - fading effects -- What just happened? -- Have a go hero - add fade-in effect -- Echo echo echo... -- Time for action - adding echo effect -- What just happened? -- Have a go hero - add Reverberation Effect -- Panning/panorama -- Have a go hero - control panorama effect and more... -- Project: combining audio clips -- Media 'timeline' explained -- Time for action - creating custom audio by combining clips -- What just happened? -- Have a go hero - change various properties of 'gnlfilesource' -- Audio mixing -- Time for action - mixing audio tracks -- What just happened? -- Visualizing an audio track -- Time for action - audio visualizer -- What just happened? -- Have a go hero - use other visualization plugins -- Summary -- 7. Working with Videos -- Installation prerequisites -- Playing a video -- Time for action - video player! -- What just happened? -- Have a go hero - add playback controls.
Playing video using 'playbin' -- Video format conversion -- Time for action - video format converter -- What just happened? -- Have a go hero - batch-convert the video files -- Video manipulations and effects -- Resizing -- Time for action - resize a video -- What just happened? -- Cropping -- Time for action - crop a video -- What just happened? -- Have a go hero - add borders to a video -- Adjusting brightness and contrast -- Creating a gray scale video -- Adding text and time on a video stream -- Time for action - overlay text on a video track -- What just happened? -- Have a go hero - add subtitles to a video track! -- Separating audio and video tracks -- Time for action - audio and video tracks -- What just happened? -- Mixing audio and video tracks -- Time for action - audio/video track mixer -- What just happened? -- Saving video frames as images -- Time for action - saving video frames as images -- What just happened? -- Summary -- 8. GUI-based Media Players Using QT Phonon -- Installation prerequisites -- PyQt4 -- Summary of installation prerequisites -- Introduction to QT Phonon -- Main components -- Media graph -- Media object -- Sink -- Path -- Effects -- Backends -- Modules -- MediaNode -- MediaSource -- MediaObject -- Path -- AudioOutput -- Effect -- VideoPlayer -- SeekSlider -- volumeSlider -- Project: GUI-based music player -- GUI elements in the music player -- Generating the UI code -- Time for action - generating the UI code -- What just happened? -- Connecting the widgets -- Time for action - connecting the widgets -- What just happened? -- Developing the audio player code -- Time for action - developing the audio player code -- What just happened? -- Have a go hero - add more features to the audio player -- Project: GUI-based video player -- Generating the UI code -- Time for action - generating the UI code -- What just happened?.
Connecting the widgets.
Abstract:
A practical guide, this book provides step-by-step instructions for developing multimedia applications, showcasing real world examples throughout. This book is for Python developers who want to dip their toes into working with images, animations, audio and video processing using Python.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Genre:
Electronic Access:
Click to View