ffmpeg -re -thread_queue_size 4 -stream_loop -1 -i ./small.mp4 -an -s 852x480 -c:v libx264 -profile:v baseline -b:v 1M -r 24 -g 60 -bf 0 -sdp_file saved_sdp_file -f rtp rtp://127.0.0.1:4998
ffmpeg -protocol_whitelist "file,rtp,udp" -i saved_sdp_file -strict -2 -an -frames:v 1000 -y ./saved_video_file.mp4
produces a valid looking file
What shall i look into more to fix this? This is becoming a pressing business issue.
Thanks!
Alexander
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQJAjErnho16NO7jGJLuvV8%3DSP5WtncxOqjX5mssj357BA%40mail.gmail.com.
I'm guessing that -b:v 1M is the one producing the b=AS:1000 bandwith limit, but still it should be more than enough.Do you know what are the rest of the options doing/ mainly -r 24 -g 60 -bf 0 ?Maybe it is best to see on Admin api what is going on on receiving PC of Janus and also in browser PC, if there is any packet loss
On Fri, Jun 28, 2019 at 8:27 AM Alexander Novikov <alexander...@gmail.com> wrote:
If there is an expectation that switch to TCP streaming will help
(ultra low latency is not a critical requirement in this application),
can you please explain how to switch to it? Just filtering out UDP ICE
candidates doesn't seem to help, and disabling UDP relay on a TURN
server just stops transmission.
On Fri, Jun 28, 2019 at 9:21 AM Alexander Novikov
<alexander...@gmail.com> wrote:
>
> Hello!
>
> I have a problem roughly explain in this SO post:
>
> https://stackoverflow.com/questions/56788387/h264-webrtc-video-streamed-from-ffmpeg-through-janus-is-very-choppy-on-playback
>
> in addition, i checked that sending file locally through RTP, works:
>
> ffmpeg -re -thread_queue_size 4 -stream_loop -1 -i ./small.mp4 -an -s 852x480 -c:v libx264 -profile:v baseline -b:v 1M -r 24 -g 60 -bf 0 -sdp_file saved_sdp_file -f rtp rtp://127.0.0.1:4998
>
>
> ffmpeg -protocol_whitelist "file,rtp,udp" -i saved_sdp_file -strict -2 -an -frames:v 1000 -y ./saved_video_file.mp4
>
>
> produces a valid looking file
>
>
> What shall i look into more to fix this? This is becoming a pressing business issue.
>
>
> Thanks!
>
>
> Alexander
>
> --
> You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/36bdce96-4833-4dad-afc6-cc2a0a11a954%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQJAjErnho16NO7jGJLuvV8%3DSP5WtncxOqjX5mssj357BA%40mail.gmail.com.
--Regards,Mirko
I'm guessing that -b:v 1M is the one producing the b=AS:1000 bandwith limit, but still it should be more than enough.
Do you know what are the rest of the options doing/ mainly -r 24 -g 60 -bf 0 ?
Maybe it is best to see on Admin api what is going on on receiving PC of Janus and also in browser PC, if there is any packet loss
On Fri, Jun 28, 2019 at 8:27 AM Alexander Novikov <alexande...@gmail.com> wrote:
If there is an expectation that switch to TCP streaming will help
(ultra low latency is not a critical requirement in this application),
can you please explain how to switch to it? Just filtering out UDP ICE
candidates doesn't seem to help, and disabling UDP relay on a TURN
server just stops transmission.
On Fri, Jun 28, 2019 at 9:21 AM Alexander Novikov
<alexande...@gmail.com> wrote:
>
> Hello!
>
> I have a problem roughly explain in this SO post:
>
> https://stackoverflow.com/questions/56788387/h264-webrtc-video-streamed-from-ffmpeg-through-janus-is-very-choppy-on-playback
>
> in addition, i checked that sending file locally through RTP, works:
>
> ffmpeg -re -thread_queue_size 4 -stream_loop -1 -i ./small.mp4 -an -s 852x480 -c:v libx264 -profile:v baseline -b:v 1M -r 24 -g 60 -bf 0 -sdp_file saved_sdp_file -f rtp rtp://127.0.0.1:4998
>
>
> ffmpeg -protocol_whitelist "file,rtp,udp" -i saved_sdp_file -strict -2 -an -frames:v 1000 -y ./saved_video_file.mp4
>
>
> produces a valid looking file
>
>
> What shall i look into more to fix this? This is becoming a pressing business issue.
>
>
> Thanks!
>
>
> Alexander
>
> --
> You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/36bdce96-4833-4dad-afc6-cc2a0a11a954%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQJAjErnho16NO7jGJLuvV8%3DSP5WtncxOqjX5mssj357BA%40mail.gmail.com.
--Regards,Mirko
As Mirko said, it's very likely packet loss on the WebRTC side, introducing either missing packets on the RTP forwarder side (unrecovered loss) or packets out of order (recovered packet). As such, it makes little sense comparing it to a local ffmpeg generating a consistent RTP stream. Not sure if ffmpeg has some sort of jitter buffer to cope with that.
Lorenzo
Il giorno venerdì 28 giugno 2019 09:12:50 UTC+2, Mirko Brankovic ha scritto:
I'm guessing that -b:v 1M is the one producing the b=AS:1000 bandwith limit, but still it should be more than enough.Do you know what are the rest of the options doing/ mainly -r 24 -g 60 -bf 0 ?Maybe it is best to see on Admin api what is going on on receiving PC of Janus and also in browser PC, if there is any packet loss
On Fri, Jun 28, 2019 at 8:27 AM Alexander Novikov <alexande...@gmail.com> wrote:
If there is an expectation that switch to TCP streaming will help
(ultra low latency is not a critical requirement in this application),
can you please explain how to switch to it? Just filtering out UDP ICE
candidates doesn't seem to help, and disabling UDP relay on a TURN
server just stops transmission.
On Fri, Jun 28, 2019 at 9:21 AM Alexander Novikov
<alexande...@gmail.com> wrote:
>
> Hello!
>
> I have a problem roughly explain in this SO post:
>
> https://stackoverflow.com/questions/56788387/h264-webrtc-video-streamed-from-ffmpeg-through-janus-is-very-choppy-on-playback
>
> in addition, i checked that sending file locally through RTP, works:
>
> ffmpeg -re -thread_queue_size 4 -stream_loop -1 -i ./small.mp4 -an -s 852x480 -c:v libx264 -profile:v baseline -b:v 1M -r 24 -g 60 -bf 0 -sdp_file saved_sdp_file -f rtp rtp://127.0.0.1:4998
>
>
> ffmpeg -protocol_whitelist "file,rtp,udp" -i saved_sdp_file -strict -2 -an -frames:v 1000 -y ./saved_video_file.mp4
>
>
> produces a valid looking file
>
>
> What shall i look into more to fix this? This is becoming a pressing business issue.
>
>
> Thanks!
>
>
> Alexander
>
> --
> You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/36bdce96-4833-4dad-afc6-cc2a0a11a954%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQJAjErnho16NO7jGJLuvV8%3DSP5WtncxOqjX5mssj357BA%40mail.gmail.com.
--Regards,Mirko
Can i switch Janus to use TCP for WebRTC between itself and the client browser? How?
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQLQQ8cDQuuN8dR-PgU%2B0cmkSJxVA-T2autb%2Bw6LEqDvKg%40mail.gmail.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/0248fb5c-adf7-4d18-b382-7757afae2c2b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/CAH92vQKSQTSqYJpWiD9RNEddpzJXdOacU9Jj-z_unoGBZdj8OA%40mail.gmail.com.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
>> > To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/24be0606-3acc-4bb1-b79c-c57867089950%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.