封面
书名页
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
Reader feedback
Customer support
Chapter 1. Python and Multimedia
Multimedia
Multimedia processing
Built-in multimedia support
External multimedia libraries and frameworks
Time for action – a simple application using PyGame
Summary
Chapter 2. Working with Images
Installation prerequisites
Reading and writing images
Time for action – image file converter
Time for action – creating a new image containing some text
Time for action – reading images from archives
Basic image manipulations
Time for action – resizing
Time for action – rotating
Time for action – flipping
Time for action – capture screenshots at intervals
Time for action – cropping an image
Time for action – pasting: mirror the smiley face!
Project: Thumbnail Maker
Time for action – play with Thumbnail Maker application
Time for action – generating the UI code
Time for action – connecting the widgets
Time for action – developing image processing code
Summary
Chapter 3. Enhancing Images
Installation and download prerequisites
Adjusting brightness and contrast
Time for action – adjusting brightness and contrast
Tweaking colors
Time for action – swap colors within an image!
Time for action – change the color of a flower
Blending
Time for action – blending two images
Creating transparent images
Time for action – create transparency
Making composites with image mask
Time for action – making composites with image mask
Project: Watermark Maker Tool
Time for action – Watermark Maker Tool
Applying image filters
Time for action – smoothing an image
Time for action – detecting and enhancing edges
Time for action – embossing
Adding a border
Time for action – enclosing a picture in a photoframe
Summary
Chapter 4. Fun with Animations
Installation prerequisites
A primer on Pyglet
Animations with Pyglet
Time for action – viewing an existing animation
Time for action – animation using a sequence of images
Time for action – bouncing ball animation
Time for action – a simple bowling animation
Time for action – raindrops animation
Project: drive on a rainy day!
Time for action – drive on a rainy day!
Summary
Chapter 5. Working with Audios
Installation prerequisites
A primer on GStreamer
Playing music
Time for action – playing an audio: method 1
Time for action – playing an audio: method 2
Converting audio file format
Time for action – audio file format converter
Extracting part of an audio
Time for action – MP3 cutter!
Recording
Time for action – recording
Summary
Chapter 6. Audio Controls and Effects
Controlling playback
Time for action – pause and resume a playing audio stream
Time for action – MP3 cutter from basic principles
Adjusting volume
Time for action – adjusting volume
Audio effects
Time for action – fading effects
Time for action – adding echo effect
Project: combining audio clips
Time for action – creating custom audio by combining clips
Audio mixing
Time for action – mixing audio tracks
Visualizing an audio track
Time for action – audio visualizer
Summary
Chapter 7. Working with Videos
Installation prerequisites
Playing a video
Time for action – video player!
Video format conversion
Time for action – video format converter
Video manipulations and effects
Time for action – resize a video
Time for action – crop a video
Adding text and time on a video stream
Time for action – overlay text on a video track
Separating audio and video tracks
Time for action – audio and video tracks
Mixing audio and video tracks
Time for action – audio/video track mixer
Saving video frames as images
Time for action – saving video frames as images
Summary
Chapter 8. GUI-based Media Players Using QT Phonon
Installation prerequisites
Introduction to QT Phonon
Project: GUI-based music player
Time for action – generating the UI code
Time for action – connecting the widgets
Time for action – developing the audio player code
Project: GUI-based video player
Time for action – generating the UI code
Time for action – developing the video player code
Summary
更新时间:2021-08-03 15:28:04