leandromoreira / leandromoreira/ffmpeg-libav-tutorial
Swap from DTS order to PTS order
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Thanks for your clear and deep explanations, I finnaly understood a lot of dark items in ffmeg !!
Still I have a silly question from the hello world example:
- you read sequentially from the stream de each AVPacket ()
- each AV Packet contains one AVFrame that you obtain using the codec
- but in the output, you have packets and frames sorted by increasing pts, not as they are arranged in the stream.
The question is (actually I have two questions):
- Who is sorting the packets/frames ?
- To render a frame, we need another frames rendered, where are they stored? (if they are, if they are not, seems very innefficient).
Thanks again for sharing your knowledge. Regards,
Willy
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue refers to the tutorial's hello-world example and asks about AVPacket/AVFrame ordering, PTS/DTS, and frame storage. Start by reading that example and the relevant FFmpeg/libav decoding flow. Done would mean documenting which component handles ordering and where frames needed for rendering are kept.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100