Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.video
Commits
444335f6
Commit
444335f6
authored
May 16, 2014
by
André Anjos
💬
Browse files
Final touches; Documentation now working properly
parent
5bafa15f
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/video.rst
View file @
444335f6
...
...
@@ -40,13 +40,13 @@ Codec and Format Availability
-----------------------------
To get a list of all FFmpeg_ (or libav_) supported formats for a given build of
|project|, use the ``bob_video_test.py`` application:
|project|, use the ``
x
bob_video_test.py`` application:
.. code-block:: sh
$ bob_video_test.py --list-all-codecs # lists all codecs available
$
x
bob_video_test.py --list-all-codecs # lists all codecs available
$ bob_video_test.py --list-all-formats # lists all formats available
$
x
bob_video_test.py --list-all-formats # lists all formats available
These listings represent all that is compiled with your current installation of
FFmpeg_ or libav_. To list supported formats and codecs by |project| use
...
...
@@ -54,16 +54,16 @@ another set of command-line options:
.. code-block:: sh
$ bob_video_test.py --list-codecs # lists all codecs currently supported
$
x
bob_video_test.py --list-codecs # lists all codecs currently supported
$ bob_video_test.py --list-formats # lists all formats currently supported
$
x
bob_video_test.py --list-formats # lists all formats currently supported
The program ``bob_video_test.py`` can be used to run a sequence of tests using
The program ``
x
bob_video_test.py`` can be used to run a sequence of tests using
all combinations of *supported* formats and tests:
.. code-block:: sh
$ bob_video_test.py # runs all tests
$
x
bob_video_test.py # runs all tests
This will run through all combinations of supported codecs and formats and will
report average distortion figures for each of 4 different tests, which exercise
...
...
@@ -72,7 +72,7 @@ output:
.. code-block:: text
Video Encoding/Decoding Test Tool v1.2.0a0 (bob_video_test)
Video Encoding/Decoding Test Tool v1.2.0a0 (
x
bob_video_test)
Settings:
Width : 128 pixels
Height : 128 pixels
...
...
@@ -120,7 +120,7 @@ change this behavior with the option ``--user-frames``. Here is an example:
.. code-block:: sh
$ bob_video_test.py --user-video=test_sample.avi
$
x
bob_video_test.py --user-video=test_sample.avi
All tests are executed by default, on all combination of formats and codecs.
That can be long. You can limit the test execution by properly choosing the
...
...
xbob/io/video/main.cpp
View file @
444335f6
...
...
@@ -681,8 +681,10 @@ static PyObject* create_module (void) {
Py_INCREF
(
&
PyBobIoVideoReader_Type
);
if
(
PyModule_AddObject
(
m
,
"reader"
,
(
PyObject
*
)
&
PyBobIoVideoReader_Type
)
<
0
)
return
0
;
/** not required for iterators
Py_INCREF(&PyBobIoVideoReaderIterator_Type);
if
(
PyModule_AddObject
(
m
,
"reader.iter"
,
(
PyObject
*
)
&
PyBobIoVideoReaderIterator_Type
)
<
0
)
return
0
;
if (PyModule_AddObject(m, "__reader_iter__", (PyObject *)&PyBobIoVideoReaderIterator_Type) < 0) return 0;
**/
Py_INCREF
(
&
PyBobIoVideoWriter_Type
);
if
(
PyModule_AddObject
(
m
,
"writer"
,
(
PyObject
*
)
&
PyBobIoVideoWriter_Type
)
<
0
)
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment