Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
e5c31727
Commit
e5c31727
authored
11 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix docstrings for sphinx
parent
ae527173
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xbob/io/videoreader.cpp
+9
-9
9 additions, 9 deletions
xbob/io/videoreader.cpp
xbob/io/videowriter.cpp
+1
-1
1 addition, 1 deletion
xbob/io/videowriter.cpp
with
10 additions
and
10 deletions
xbob/io/videoreader.cpp
+
9
−
9
View file @
e5c31727
...
...
@@ -40,15 +40,15 @@ implementation uses `FFmpeg <http://ffmpeg.org>`_ (or\n\
`libav <http://libav.org>`_ if FFmpeg is not available) which is
\n
\
a stable freely available video encoding and decoding library,
\n
\
designed specifically for these tasks. You can read an entire
\n
\
video in memory by using the
'load()' method or use iterators
\n
\
to read it frame by frame and avoid
overloading your machine
\'
s
\n
\
memory. The maximum precision data
`FFmpeg`_ will yield is a 24-bit
\n
\
(8-bit per band) representation of each pixel (32-bit depths are
\n
\
also supported by `FFmpeg`_, but not by this extension presently).
\n
\
So, the output of data is done
with ``uint8`` as data type.
\n
\
Output will be colored using the RGB
standard, with each band
\n
\
varying between 0 and 255, with zero
meaning pure black and 255,
\n
\
pure white (color).
\n
\
video in memory by using the
:py:meth:`xbob.io.VideoReader.load`
\n
\
method or use iterators
to read it frame by frame and avoid
\n
\
overloading your machine
\'
s
memory. The maximum precision data
\n
\
`FFmpeg`_ will yield is a 24-bit (8-bit per band) representation
\n
\
of each pixel (32-bit depths are also supported by `FFmpeg`_, but
\n
\
not by this extension presently).
So, the output of data is done
\n
\
with ``uint8`` as data type.
Output will be colored using the RGB
\n
\
standard, with each band
varying between 0 and 255, with zero
\n
\
meaning pure black and 255,
pure white (color).
\n
\
\n
\
"
);
...
...
This diff is collapsed.
Click to expand it.
xbob/io/videowriter.cpp
+
1
−
1
View file @
e5c31727
...
...
@@ -42,7 +42,7 @@ bitrate\n\
\n
\
gop
\n
\
[int, optional] Group-of-Pictures (emit one intra frame
\n
\
every `gop
'
frames at most).
\n
\
every
`
`gop
``
frames at most).
\n
\
\n
\
codec
\n
\
[str, optional] If you must, specify a valid FFmpeg codec
\n
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment