pyrana
Tutorial: write a simple media player with pyrana
Overview
Opening the File
Reading the Data
A note on packets
Pygame and Video
Creating and using an Overlay
Drawing the Image
The exception hierarchy of pyrana
Types and flags
More flags and enumerations for audio
The fundamental unit in encoded media streams
How to deal with media formats
Decoding and encoding audio streams
Decoding and encoding video streams
pyrana
Docs
»
Edit on Bitbucket
Index
A
|
B
|
C
|
D
|
E
|
F
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
W
A
add_stream() (pyrana.formats.Muxer method)
asr (pyrana.video.Frame attribute)
AVFmtFlags (class in pyrana.formats)
AVRounding (class in pyrana.audio)
B
BaseDecoder (class in pyrana.codec)
BaseEncoder (class in pyrana.codec)
BaseFrame (class in pyrana.codec)
bind_frame() (in module pyrana.codec)
bind_packet() (in module pyrana.packet)
blob() (pyrana.audio.Samples method)
(pyrana.codec.Payload method)
(pyrana.packet.Packet method)
(pyrana.video.Image method)
bps (pyrana.audio.Samples attribute)
C
cdata (pyrana.audio.Frame attribute)
(pyrana.codec.BaseFrame attribute)
(pyrana.video.Frame attribute)
channel() (pyrana.audio.Samples method)
ChannelLayout (class in pyrana.ffaclayout)
channels (pyrana.audio.Samples attribute)
close() (pyrana.formats.Demuxer method)
CodecFlag (class in pyrana.codec)
CodecFlag2 (class in pyrana.codec)
CodecMixin (class in pyrana.codec)
coded_pict_number (pyrana.video.Frame attribute)
convert() (pyrana.audio.Samples method)
(pyrana.video.Image method)
D
data (pyrana.packet.Packet attribute)
decode() (pyrana.audio.Decoder method)
(pyrana.codec.BaseDecoder method)
(pyrana.video.Decoder method)
decode_packet() (pyrana.audio.Decoder method)
(pyrana.codec.BaseDecoder method)
(pyrana.video.Decoder method)
Decoder (class in pyrana.audio)
(class in pyrana.video)
Demuxer (class in pyrana.formats)
display_pict_number (pyrana.video.Frame attribute)
dts (pyrana.packet.Packet attribute)
E
encode() (pyrana.audio.Encoder method)
(pyrana.codec.BaseEncoder method)
(pyrana.video.Encoder method)
Encoder (class in pyrana.audio)
(class in pyrana.video)
EOSError
extra_data (pyrana.audio.Decoder attribute)
(pyrana.audio.Encoder attribute)
(pyrana.codec.CodecMixin attribute)
(pyrana.video.Decoder attribute)
(pyrana.video.Encoder attribute)
F
fill_s16() (in module pyrana.audio)
fill_yuv420p() (in module pyrana.video)
find_encoder() (in module pyrana.codec)
find_stream() (in module pyrana.formats)
flush() (pyrana.audio.Decoder method)
(pyrana.audio.Encoder method)
(pyrana.codec.BaseDecoder method)
(pyrana.codec.BaseEncoder method)
(pyrana.video.Decoder method)
(pyrana.video.Encoder method)
FormatFlags (class in pyrana.formats)
Frame (class in pyrana.audio)
(class in pyrana.video)
from_cdata() (pyrana.audio.Decoder class method)
(pyrana.audio.Encoder class method)
(pyrana.audio.Frame class method)
(pyrana.audio.Samples class method)
(pyrana.codec.BaseDecoder class method)
(pyrana.codec.BaseEncoder class method)
(pyrana.codec.BaseFrame class method)
(pyrana.packet.Packet class method)
(pyrana.video.Decoder class method)
(pyrana.video.Encoder class method)
(pyrana.video.Frame class method)
(pyrana.video.Image class method)
H
height (pyrana.video.Image attribute)
I
Image (class in pyrana.video)
image() (pyrana.video.Frame method)
is_interlaced (pyrana.video.Frame attribute)
is_key (pyrana.audio.Frame attribute)
(pyrana.codec.BaseFrame attribute)
(pyrana.packet.Packet attribute)
(pyrana.video.Frame attribute)
is_shared (pyrana.audio.Samples attribute)
(pyrana.video.Image attribute)
L
LibraryVersionError
M
make_codec() (in module pyrana.codec)
make_fetcher() (in module pyrana.codec)
make_payload() (in module pyrana.codec)
media_type (pyrana.audio.Decoder attribute)
(pyrana.audio.Encoder attribute)
(pyrana.codec.CodecMixin attribute)
(pyrana.video.Decoder attribute)
(pyrana.video.Encoder attribute)
Muxer (class in pyrana.formats)
N
NeedFeedError
next() (pyrana.formats.Demuxer method)
NotFoundError
num_samples (pyrana.audio.Samples attribute)
O
open() (pyrana.audio.Decoder method)
(pyrana.audio.Encoder method)
(pyrana.codec.BaseDecoder method)
(pyrana.codec.CodecMixin method)
(pyrana.formats.Demuxer method)
(pyrana.video.Decoder method)
(pyrana.video.Encoder method)
open_decoder() (pyrana.formats.Demuxer method)
open_encoder() (pyrana.formats.Muxer method)
P
Packet (class in pyrana.packet)
PacketFlags (class in pyrana.packet)
params (pyrana.audio.Decoder attribute)
(pyrana.audio.Encoder attribute)
(pyrana.codec.CodecMixin attribute)
(pyrana.video.Decoder attribute)
(pyrana.video.Encoder attribute)
Payload (class in pyrana.codec)
pict_type (pyrana.video.Frame attribute)
PictureType (class in pyrana.ffenums)
pixel_format (pyrana.video.Image attribute)
PixelFormat (class in pyrana.ffenums)
plane() (pyrana.video.Image method)
planes (pyrana.video.Image attribute)
ProcessingError
pts (pyrana.audio.Frame attribute)
(pyrana.codec.BaseFrame attribute)
(pyrana.packet.Packet attribute)
(pyrana.video.Frame attribute)
pyrana.audio (module)
pyrana.codec (module)
pyrana.errors (module)
pyrana.ffaclayout (module)
pyrana.ffenums (module)
pyrana.formats (module)
pyrana.packet (module)
pyrana.video (module)
PyranaError
R
raw_packet() (in module pyrana.packet)
raw_pkt() (pyrana.packet.Packet method)
read_frame() (pyrana.formats.Demuxer method)
ready (pyrana.audio.Decoder attribute)
(pyrana.audio.Encoder attribute)
(pyrana.codec.CodecMixin attribute)
(pyrana.video.Decoder attribute)
(pyrana.video.Encoder attribute)
S
sample_format (pyrana.audio.Samples attribute)
sample_rate (pyrana.audio.Samples attribute)
SampleFormat (class in pyrana.ffenums)
Samples (class in pyrana.audio)
samples() (pyrana.audio.Frame method)
seek_frame() (pyrana.formats.Demuxer method)
seek_ts() (pyrana.formats.Demuxer method)
SeekFlags (class in pyrana.formats)
setup() (pyrana.audio.Decoder method)
(pyrana.codec.CodecMixin method)
(pyrana.video.Decoder method)
(pyrana.video.Encoder method)
SetupError
size (pyrana.packet.Packet attribute)
stream() (pyrana.formats.Demuxer method)
stream_id (pyrana.packet.Packet attribute)
streams (pyrana.formats.Demuxer attribute)
SWSMode (class in pyrana.video)
T
top_field_first (pyrana.video.Frame attribute)
U
UnsupportedError
W
width (pyrana.video.Image attribute)
wire() (pyrana.audio.Decoder static method)
(pyrana.audio.Encoder static method)
(pyrana.video.Decoder static method)
(pyrana.video.Encoder static method)
wire_decoder() (in module pyrana.codec)
wire_encoder() (in module pyrana.codec)
write_frame() (pyrana.formats.Muxer method)
write_header() (pyrana.formats.Muxer method)
write_trailer() (pyrana.formats.Muxer method)
WrongParameterError
Read the Docs
v: latest
Versions
latest
stable
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.