ffplay RTP: dropping old packet received too late
I have a machine which streams live audio to a multicast address: ffmpeg -f alsa -i hw:0 -acodec libmp3lame -ab 128k -f rtp rtp:// 239.123.13.101:56789. I catch that stream with ffplay: ffplay rtp:// 239.123.13.101:56789.It works fine until I stop ffmpeg and start it again. If I restart ffmpeg (when ffplay still running), I get the error message from ffplay: RTP: dropping old packet recieved too late. Is there a solution to "re-receice" the newly started stream, without restarting ffplay? Thanks, Peter
Did you try to use -f rtp_mpegts ? -----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-bounces@ffmpeg.org] On Behalf Of Gáll Péter Sent: 28 September 2018 09:49 To: ffmpeg-user@ffmpeg.org Subject: [FFmpeg-user] ffplay RTP: dropping old packet received too late I have a machine which streams live audio to a multicast address: ffmpeg -f alsa -i hw:0 -acodec libmp3lame -ab 128k -f rtp rtp:// 239.123.13.101:56789. I catch that stream with ffplay: ffplay rtp:// 239.123.13.101:56789.It works fine until I stop ffmpeg and start it again. If I restart ffmpeg (when ffplay still running), I get the error message from ffplay: RTP: dropping old packet recieved too late. Is there a solution to "re-receice" the newly started stream, without restarting ffplay? Thanks, Peter _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Yes I tried it. It was a bit better, so it not every time gave me the error, but most of the time yes, the same error. The other problem with -f rtp_mpegts, that the first time I run ffmpeg, ffplay waits ~5secs and just then playy the stream. Alex Molon <alex.molon@vision247.com> ezt írta (időpont: 2018. okt. 1., H, 17:06):
Did you try to use -f rtp_mpegts ?
-----Original Message----- From: ffmpeg-user [mailto:ffmpeg-user-bounces@ffmpeg.org] On Behalf Of Gáll Péter Sent: 28 September 2018 09:49 To: ffmpeg-user@ffmpeg.org Subject: [FFmpeg-user] ffplay RTP: dropping old packet received too late
I have a machine which streams live audio to a multicast address: ffmpeg -f alsa -i hw:0 -acodec libmp3lame -ab 128k -f rtp rtp:// 239.123.13.101:56789. I catch that stream with ffplay: ffplay rtp:// 239.123.13.101:56789.It works fine until I stop ffmpeg and start it again. If I restart ffmpeg (when ffplay still running), I get the error message from ffplay: RTP: dropping old packet recieved too late. Is there a solution to "re-receice" the newly started stream, without restarting ffplay?
Thanks, Peter _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
participants (2)
-
Alex Molon -
Gáll Péter