(anonymous) @ text_engine.js:183"
After which subtitles are no longer rendered.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/5374694a-a5ce-4a74-8b96-6af9ec877486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi John,I believe we've recently fixed this. What version of Shaka Player are you using? Can you try with the latest version from the master branch?Thanks,Joey
On Wed, Mar 22, 2017 at 1:46 PM, <john.bowers@verizondigitalmedia.com> wrote:
Hello all. I am trying to determine the best course of action to solve a problem we have with dynamic ad insertion into a stream whose primary asset has text track representations while the inserted ads do not have a text track representation.Currently while trying to do this shaka will play subtitles fine until the end of the first period. Then we insert an asset which has no subtitles for the second period. Near the end of that period shaka logs an assertion (presumably as it begins handling subtitles from the soon to begin third period) :"Assertion failed: There should not be a gap in text references >1s(anonymous) @ text_engine.js:183"
After which subtitles are no longer rendered.
This assertion seems to suggest that shaka does not expect or handle the kind of asset we have generated where an entire period is simply without a text track representation.The use case seems reasonable enough though. If you are viewing an video that has subtitles and you wanted to insert an ad, that ad could easily be lacking subtitles.Do you have any thoughts on how shaka could or should handle this particular case OR any other thoughts (like perhaps... Don't do that!).I am currently working in the shaka demo app, and I have added just a bit to the assets.js to advertise my asset and handle the license request/response to/from our widevine license proxy. I created a small diff of these changes if you want to apply the diff and see the issue in action (if that is necessary). Find the diff attached -- I updated my repo this morning, so I think it should apply pretty cleanly with the patch command if you have no local changes to your demo/assets.js file.--John BowersVDMS Engineering
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsubscribe@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/5374694a-a5ce-4a74-8b96-6af9ec877486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/CAM1-CVma2JZegNj2LsfVX7WFRgJHhYD2G5%2BL3bnji_%3D3bDmQjQ%40mail.gmail.com.
Actually, this was not fixed recently. The problem is that the later Periods don't have the correct cue times. The assert can be ignored since it doesn't affect playback (and should be updated). However, the MP4 VTT parser is bad since it isn't using the offset passed in. This makes all the parsed cues be relative to the Period instead of being absolute. We'll work on fixing it right away.
On Wed, Mar 22, 2017 at 2:58 PM, 'Joey Parrish' via Shaka Player Users <shaka-pla...@googlegroups.com> wrote:
Hi John,I believe we've recently fixed this. What version of Shaka Player are you using? Can you try with the latest version from the master branch?Thanks,Joey
On Wed, Mar 22, 2017 at 1:46 PM, <john....@verizondigitalmedia.com> wrote:
Hello all. I am trying to determine the best course of action to solve a problem we have with dynamic ad insertion into a stream whose primary asset has text track representations while the inserted ads do not have a text track representation.Currently while trying to do this shaka will play subtitles fine until the end of the first period. Then we insert an asset which has no subtitles for the second period. Near the end of that period shaka logs an assertion (presumably as it begins handling subtitles from the soon to begin third period) :"Assertion failed: There should not be a gap in text references >1s(anonymous) @ text_engine.js:183"
After which subtitles are no longer rendered.
This assertion seems to suggest that shaka does not expect or handle the kind of asset we have generated where an entire period is simply without a text track representation.The use case seems reasonable enough though. If you are viewing an video that has subtitles and you wanted to insert an ad, that ad could easily be lacking subtitles.Do you have any thoughts on how shaka could or should handle this particular case OR any other thoughts (like perhaps... Don't do that!).I am currently working in the shaka demo app, and I have added just a bit to the assets.js to advertise my asset and handle the license request/response to/from our widevine license proxy. I created a small diff of these changes if you want to apply the diff and see the issue in action (if that is necessary). Find the diff attached -- I updated my repo this morning, so I think it should apply pretty cleanly with the patch command if you have no local changes to your demo/assets.js file.--John BowersVDMS Engineering
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/5374694a-a5ce-4a74-8b96-6af9ec877486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
Ok. Well that is good to know. Let me know when you have something in and I will be happy to test it out. Thanks!
On Wednesday, March 22, 2017 at 4:07:02 PM UTC-6, Jacob Trimble wrote:
Actually, this was not fixed recently. The problem is that the later Periods don't have the correct cue times. The assert can be ignored since it doesn't affect playback (and should be updated). However, the MP4 VTT parser is bad since it isn't using the offset passed in. This makes all the parsed cues be relative to the Period instead of being absolute. We'll work on fixing it right away.
On Wed, Mar 22, 2017 at 2:58 PM, 'Joey Parrish' via Shaka Player Users <shaka-pla...@googlegroups.com> wrote:
Hi John,I believe we've recently fixed this. What version of Shaka Player are you using? Can you try with the latest version from the master branch?Thanks,Joey
On Wed, Mar 22, 2017 at 1:46 PM, <john....@verizondigitalmedia.com> wrote:
Hello all. I am trying to determine the best course of action to solve a problem we have with dynamic ad insertion into a stream whose primary asset has text track representations while the inserted ads do not have a text track representation.Currently while trying to do this shaka will play subtitles fine until the end of the first period. Then we insert an asset which has no subtitles for the second period. Near the end of that period shaka logs an assertion (presumably as it begins handling subtitles from the soon to begin third period) :"Assertion failed: There should not be a gap in text references >1s(anonymous) @ text_engine.js:183"
After which subtitles are no longer rendered.
This assertion seems to suggest that shaka does not expect or handle the kind of asset we have generated where an entire period is simply without a text track representation.The use case seems reasonable enough though. If you are viewing an video that has subtitles and you wanted to insert an ad, that ad could easily be lacking subtitles.Do you have any thoughts on how shaka could or should handle this particular case OR any other thoughts (like perhaps... Don't do that!).I am currently working in the shaka demo app, and I have added just a bit to the assets.js to advertise my asset and handle the license request/response to/from our widevine license proxy. I created a small diff of these changes if you want to apply the diff and see the issue in action (if that is necessary). Find the diff attached -- I updated my repo this morning, so I think it should apply pretty cleanly with the patch command if you have no local changes to your demo/assets.js file.--John BowersVDMS Engineering
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsubscribe@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/5374694a-a5ce-4a74-8b96-6af9ec877486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsubscribe@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/CAM1-CVma2JZegNj2LsfVX7WFRgJHhYD2G5%2BL3bnji_%3D3bDmQjQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/fc798dfc-9bf6-49d0-b2c8-87cce395ccdd%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/5374694a-a5ce-4a74-8b96-6af9ec877486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/CAM1-CVma2JZegNj2LsfVX7WFRgJHhYD2G5%2BL3bnji_%3D3bDmQjQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.