I hope Shaka packager live streaming guide in detail.

802 views
Skip to first unread message

goldti...@gmail.com

unread,
Nov 30, 2017, 12:24:01 AM11/30/17
to Shaka Packager Users
I encountered non-solvable problems in use of shaka packager live streaming alone.
I made a live streaming by using follow command.
--------------------------------------------------------------------
tsplay -loop underwater_clear.ts 225.100.10.1:1000
--------------------------------------------------------------------
And I tested on the other for live streaming and it is streaming well surely.

Now I want to use this live streaming in shaka packager.

I used following commands to make shaka packager live streaming mpd file.

--------------------------------------------------------------------
sudo docker run -v /var/www/html/media/:/media -it --rm google/shaka-packager


--------------------------------------------------------------------


And I have got following errors.
If I remove the interface parameter at input 



And if I add interface parameter (here I tried to add all the ip addresses I can see when I type ifconfig command on terminal.)

It shows this description and stop here forever.

Can you please let me know how can I solve this problem?
If I can solve this, it would be great.

Thanks.

KongQun Yang

unread,
Dec 1, 2017, 4:49:10 PM12/1/17
to goldti...@gmail.com, Shaka Packager Users
Hi,

Docker does not forward multicast from host to container by default. You'll need to enable it explicitly when starting the container. Here is an option to do it:

> docker run -v /var/www/html/media/:/media -it --net=host --rm google/shaka-packager

Also, for the multicast IP address, we recommend using an address in the range 239.0.0.0 to 239.255.255.255, and use an unused port in the range 1024-49151. Using other ip address or port may clash with an existing service.

tsplay allows you to specify the interface address via " -mcastif <ipaddr> " or "  -i <ipaddr> ". It is 0.0.0.0 if not specified.

Please try the recommendations above and let us know if it works for you.


-- KongQun Yang (KQ)

--
You received this message because you are subscribed to the Google Groups "Shaka Packager Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-packager-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-packager-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-packager-users/298052e2-ca7d-4ca1-8639-770db7dd2ecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

goldti...@gmail.com

unread,
Dec 2, 2017, 1:17:45 PM12/2/17
to Shaka Packager Users
Thank you very much.
I solved this problem.
And now I faced tiny problem.

I got this message.

---------------------------------------------
[1202/173650:ERROR:mpd_builder.cc(1264)] Segments should not be out of order segment. Adding segment with start_time == 42042 but the previous segment starts at 23408385.
---------------------------------------------

how can I solve this problem?
I tried to add the start_time==42042 to anywhere but it was not working.
Thanks for your regarding.

goldti...@gmail.com

unread,
Dec 4, 2017, 8:38:21 AM12/4/17
to Shaka Packager Users
how can I solve this?

KongQun Yang

unread,
Dec 4, 2017, 1:59:08 PM12/4/17
to goldti...@gmail.com, Shaka Packager Users
Hi,

This is because the incoming stream is not a real live source. It is created from looping a local file, which rewinds and timestamp wraps around repeatedly. I am not familiar with tsplay. Is there a way to make timestamp continous in tsplay instead of rewinding and wrapping around?

Also, what is your goal here? If the purpose is to make a video loop in DASH, it is actually simpler to just package a DASH VOD content and loop it in player.



-- KongQun Yang (KQ)

On Mon, Dec 4, 2017 at 5:38 AM, <goldti...@gmail.com> wrote:
how can I solve this?

--
You received this message because you are subscribed to the Google Groups "Shaka Packager Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-packager-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-packager-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages