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

MPEG2 live codec suppport #1478

Open
AlothNaveen opened this issue Feb 5, 2025 · 0 comments
Open

MPEG2 live codec suppport #1478

AlothNaveen opened this issue Feb 5, 2025 · 0 comments

Comments

@AlothNaveen
Copy link

AlothNaveen commented Feb 5, 2025

Shaka Packager by itself does not directly support MPEG-2 codec conversion to DASH. This is a limitation of the tool.
The key points about Shaka Packager and MPEG-2:

Shaka Packager natively supports:
H.264/AVC
H.265/HEVC
VP8/VP9
AV1

How to make/change existing code to convert MPEG2/MPEG4 codec into DASH?

packager 'in=udp://224.2.2.2:5480,stream=audio,init_segment=audio_init.mp4,segment_template=audio_$Number$.m4s' 'in=udp://224.2.2.2:5480,stream=video,init_segment=h264_1080p_init.mp4,segment_template=h264_1080p_$Number$.m4s' --mpd_output h264.mpd
I0206 10:07:14.782729 1527703 demuxer.cc:94] Demuxer::Run() on file 'udp://224.2.2.2:5480'.
I0206 10:07:14.782841 1527703 demuxer.cc:160] Initialize Demuxer for file 'udp://224.2.2.2:5480'.
E0206 10:07:15.027495 1527703 mp2t_media_parser.cc:342] Ignore unsupported MPEG2TS stream type 0x0x2
E0206 10:07:15.228538 1527703 demuxer.cc:112] Invalid argument, stream=video not available.
E0206 10:07:15.228581 1527702 packager_main.cc:629] Packaging Error: 3 (INVALID_ARGUMENT): Stream not available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant