Re: [FFmpeg-devel] Purely synthetic PTS and DTS...

2018-02-13 Thread Tomas Härdin
sön 2018-02-11 klockan 17:44 -0500 skrev Tony Di Croce: > I have video frames in a buffer in memory... and I know their frame > rate > (and other information like resolution, etc)... I am attempting to > mux this > video into an mp4... But I don't know how to set PTS/DTS > appropriately. I > have t

[FFmpeg-devel] Purely synthetic PTS and DTS...

2018-02-11 Thread Tony Di Croce
I have video frames in a buffer in memory... and I know their frame rate (and other information like resolution, etc)... I am attempting to mux this video into an mp4... But I don't know how to set PTS/DTS appropriately. I have two questions: 1) What should I set AVStream->time_base to? 2) How do