Hi,
On Mon, May 19, 2025 at 8:17 PM Jonathan Baudanza wrote:
>
> Does anyone have feedback on this?
>
> Here are some steps to reproduce the current issue:
>
> # Start broadcasting
> ffmpeg -re -i input.opus -c:a copy -f rtp -sdp_file stream.sdp
> rtp://127.0.0.1:9000
>
> # Start recording (in
Does anyone have feedback on this?
Here are some steps to reproduce the current issue:
# Start broadcasting
ffmpeg -re -i input.opus -c:a copy -f rtp -sdp_file stream.sdp
rtp://127.0.0.1:9000
# Start recording (in another terminal)
ffmpeg -protocol_whitelist file,udp,rtp -i stream.sdp -y -c:a
This commit will properly set the duration field of Opus AVPackets.
Currently, duration is set to 0 on Opus packets from the RTP demuxer.
The Ogg muxer depends on the duration field to properly compute the page granule
value. Without a proper duration, the granule will be wrong, and result in
nega
> -Original Message-
> From: ffmpeg-devel On Behalf Of Jonathan
> Baudanza
> Sent: Montag, 12. Mai 2025 04:19
> To: ffmpeg-devel@ffmpeg.org
> Cc: Jonathan Baudanza
> Subject: [FFmpeg-devel] [PATCH] libavformat/rtpdec_opus Set duration field on
> Opus AVPacket
&
This commit will properly set the duration field of Opus AVPackets.
Currently, duration is set to 0 on Opus packets from the RTP demuxer.
The Ogg muxer depends on the duration field to properly compute the page granule
value. Without a proper duration, the granule will be wrong, and result in
nega