Hi Luca. > > I will check it out - just clarify one thing: in order to keep the > > frame similar as possible to the source, I need to re-stream them with > > the same period as in the frames coming from SDK? > > > What do you mean by "re-stream them with the same period"? Surely, you > have to fill AVPacket with the timestamps values coming from the SDK > (be careful with PTS/DTS differences...). And then you can try to > send out the frames as soon as the SDK provides them. >
Quick 2 questions: 1) How do I convert timestamp (consisting of seconds and miliseconds) into the PTS - what is the correct FFMPEG function for this? 2) If I have no B frames, then I can ignore the DTS? Thanks. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
