AVbin Online Docs

27 views
Skip to first unread message

Nathan

unread,
Dec 14, 2011, 1:09:04 AM12/14/11
to pyglet...@googlegroups.com
AVbin now has online documentation. Running Doxygen turned out to be
straightforward.

Now I just need to learn how to format comments so that Doxygen will
pick them up and put them in the documentation. And then add more
comments.

http://avbin.github.com/docs/

~ Nathan

anatoly techtonik

unread,
Dec 14, 2011, 4:12:56 AM12/14/11
to pyglet...@googlegroups.com
Cool! Now it is clear what it does and how it works. A couple of questions, as usual:

Examine the resulting _AVbinPacket structure for the stream_index, which indicates how the packet should be decoded. If the stream is not one that you have opened, you can discard the packet and continue with step 1 again.

Does stream_index really meant to decide how the packet should be decoded? Maybe you've meant that "file may contain multiple parallel streams, so you need to examine stream_index value in resulting _AVbinPacket structure to discard irrelevant packets". And then, "depending on the type of stream" - BTW, is there a straightforward way to determine the type of stream? - and then "depending on the type of stream, call either decode_audio() or decode_video() function.

anatoly techtonik

unread,
Dec 14, 2011, 4:35:01 AM12/14/11
to pyglet...@googlegroups.com
It would be nice if AVbin logo was linked to the main site.

Peter Enerccio

unread,
Dec 14, 2011, 4:42:27 AM12/14/11
to pyglet...@googlegroups.com
You can determine the type of the stream with AVbinStreamInfo.

2011/12/14 anatoly techtonik <tech...@gmail.com>
It would be nice if AVbin logo was linked to the main site.

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/3eaNIN8QVX4J.

To post to this group, send email to pyglet...@googlegroups.com.
To unsubscribe from this group, send email to pyglet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.

anatoly techtonik

unread,
Dec 14, 2011, 5:00:46 AM12/14/11
to pyglet...@googlegroups.com
Now I see - compare AVbinStreamInfo.type to AVBIN_STREAM_TYPE_VIDEO / AVBIN_STREAM_TYPE_AUDIO or AVBIN_STREAM_TYPE_UNKNOWN. But documentation can be improved nevertheless:

Examine details of each stream using avbin_stream_info(), passing in each stream index as an integer from 0 to n_streams. For video streams, the _AVbinStreamInfo structure includes

"Resulting _AVbinStreamInfo structure includes type of the stream along with more detailed info, which for video stream includes:"

Nathan

unread,
Dec 14, 2011, 11:26:37 AM12/14/11
to pyglet...@googlegroups.com
On Wed, Dec 14, 2011 at 2:35 AM, anatoly techtonik <tech...@gmail.com> wrote:
> It would be nice if AVbin logo was linked to the main site.

It would be nice. Does anyone know how to make Doxygen do that?

~ Nathan

anatoly techtonik

unread,
Dec 14, 2011, 3:17:05 PM12/14/11
to pyglet...@googlegroups.com
Add HTML_HEADER to Doxyfile?

BTW, how the logo is inserted? I can't see it in AVbin repository.

Nathan

unread,
Dec 14, 2011, 3:25:51 PM12/14/11
to pyglet...@googlegroups.com
On Wed, Dec 14, 2011 at 1:17 PM, anatoly techtonik <tech...@gmail.com> wrote:
> BTW, how the logo is inserted? I can't see it in AVbin repository.

It's in the web site repository.

~ Nathan

Reply all
Reply to author
Forward
0 new messages