microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
FFMPEG RTMP sync issue
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Hi, I am trying to record the Audio and Video stream for audit purpose
I am using ffmpeg command line to serve my requirement
The video format is H264 and audio format is PCM 44.1
command I am using is
-thread_queue_size 512 -y -i \.\pipe\videopipe -f u16le -ar 44100 -ac 2 -i \.\pipe\audiopipe -c:v libx264 -c:a aac -preset ultrafast -f flv -flvflags no_duration_filesize rtmp://
I am directly writing the audio and video bytes to the named pipes as I get them.
I am able to push the streams to azure media service but the audio video is out of sync.
Can the timestamps help to solve the sync issue ?
Can you please help me correct the command line params to fix the sync issue ?
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 by reviewing the posted FFmpeg command, especially the named-pipe audio and video inputs and the timestamp question. No repository files or tests are identified; done would mean determining whether the input timestamps or command parameters can keep the streams synchronized when sent to the Azure Media Service RTMP endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- 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