question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A method to stitch together VOD clips

See original GitHub issue

It might be interesting to allow an application to stitch together multiple VOD clips.

For example:

player.load('/vod.mpd').then(function() {
  return player.appendVod('/other_vod.mpd');
}).then(function() {
  return player.appendVod('/hls_vod.m3u8');
});

The periods of the new content would be appended to the periods of the old content, and the presentation timeline would be extended to match.

There would be no requirement that the same manifest parser be used for each clip, so DASH could be appended together with HLS.

Appending a manifest which turns out to be live or IPR content would fail with an error such as CANNOT_APPEND_NON_VOD_CONTENT.

If the initial load() call is for live or IPR content, the appendVod() call would call fail with an error such as CANNOT_APPEND_TO_NON_VOD_CONTENT. (Subtle difference in error code.)

If filtering the new content against the existing content leaves no playable streams from the new content, the call would fail with an error such as CANNOT_APPEND_INCOMPATIBLE_CONTENT. For example, appending TS content after MP4, or appending H.264 after VP9.

If this capability would be interesting to you, please comment and let us know!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
osmestadcommented, Jan 18, 2019

I think this would be very interesting for our use case (I work on music streaming at TIDAL) currently we use two instances of Shaka player to do preloading of the next track when the playing track is close to finished. Ideally we would like to have as short a gap when switching between tracks as possible (gapless being the goal) 😃

0reactions
enjikakacommented, Aug 31, 2020

Thanks for the thorough reply @joeyparrish! I’ll have a look at this methods and get a bit more acquainted with the code base. It looks like preload is something the main shaka team is going to jump on soon looking at the roadmap and wishes for next release? Maybe I should wait with tying to implement gapless - or at least the loading aspects - until that is done?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Combine Videos [For Free] - Wave.video Blog
Shotcut Video Editor ... Go to File Menu, select Open File, and select your first video or image. ... Once it is open,...
Read more >
How to Combine Videos into One (9 Quick and Easy Ways)
To add one more video, open another video and drag it to the timeline at the bottom. The edge of the second video...
Read more >
How to Combine Multiple Videos into One [A Beginner's Guide]
1. Open the app and select the video option · 2. Pick the videos you want to combine from your library · 3....
Read more >
5 Easy Ways to Combine Videos into One Easily (100 ...
Open up iMovie and then go to File> Import> Movies. Choose the target files, and click Import. Click and drag the video files,...
Read more >
How to Merge Videos on Windows 10 – Top 7 Video Mergers
Yes, it is possible to use Windows Media Maker to merge clips together. To do this, simply open the program, click Add Videos...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found