Data model between decoders ?

This forum is about all development around libVLC.
coderXY
New Cone
New Cone
Posts: 4
Joined: 24 Aug 2016 22:12

Data model between decoders ?

Postby coderXY » 24 Aug 2016 22:49

Hi again,

My custom (video) renderer uses a pull model meaning the renderer asks for a sample (= a buffer containing a frame) to its downstream node which either outputs next sample to renderer or asks its downstream node. The "request" is passed from node to node until it reaches source node which then feeds the upstream node, etc. The data is travelling up the chain up to the renderer.

In a push model, the source node feeds upstream node until it can't accept data any more.

I've read some chunks of vlc source code and I think vlc uses the latest but I'm not sure.
Either way, I need to control the data flow manually in order to provide frame-by-frame feature (back and forth with caching).

I'll continue reading code but if you have any input, it would be nice.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Data model between decoders ?

Postby Jean-Baptiste Kempf » 23 Sep 2016 14:53

video outputs are real time. To not use real time, use streaming out.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 21 guests