On Mon, Jul 8, 2013 at 1:20 PM, Leonid Mokruschin wrote:
> Hi Vahid:
>
>
>
> perhaps you need to take into account pStream->codec.time_base and
> pStream->codec.ticks_per_frame. I believe that pStream->time_base matches to
> frame rate for interleaved video streams, whereas pStream->codec.time_bas
ser] Getting frame duration when decoding
Hi All,
I am decoding some MPEG-2 and H264 streams from file and have a problem
getting the correct duration of a frame. Some files are MPEG2 transport
streams while other are wrapped in mp4 or MOV container.
I use the following section of code
Hi All,
I am decoding some MPEG-2 and H264 streams from file and have a problem
getting the correct duration of a frame. Some files are MPEG2 transport
streams while other are wrapped in mp4 or MOV container.
I use the following section of code
pFrame is the input AVFrame after decoding