leandromoreira / leandromoreira/ffmpeg-libav-tutorial
decode MPEG2-TS buffer from socket
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Thanks for the tutorial.
I would like to decode frame buffer encoded in MPEG2-TS. (H.264/AAC data)
This buffer is received from socket. And I would like to get an transform it as an RGB buffer.
How to achieve this with avformat ?
void FrameDecoder::onFrameReceived(const QByteArray &frame) {
qDebug() << "Ready to decode the frame " << frame;
}
Thanks for help.
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 provides only FrameDecoder::onFrameReceived and asks how to use avformat with a socket-received MPEG2-TS buffer. Start by reviewing the avformat-related tutorial material and the callback context; done would mean a documented or demonstrated path from the received H.264/AAC data to an RGB buffer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100