xhlove / dash-subtitle-extractor

Dash Embeded Stream Subtitle Extractor
54 stars 13 forks source link

Error: settings = ' ' + settings #4

Closed VCDEV1 closed 2 years ago

VCDEV1 commented 2 years ago

Hi, First of all thank you for this amazing tool!

This worked with almost all dash subtitles I have encountered! But with this one subtitle it seems to have some error.

The mpd link of the dash subtitle I am trying to download is: https://streaming-vod-aha.akamaized.net/content/pubcontent/vol/AC132CEE-A998-4DB7-93F9-7EE2AFE5AA56/1656584319882-output_cenc_dash.ism/index.mpd?pipeline=ttml_removal&filter=%28%28type%3D%3D%22video%22%26%26FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C%3D1500000%29%7C%7C%28type%3D%3D%22audio%22%26%26FourCC%3D%3D%22AACL%22%29%7C%7C%28type%3D%3D%22textstream%22%29%29 (Link is still valid)

I tried this with two methods.

  1. By making a folder (after splitting the mp4 container) with the init file and the segments. I tried with both ttml and wvtt formats. The result is shown below.

image

  1. By making a folder only with the init and the mp4 container (without splitting the mp4 container). I again tried with both of the ttml and wvtt formats but still an error message was shown. But this time the error messages were different a little. The result is shown below.

image

I was using the latest code and the files I used will be attached below!

aha-with-segments.zip aha-with-mp4-container.zip

If you can look into this and maybe add support for this it will be really helpful. Thanks.

xhlove commented 2 years ago

thank you for your feedback, fixed !

VCDEV1 commented 2 years ago

Thank you so much! It works. Thanks again!