Discussion:
[FFmpeg-user] Streaming overseas
Louis Letourneau
2018-11-03 13:59:06 UTC
Permalink
I was wondering if anyone had experience streaming 720p ~5000kbit/s
video overseas successfully? If so which protocol did you use?

I'm trying to stream between Stockholm sweden to toronto canada.
Using mpegts over tcp, I sometimes get so many retries that the
bandwith falls below 5MBit/s for many seconds.

The source and destination buffers are 16MBytes

I wanted to try pro-mpeg, but ffmpeg only has it as a send protocol
not receive (or I missed something)

I can't use HLS/MPEG-Dash which would be my first choice for reasons
at the source I can't get into.

My 2 choices I think
1- Spawn an amazon or whatever cloud instance as close as possible and
grab the stream THEN convert to HLS and send it overseas

2- Use another protocol I don't know....

Thanks for the input
Louis
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscrib
Abhisek Techie
2018-11-03 14:51:07 UTC
Permalink
Try rtmp
Post by Louis Letourneau
I was wondering if anyone had experience streaming 720p ~5000kbit/s
video overseas successfully? If so which protocol did you use?
I'm trying to stream between Stockholm sweden to toronto canada.
Using mpegts over tcp, I sometimes get so many retries that the
bandwith falls below 5MBit/s for many seconds.
The source and destination buffers are 16MBytes
I wanted to try pro-mpeg, but ffmpeg only has it as a send protocol
not receive (or I missed something)
I can't use HLS/MPEG-Dash which would be my first choice for reasons
at the source I can't get into.
My 2 choices I think
1- Spawn an amazon or whatever cloud instance as close as possible and
grab the stream THEN convert to HLS and send it overseas
2- Use another protocol I don't know....
Thanks for the input
Louis
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ
Louis Letourneau
2018-11-03 15:47:56 UTC
Permalink
Post by Abhisek Techie
Try rtmp
Please don't top post, thanks

I just tried same issue as mpegts over tcp. doesn't handle packet
loss/retries well, tcp buffer exhausts itself sometimes.

Louis
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with sub
Nikhil Yadav
2018-11-03 15:57:11 UTC
Permalink
You can do it by 2 ways
1. Push it as RTMP and client can then convert RTMP to HLS

2. However if you still see packet loss then dump stream to ts packets on
S3 or any SSD storage and serve it through CDN HLS
Post by Louis Letourneau
I was wondering if anyone had experience streaming 720p ~5000kbit/s
video overseas successfully? If so which protocol did you use?
I'm trying to stream between Stockholm sweden to toronto canada.
Using mpegts over tcp, I sometimes get so many retries that the
bandwith falls below 5MBit/s for many seconds.
The source and destination buffers are 16MBytes
I wanted to try pro-mpeg, but ffmpeg only has it as a send protocol
not receive (or I missed something)
I can't use HLS/MPEG-Dash which would be my first choice for reasons
at the source I can't get into.
My 2 choices I think
1- Spawn an amazon or whatever cloud instance as close as possible and
grab the stream THEN convert to HLS and send it overseas
2- Use another protocol I don't know....
Thanks for the input
Louis
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subj
Louis Letourneau
2018-11-03 16:02:58 UTC
Permalink
Post by Nikhil Yadav
You can do it by 2 ways
1. Push it as RTMP and client can then convert RTMP to HLS
2. However if you still see packet loss then dump stream to ts packets on
S3 or any SSD storage and serve it through CDN HLS
Please don't top post thanks.

Yeah I don't see any other way than to find a closer location to the source.

I was also curious if someone has used a pro-mpeg receiver if it
worked well over long distances (heavy packet loss)

Thank you
Louis
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with
Nikhil Yadav
2018-11-03 16:05:36 UTC
Permalink
Pro-mpeg or any protocol will not serve you for cross continent serving due
to so many hops or routing.

Cheapest will be to serve HLS through CDN.
Post by Louis Letourneau
Post by Nikhil Yadav
You can do it by 2 ways
1. Push it as RTMP and client can then convert RTMP to HLS
2. However if you still see packet loss then dump stream to ts packets on
S3 or any SSD storage and serve it through CDN HLS
Please don't top post thanks.
Yeah I don't see any other way than to find a closer location to the source.
I was also curious if someone has used a pro-mpeg receiver if it
worked well over long distances (heavy packet loss)
Thank you
Louis
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with
Mettavihari D
2018-11-04 01:09:05 UTC
Permalink
Post by Nikhil Yadav
Pro-mpeg or any protocol will not serve you for cross continent serving due
to so many hops or routing.
Cheapest will be to serve HLS through CDN.
I would imagine that udp would be the best.
A dropped frame here and there would not be noticed.

Mettavihari
Post by Nikhil Yadav
Post by Louis Letourneau
Post by Nikhil Yadav
You can do it by 2 ways
1. Push it as RTMP and client can then convert RTMP to HLS
2. However if you still see packet loss then dump stream to ts packets
on
Post by Louis Letourneau
Post by Nikhil Yadav
S3 or any SSD storage and serve it through CDN HLS
Please don't top post thanks.
Yeah I don't see any other way than to find a closer location to the source.
I was also curious if someone has used a pro-mpeg receiver if it
worked well over long distances (heavy packet loss)
Thank you
Louis
_______________________________________________
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffm
Karim SLIMANI
2018-11-04 12:44:54 UTC
Permalink
Post by Louis Letourneau
I was wondering if anyone had experience streaming 720p ~5000kbit/s
video overseas successfully? If so which protocol did you use?
I'm trying to stream between Stockholm sweden to toronto canada.
Using mpegts over tcp, I sometimes get so many retries that the
bandwith falls below 5MBit/s for many seconds.
The source and destination buffers are 16MBytes
I wanted to try pro-mpeg, but ffmpeg only has it as a send protocol
not receive (or I missed something)
I can't use HLS/MPEG-Dash which would be my first choice for reasons
at the source I can't get into.
My 2 choices I think
1- Spawn an amazon or whatever cloud instance as close as possible and
grab the stream THEN convert to HLS and send it overseas
2- Use another protocol I don't know....
Thanks for the input
Louis
_______________________________________________
ffmpeg-user mailing list
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
Hello Louis,

Have you take a look at SRT protocol ?

Source code : https://github.com/Haivision/srt

Latest FFmpeg handle this protocol (if i am not wrong).

Regards,
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-reques
Louis Letourneau
2018-11-05 18:43:31 UTC
Permalink
Post by Karim SLIMANI
Hello Louis,
Have you take a look at SRT protocol ?
Source code : https://github.com/Haivision/srt
Latest FFmpeg handle this protocol (if i am not wrong).
I didn't know about it. I will try it as soon as i can. It seems
interesting.

Louis
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-u

Loading...