Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ingesting stream with DVBSub subtitles from a multicast source #1254

Open
laxmipk opened this issue Aug 7, 2023 · 1 comment
Open
Labels
type: bug Something isn't working correctly
Milestone

Comments

@laxmipk
Copy link

laxmipk commented Aug 7, 2023

System info

Operating System: macOS Ventura 13.5
Shaka Packager Version:shaka-packager:latest

Issue and steps to reproduce the problem

Deployed ShakaPackager using docker from link "https://shaka-project.github.io/shaka-packager/html/docker_instructions.html"

docker run -v /Users/userabc/Documents/Demo/shaka-packager/media/:/media -it --net=host --rm google/shaka-packager

Packager Command:

Following command is executed in docker

packager
'in=udp://239.0.0.1:5004,stream=audio,init_segment=audio_init.mp4,segment_template=audio
$Number$.m4s'
'in=udp://239.0.0.1:5004,stream=video,init_segment=h264_360p_init.mp4,segment_template=h264_360p_$Number$.m4s'
--protection_scheme cbcs
--enable_raw_key_encryption
--keys label=:key_id=33333333333333333333312300004444:key=15cc53b18d424690a1021b3b8fb05212
--protection_systems Widevine
--mpd_output h264.mpd_

-------------Extra Step--------------

  1. UDP multicast is created from the mac host system by running vlc streaming service in loop "udp@239.0.0.1:5004
    alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
    vlc tears-of-steal-teaser-1280-720.mp4 --sout="#std{access=udp, dst=239.0.0.1:5004}" --loop
  2. Shaka packager docker is created in the same macbook host, network is mapped with "--net=host" as mentioned in guide
  3. "docker ps" command gives docker running status without any open port as below

image

-------------Expected Result should be ---------

It should package the live udp multicast stream on 239.0.0.1:5004

-----------------But the Result is as per below----------

Packaging is not done, output is stuck over initialising Demuxer, Please kindly help to fix this issue.

/media # packager \

'in=udp://239.0.0.1:5004,stream=audio,init_segment=audio_init.mp4,segment_template=audio_$Number$.m4s'
'in=udp://239.0.0.1:5004,stream=video,init_segment=h264_360p_init.mp4,segment_template=h264_360p_$Number$.m4s'
--protection_scheme cbcs
--enable_raw_key_encryption
--keys label=:key_id=33333333333333333333333300004444:key=14bb53b18d424690a1021b3b8fb05212
--protection_systems Widevine
--mpd_output h264.mpd
[0807/162827:INFO:demuxer.cc(89)] Demuxer::Run() on file 'udp://239.0.0.1:5004'.
[0807/162827:INFO:demuxer.cc(155)] Initialize Demuxer for file 'udp://239.0.0.1:5004'.

image

@ldymek
Copy link

ldymek commented Aug 21, 2023

Hello,

I have the same problem if DVBSub subtitles are in Multicast source. When I block the subs it starts working:

packager in=udp://239.239.239.239:1234?reuse=1 --dump_stream_info [0821/115802:INFO:demuxer.cc(89)] Demuxer::Run() on file 'udp://239.239.239.239:1234?reuse=1'. [0821/115802:INFO:demuxer.cc(155)] Initialize Demuxer for file 'udp://239.239.239.239:1234?reuse=1'. [0821/115802:ERROR:mp2t_media_parser.cc(320)] Ignore unsupported MPEG2TS stream type 0x6 [0821/115802:WARNING:es_parser_h26x.cc(70)] Unusually large number of cached timestamps (24). [0821/115803:WARNING:es_parser_h26x.cc(70)] Unusually large number of cached timestamps (25). [0821/115803:WARNING:es_parser_h26x.cc(70)] Unusually large number of cached timestamps (26).

@cosmin cosmin changed the title Live Stream Packaging problem Error ingesting stream with DVBSub subtitles from a multicast source Apr 29, 2024
@cosmin cosmin added type: bug Something isn't working correctly component: text The issue involves text streams (subtitles or captions) and removed component: text The issue involves text streams (subtitles or captions) labels Apr 29, 2024
@github-actions github-actions bot added this to the v3.1 milestone Apr 29, 2024
@cosmin cosmin removed this from the v3.1 milestone May 7, 2024
@github-actions github-actions bot added this to the v3.2 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants