leandromoreira / leandromoreira/ffmpeg-libav-tutorial
Fix no PTS and delay for realtime streaming
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I need streaming sources to rtmp server and I ned to fix the output PTS and add delay to prevent to send all the data in an instant that its not accepted for the streaming server.
I Used this guide https://titanwolf.org/Network/Articles/Article?AID=3550447c-3b06-4998-a6bf-66b4e57e09b6 and work fine with the simplest FFmpeg-based push streamer code supplied.
How I apply this fixes in 3_transcoding.c example?
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
Start with the 3_transcoding.c example and compare its realtime RTMP path with the linked FFmpeg-based push streamer guide. Reproduce the no-PTS behavior and the burst of data sent at once, then verify that the output has valid PTS values and is paced with a delay accepted by the streaming server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100