Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
What does this mean??HLP!!! (PTS)?
ok me and my friends were doing this thing on email where we have to answer this list of questions about each other. for the question "what song reminds you of me?" one of my guy friends said Starlight by Muse... what do u think he means by it??
The best answer gets 10pts and all answers get 1 pt (i'll give every1 thumbs ups)
1 Answer
- martha cappyLv 71 decade agoFavorite Answer
Got your answer in a Blog:
"What should now be the PTS which we give to the decoder? Our 90kHz PTS
> > which we got from the RTP parser or do we have to convert it to a packet
> > count (as we do when encoding)?
>
> You have to:
> 1) initialize the decoder, and libavcodec will properly set the
> time_base field
> 2) then, to obtain the "codec timestamps" (for the decoder) you can
> get the "format timestamps" (from RTP) and rescale them to convert from
> AVFormatContext.streams[...].time_base to AVCodecContext.time_base.
>
>
> > Unless we are absolutely sure that none of ffmpeg's codecs leaves PTS's
> > untouched or creates PTS's themselves, there needs to be some
> recommendation
> > on what a PTS value must stand for when interfacing with libavcodec. It
> > seems to me that you cannot mix the 2 possible representations.
>
> I hope the description above clarifies this point. I do not know of any
> recommendation (I just read the documentation in avcodec.h and avformat.h),
> but in my programs I use the strategy described above and it works
Enter this site:
http://lists.mplayerhq.hu/pipermail/libav-user/200...
Good Luck!
LIGHT BRIGHT FOREVER!