On Wed, Jul 6, 2016 at 11:48 AM Paweł Goliński <[email protected]> wrote:
> Hi!
>
> I’m currently reading through code of avformat producer as I want to borrow
> some ideas from there for my libvlc producer. One thing I couldn’t find in
> the
> code is - how things work in case producer’s profile fps value is different
> than the media file’s fps? From what I’ve seeing, this isn’t something
> that is being dealt with in FFmpeg, right?
>
(At no point I can’t see passing fps value from profile to FFmpeg).
>
>
Correct. This is handled in the avformat producer by repeating or sklpping
frames. Repeating occurs where there is the comment "Duplicate the last
image if necessary."
> This probably has something to do with „int_position” and „req_position”
> variables
> floating around the code, right? Can I get more „descriptive” names of
> those variables
> to know what’s going on there? What do „int” and „req” mean?
>
int_position is the computed frame number of the stream's pts and frame
rate.
req_position is the frame number the consumer requested.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel