Streaming

RSS for tag

Deep dive into the technical specifications that influence seamless playback for streaming services, including bitrates, codecs, and caching mechanisms.

Streaming Documentation

Posts under Streaming subtopic

Post

Replies

Boosts

Views

Activity

HLS+Fairplay stream resources freeing issue
The Context I'm using the HTML video element to play HLS+Fairplay streams (VOD and live) in Safari. My application is a Netflix-like. You can watch a video, stop, and watch another one. Concretly, the <video> tag is created upon each play and destroyed when the player exits. The Problem Sometimes, after exiting the player, launching a new video causes a MEDIA_ERR_DECODE error without anymore explanation. I can trace in my code that the Fairplay certificate and the CKC have been correctly retrieved and that the media session has been created and updated (with the CKC). In fact, when I log everything, I see the exact same logs as when it works. Except the final MEDIA_ERR_DECODE error. When I get this error, if I immediately retry to play, the same error happens, but if I wait about 5~10 seconds, it successfully plays. It's like some resource is waiting to be garbage-collected. What I tried I tried playing non-DRMed videos and it works perfectly: I could play, stop, play, etc. without any issue. So my guess is something is happening at the EME level. I've browsed the whole Internet (twice) and couldn't come up with a clear explanation. Most of the hints I found couldn't explain my issue (e.g. bad DRM-encryption, but how could it work the first time?) or solve it (e.g. videoElement.src = ""). I'm throwing a bottle into the sea, here... Thanks for your help!
2
0
2.1k
Apr ’23
Native HLS streaming w/ Fairplay fails in Safari iOS 16+ but works in Safari iOS 15.6.1 at least
Streaming a FairPlay DRM protected video stream does not work in Safari iOS since iOS 16+. It was working correctly at least in Safari under iOS 15.6.1. (Note: it works correctly in Safari MacOS) I was able to reproduce the problem with 2 test pages of HLS FairPlay content in iOS Safari : JW player test page : https://developer-tools.jwplayer.com/stream-tester Shaka Player test page : https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;panel=CUSTOM%20CONTENT;build=uncompiled Can you please confirm that it is broken ? Thanks !
2
0
2.5k
Apr ’23
AVPlayerInterstitialEvent Does Not Play For Live Playlist
eventplaylist.txt liveplaylist.txt I want to use AVPlayerInterstitialEvent to schedule a priority alert during Live content. I set the interstitial event to the events property of AVPlayerInterstitialEventController but the primary content never switches to the event at the specified Date. I am able to successfully set an event when the primary content is VOD and the event plays as expected. I have confirmed: The HLS playlist for the primary asset contains EXT-X-PROGRAM-DATE-TIME tag so the Event can be mapped into the primaryItem timeline. The date property of the AVPlayerInterstitialEvent is sufficiently ahead (> 60 seconds) of the current playback time. Using Charles Proxy, I do not see any player networking for the Event's URL. Here is a code snippet to show how the event is created and scheduled: let currentItem = player.currentItem let event = AVPlayerInterstitialEvent(primaryItem: currentItem, \identifier: evt.id, date: evt.date, templateItems: [AVPlayerItem(url: evt.url)], restrictions: [], resumptionOffset: CMTime.indefinite) event.willPlayOnce = true eventController.events = [event] I have also attached example HLS for the Live content and Event. Any help is appreciated.
2
1
1.4k
Apr ’23
LL-HLS Playback with Safari, ext-x-part tag support
I am trying to playback live content generated using Apple tools setup with Safari Browser, and having difficulty playing back. Here is more information of my Server setup: %tsrecompressor -c -O 224.0.0.50:9121 -L 224.0.0.50:9123 -P 224.0.0.50:9125 %mediastreamsegmenter --part-target-duration-ms=200 -f /usr/local/Cellar/nginx/1.23.4/html/ -t 1 224.0.0.50:9121 -D %cd /usr/local/share/hlstools %go run ll-hls-origin-example.go -dir /usr/local/Cellar/nginx/1.23.4/html -http :443 I am able to playback the content using hls.js demo player and the above Server set-up. I do see a "Failed to load resource: Plug-in handled load" error and don't see any content being played. Any ideas as to how to work around the error? Makes me wonder does Safari support ext-x-part tag at all? Thanks!
0
0
994
May ’23
I cannot apply for a FPS certificate
I filled out the FPS certificate application form for existing applications twice in https://developer.apple.com/contact/fps/. After successful submission, I will say that I need to receive email in my mailbox, but I have not received the corresponding notification email in my mailbox. How do I deal with it? thank you!
1
0
988
May ’23
How to stop AVPlayer to cache/download hls chunks during playback
Hi Team, I am pre-caching first 5 seconds of vidoes to improve start up playback latency. I am using AVAssetDownloadTask(AVAssetDownloadTask | Apple Developer Documentation) for pre-caching first 5 seconds in movpkg container in local. Now during playback of pre-cache vidoe from local file, AVPlayer start downloading remaining video chunks hence completely download video in local which increase space in device. Is there any way to stop AVPlayer to cache/download chunks in local during playback ?
1
0
1.9k
May ’23
AppleTV HLS player with metrics?
Hello, I am running some simple playback tests. I would like to playback content streamed via HLS manifest on my AppleTV device, ideally with playback metrics. I should be able to use something like the VLC app: https://www.videolan.org/vlc/download-appletv.html (open to suggestions) But as for metrics, im not 100%. Does anyone have experience on this topic? As for the specific metrics, Im just looking for something that I can use to objectively measure different tests. I was thinking anything related to buffer rates, error rates, and percentage of time playing back specific streams.
0
0
841
May ’23
HLS EVENT Manifest Safari Player Timeline crash
We have implemented an optimization feature for HLS VOD streaming in the form of an EVENT Manifest. General manifest hour The bottom line is that on the first request, we return the HLS EVENT Manifest within 30 seconds and launch certain processin mechanisms in the background, as soon as everything has ready, on the next requests we return an EVENT Manifest with an EXT-X-ENDLIST tag What does it look like 1st request: #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts 2nd req (if background completed) #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts .... .... .... 1000.ts #EXT-X-ENDLIST This approach worked in VLC player and hls.js players but this thing doesn't work in native Safari player It has very strange behavior: Live is shown first in the timeline (which is okay) then, as he has already downloaded the manifest with EXT-X-ENDLIST, it shows the real duration (hour) but literally after 2 seconds it cuts the timeline and leaves only 2 minutes in the timeline by DevTools-> Network, I see that it stops downloading after 8-9 segments And now I would like to know if anyone has encountered such a safari problem and if maybe you need to somehow reconfigure the browser player.
1
0
1.1k
May ’23
Possibility of using SAME FairPlay Certificate by two providers simultaneously
Hello There, Can the SAME FairPlay Certificate be used by two providers simultaneously without impacting each other? For example, we already have a DRM Providers using our FairPlay Certificate in Production. We are now planning to migrate to another DRM Provider for part of the traffic/channels in parallel with Production. This means, in Production, at the same time, 2 DRM providers would be using the SAME FairPlay Certificate. Kindly let us know if this will create any potential issues with the Encrypted Contents that use the Certificate. Is there any impact on the final user in the iOS/tvOS applications with two DRM providers using the same FairPlay certificate?
0
0
874
May ’23
HLS Multivariant Manifest not play 1st variant first
I see it lightly documented that the first variant listed in the manifest is the first variant to play, then adaptive streaming takes over to pick the next variants. When we do this we find the 3rd variant is loaded first. How can I investigate the reason for this? I've run media analyzer and there were some suggestion but nothing that made the 3d variant different from the first 2. #EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=14985704,AVERAGE-BANDWIDTH=6811200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-6M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=24835374,AVERAGE-BANDWIDTH=11211200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-10M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=37147462,AVERAGE-BANDWIDTH=16711200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-15M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=49459550,AVERAGE-BANDWIDTH=22211200,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-20M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=74013326,AVERAGE-BANDWIDTH=33140800,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-30M.m3u8
2
0
1.6k
May ’23
HLS discontinuity tag, playback issues with CVBR HEVC
Hello, I am trying do a playback test with content stitched together in a HLS manifest using the #EXT-X-DISCONTINUITY tag. Im testing on the AppleTV 4k with the VLC player and a hlsjs player with Safari on my MacOS (https://players.akamai.com/players/hlsjs) I get playback issues when my player hits the first discontinuity section in both players. And im not sure how to further debug the issue. The VLC player just exits, the hlsjs player stops playback. I don't get any errors in the javascript console. The hlsjs player does display stats beside the player. The only hint I get is segment length is 5s up until it stops, then it says No segment length found. I've created a stack overflow post with more details here: https://stackoverflow.com/questions/76285834/hls-discontinuity-manifest-playback-issues-hevc-fragmented-mp4s I was able to get the same test working with h264 encodes and mpeg-ts video files. Does anyone have working examples of a discontinuity manifest with HEVC encodes and fragmented mp4s?
2
0
1.5k
May ’23
Issue playing HLS (m3u8) live stream
Has anyone else had issues live streaming HLS on XCode 14.3? I am using an IOS 16.2 simulator as it seems the bugs with streaming on the 16.4 simulators still haven't been resolved. I have been able to play on-demand videos fine, although when I try and play a live stream, I just get a black screen with a play button with a cross through it.
1
1
1.4k
May ’23
Channel to check HLS software licese
I want to use playback in the case of Radio (FM/DAB) reception using HLS for a commercial product that our company is developing. So I have been checking the software license for HLS for this purpose, but I couldn't find the right person in charge or someone who knows exactly. Our company only knows channels for MFi, but he recommended looking for channels for HLS contracts in this developer forum. Of course, I saw a specific Apple developer's comment through the thread below, but I would like to confirm if this answer is still valid. https://developer.apple.com/forums/thread/109953 (I already emailed to "Licensing and Trademarks", but I didn't get response)
0
0
656
May ’23
SCTE-35 markers events on Safari
Hello,When streaming and playing HLS streams on Safari using &lt;video&gt; tag, is there way to be notified at application level (javascript) of the presence of SCTE-35 data ranges in the stream (playlist)?When using the &lt;video&gt; tag on Safari, it is the responsibility of the the native video element to download and parse the playlists, thus there is no way for web application to know about the presence of such tags/markers in the playlists.Does the native video element trigger some events (like cue events for example) to signal the presence of these SCTE-35 data ranges?I tried to listen for cue events but unsuccessfully.
1
0
1.6k
Jun ’23
FairPlay license auto-renewal (on SPC request)
Hi, is it possible to force/ensure an automatic license renewal in a Fairplay SPC response? I can find that feature in other DRM systems like Widevine (using specific parameters in the response) Searching in "FairPlay Streaming Server SDK 4.4.4" I can only find parameters related to lease/rental TLLs, but not an explicit renewal request. does this feature exists on FairPlay? Any information will be appreciated. Have a great day!
0
0
957
Jun ’23
Video (HLS) quality on website does not switch on iOS 16.5
When streaming HLS files in the iPhone/iPad browser only on iOS 16.5, the bit rate does not switch. The lowest quality bitrate is always selected regardless of the communication environment. This does not occur on iOS16.4 and iOS16.6(beta) in the same communication environment and on the same device, and the bitrate switches according to network conditions. Has anyone else experienced a similar event? Also, does anyone know how to remedy this issue?
0
0
773
Jun ’23
Can't parse and decrypt SPC and CKC messages
Hello everyone, I have captured SPC and CKC messages. I'm trying to parse it using verify_ckc tool, but I only get SPC encryption key and SPC encryption IV: CKC/SPC Sanity Test v. 2.01 ========================= Begin SPC Data =============================== SPC container size 7296 SPC Encryption Key - a9 a6 8c 2b 62 2f 3a ee bc 92 0c 4d cb 07 d1 c7 SPC Encryption IV - 75 7f f7 60 c9 d0 16 2a 7b 96 0e 42 e6 c3 3e 75 ================ SPC TLLV List ================ =========================== End SPC Data ================================= =========================== Begin CKC Data ================================= =========================== End CKC Data ================================= SPC binary message: https://www.icloud.com/iclouddrive/0c0hm06RJQpTlsWBB1ANb3OZw#SPC CKC binary message: https://www.icloud.com/iclouddrive/016apmD_MZDFaGVNey_HA_17g#CKC What is the problem?
0
0
798
Jun ’23
Error 16833 and 19152
We have created a hls playback framework and lot of our client's are complaining about this error {"code": -19152, "domain": "CoreMediaErrorDomain", "localizedDescription": "The operation couldn’t be completed. (CoreMediaErrorDomain error -19152 - The operation couldn’t be completed. (CoreMediaErrorDomain error -19152.))", "localizedFailureReason": "", "localizedRecoverySuggestion": ""} We are unable to reproduce this issue on our end but we have data reflecting the same error happening at good rate. Any help/hint is welcome. Thanks
1
0
2k
Jun ’23
I can't play m3u8 containing video with libx265 code.
I have used ffmpeg to transform a video into multiple chunks, the ffmpeg command works fine and I can play the video. I have created an index.m3u8 that contains 4 qualities, each of those qualities contains the chunks of the video, I can play each chunk, but I can't play anything when using the index.m3u8. here is my index #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=842x480 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360 http://cdn... here is my quality file #EXTM3U #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-TARGETDURATION:8.341667 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:24 #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:6.873533, http://cdn.... #EXT-X-ENDLIST
1
0
1k
Jun ’23
HLS+Fairplay stream resources freeing issue
The Context I'm using the HTML video element to play HLS+Fairplay streams (VOD and live) in Safari. My application is a Netflix-like. You can watch a video, stop, and watch another one. Concretly, the <video> tag is created upon each play and destroyed when the player exits. The Problem Sometimes, after exiting the player, launching a new video causes a MEDIA_ERR_DECODE error without anymore explanation. I can trace in my code that the Fairplay certificate and the CKC have been correctly retrieved and that the media session has been created and updated (with the CKC). In fact, when I log everything, I see the exact same logs as when it works. Except the final MEDIA_ERR_DECODE error. When I get this error, if I immediately retry to play, the same error happens, but if I wait about 5~10 seconds, it successfully plays. It's like some resource is waiting to be garbage-collected. What I tried I tried playing non-DRMed videos and it works perfectly: I could play, stop, play, etc. without any issue. So my guess is something is happening at the EME level. I've browsed the whole Internet (twice) and couldn't come up with a clear explanation. Most of the hints I found couldn't explain my issue (e.g. bad DRM-encryption, but how could it work the first time?) or solve it (e.g. videoElement.src = ""). I'm throwing a bottle into the sea, here... Thanks for your help!
Replies
2
Boosts
0
Views
2.1k
Activity
Apr ’23
Native HLS streaming w/ Fairplay fails in Safari iOS 16+ but works in Safari iOS 15.6.1 at least
Streaming a FairPlay DRM protected video stream does not work in Safari iOS since iOS 16+. It was working correctly at least in Safari under iOS 15.6.1. (Note: it works correctly in Safari MacOS) I was able to reproduce the problem with 2 test pages of HLS FairPlay content in iOS Safari : JW player test page : https://developer-tools.jwplayer.com/stream-tester Shaka Player test page : https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;panel=CUSTOM%20CONTENT;build=uncompiled Can you please confirm that it is broken ? Thanks !
Replies
2
Boosts
0
Views
2.5k
Activity
Apr ’23
AVPlayerInterstitialEvent Does Not Play For Live Playlist
eventplaylist.txt liveplaylist.txt I want to use AVPlayerInterstitialEvent to schedule a priority alert during Live content. I set the interstitial event to the events property of AVPlayerInterstitialEventController but the primary content never switches to the event at the specified Date. I am able to successfully set an event when the primary content is VOD and the event plays as expected. I have confirmed: The HLS playlist for the primary asset contains EXT-X-PROGRAM-DATE-TIME tag so the Event can be mapped into the primaryItem timeline. The date property of the AVPlayerInterstitialEvent is sufficiently ahead (> 60 seconds) of the current playback time. Using Charles Proxy, I do not see any player networking for the Event's URL. Here is a code snippet to show how the event is created and scheduled: let currentItem = player.currentItem let event = AVPlayerInterstitialEvent(primaryItem: currentItem, \identifier: evt.id, date: evt.date, templateItems: [AVPlayerItem(url: evt.url)], restrictions: [], resumptionOffset: CMTime.indefinite) event.willPlayOnce = true eventController.events = [event] I have also attached example HLS for the Live content and Event. Any help is appreciated.
Replies
2
Boosts
1
Views
1.4k
Activity
Apr ’23
LL-HLS Playback with Safari, ext-x-part tag support
I am trying to playback live content generated using Apple tools setup with Safari Browser, and having difficulty playing back. Here is more information of my Server setup: %tsrecompressor -c -O 224.0.0.50:9121 -L 224.0.0.50:9123 -P 224.0.0.50:9125 %mediastreamsegmenter --part-target-duration-ms=200 -f /usr/local/Cellar/nginx/1.23.4/html/ -t 1 224.0.0.50:9121 -D %cd /usr/local/share/hlstools %go run ll-hls-origin-example.go -dir /usr/local/Cellar/nginx/1.23.4/html -http :443 I am able to playback the content using hls.js demo player and the above Server set-up. I do see a "Failed to load resource: Plug-in handled load" error and don't see any content being played. Any ideas as to how to work around the error? Makes me wonder does Safari support ext-x-part tag at all? Thanks!
Replies
0
Boosts
0
Views
994
Activity
May ’23
I cannot apply for a FPS certificate
I filled out the FPS certificate application form for existing applications twice in https://developer.apple.com/contact/fps/. After successful submission, I will say that I need to receive email in my mailbox, but I have not received the corresponding notification email in my mailbox. How do I deal with it? thank you!
Replies
1
Boosts
0
Views
988
Activity
May ’23
How to stop AVPlayer to cache/download hls chunks during playback
Hi Team, I am pre-caching first 5 seconds of vidoes to improve start up playback latency. I am using AVAssetDownloadTask(AVAssetDownloadTask | Apple Developer Documentation) for pre-caching first 5 seconds in movpkg container in local. Now during playback of pre-cache vidoe from local file, AVPlayer start downloading remaining video chunks hence completely download video in local which increase space in device. Is there any way to stop AVPlayer to cache/download chunks in local during playback ?
Replies
1
Boosts
0
Views
1.9k
Activity
May ’23
AppleTV HLS player with metrics?
Hello, I am running some simple playback tests. I would like to playback content streamed via HLS manifest on my AppleTV device, ideally with playback metrics. I should be able to use something like the VLC app: https://www.videolan.org/vlc/download-appletv.html (open to suggestions) But as for metrics, im not 100%. Does anyone have experience on this topic? As for the specific metrics, Im just looking for something that I can use to objectively measure different tests. I was thinking anything related to buffer rates, error rates, and percentage of time playing back specific streams.
Replies
0
Boosts
0
Views
841
Activity
May ’23
HLS EVENT Manifest Safari Player Timeline crash
We have implemented an optimization feature for HLS VOD streaming in the form of an EVENT Manifest. General manifest hour The bottom line is that on the first request, we return the HLS EVENT Manifest within 30 seconds and launch certain processin mechanisms in the background, as soon as everything has ready, on the next requests we return an EVENT Manifest with an EXT-X-ENDLIST tag What does it look like 1st request: #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts 2nd req (if background completed) #EXTM3U #EXT-X-PLAYLIST-TYPE: EVENT 1.ts 2.ts 3.ts .... .... .... 1000.ts #EXT-X-ENDLIST This approach worked in VLC player and hls.js players but this thing doesn't work in native Safari player It has very strange behavior: Live is shown first in the timeline (which is okay) then, as he has already downloaded the manifest with EXT-X-ENDLIST, it shows the real duration (hour) but literally after 2 seconds it cuts the timeline and leaves only 2 minutes in the timeline by DevTools-> Network, I see that it stops downloading after 8-9 segments And now I would like to know if anyone has encountered such a safari problem and if maybe you need to somehow reconfigure the browser player.
Replies
1
Boosts
0
Views
1.1k
Activity
May ’23
Possibility of using SAME FairPlay Certificate by two providers simultaneously
Hello There, Can the SAME FairPlay Certificate be used by two providers simultaneously without impacting each other? For example, we already have a DRM Providers using our FairPlay Certificate in Production. We are now planning to migrate to another DRM Provider for part of the traffic/channels in parallel with Production. This means, in Production, at the same time, 2 DRM providers would be using the SAME FairPlay Certificate. Kindly let us know if this will create any potential issues with the Encrypted Contents that use the Certificate. Is there any impact on the final user in the iOS/tvOS applications with two DRM providers using the same FairPlay certificate?
Replies
0
Boosts
0
Views
874
Activity
May ’23
HLS Multivariant Manifest not play 1st variant first
I see it lightly documented that the first variant listed in the manifest is the first variant to play, then adaptive streaming takes over to pick the next variants. When we do this we find the 3rd variant is loaded first. How can I investigate the reason for this? I've run media analyzer and there were some suggestion but nothing that made the 3d variant different from the first 2. #EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=14985704,AVERAGE-BANDWIDTH=6811200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-6M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=24835374,AVERAGE-BANDWIDTH=11211200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-10M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=37147462,AVERAGE-BANDWIDTH=16711200,CODECS="avc1.4d4033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-15M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=49459550,AVERAGE-BANDWIDTH=22211200,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-20M.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=74013326,AVERAGE-BANDWIDTH=33140800,CODECS="avc1.640033,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=29.970 clip4_2160p30-30M.m3u8
Replies
2
Boosts
0
Views
1.6k
Activity
May ’23
HLS discontinuity tag, playback issues with CVBR HEVC
Hello, I am trying do a playback test with content stitched together in a HLS manifest using the #EXT-X-DISCONTINUITY tag. Im testing on the AppleTV 4k with the VLC player and a hlsjs player with Safari on my MacOS (https://players.akamai.com/players/hlsjs) I get playback issues when my player hits the first discontinuity section in both players. And im not sure how to further debug the issue. The VLC player just exits, the hlsjs player stops playback. I don't get any errors in the javascript console. The hlsjs player does display stats beside the player. The only hint I get is segment length is 5s up until it stops, then it says No segment length found. I've created a stack overflow post with more details here: https://stackoverflow.com/questions/76285834/hls-discontinuity-manifest-playback-issues-hevc-fragmented-mp4s I was able to get the same test working with h264 encodes and mpeg-ts video files. Does anyone have working examples of a discontinuity manifest with HEVC encodes and fragmented mp4s?
Replies
2
Boosts
0
Views
1.5k
Activity
May ’23
Issue playing HLS (m3u8) live stream
Has anyone else had issues live streaming HLS on XCode 14.3? I am using an IOS 16.2 simulator as it seems the bugs with streaming on the 16.4 simulators still haven't been resolved. I have been able to play on-demand videos fine, although when I try and play a live stream, I just get a black screen with a play button with a cross through it.
Replies
1
Boosts
1
Views
1.4k
Activity
May ’23
Channel to check HLS software licese
I want to use playback in the case of Radio (FM/DAB) reception using HLS for a commercial product that our company is developing. So I have been checking the software license for HLS for this purpose, but I couldn't find the right person in charge or someone who knows exactly. Our company only knows channels for MFi, but he recommended looking for channels for HLS contracts in this developer forum. Of course, I saw a specific Apple developer's comment through the thread below, but I would like to confirm if this answer is still valid. https://developer.apple.com/forums/thread/109953 (I already emailed to "Licensing and Trademarks", but I didn't get response)
Replies
0
Boosts
0
Views
656
Activity
May ’23
SCTE-35 markers events on Safari
Hello,When streaming and playing HLS streams on Safari using &lt;video&gt; tag, is there way to be notified at application level (javascript) of the presence of SCTE-35 data ranges in the stream (playlist)?When using the &lt;video&gt; tag on Safari, it is the responsibility of the the native video element to download and parse the playlists, thus there is no way for web application to know about the presence of such tags/markers in the playlists.Does the native video element trigger some events (like cue events for example) to signal the presence of these SCTE-35 data ranges?I tried to listen for cue events but unsuccessfully.
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’23
FairPlay license auto-renewal (on SPC request)
Hi, is it possible to force/ensure an automatic license renewal in a Fairplay SPC response? I can find that feature in other DRM systems like Widevine (using specific parameters in the response) Searching in "FairPlay Streaming Server SDK 4.4.4" I can only find parameters related to lease/rental TLLs, but not an explicit renewal request. does this feature exists on FairPlay? Any information will be appreciated. Have a great day!
Replies
0
Boosts
0
Views
957
Activity
Jun ’23
Video (HLS) quality on website does not switch on iOS 16.5
When streaming HLS files in the iPhone/iPad browser only on iOS 16.5, the bit rate does not switch. The lowest quality bitrate is always selected regardless of the communication environment. This does not occur on iOS16.4 and iOS16.6(beta) in the same communication environment and on the same device, and the bitrate switches according to network conditions. Has anyone else experienced a similar event? Also, does anyone know how to remedy this issue?
Replies
0
Boosts
0
Views
773
Activity
Jun ’23
Can't parse and decrypt SPC and CKC messages
Hello everyone, I have captured SPC and CKC messages. I'm trying to parse it using verify_ckc tool, but I only get SPC encryption key and SPC encryption IV: CKC/SPC Sanity Test v. 2.01 ========================= Begin SPC Data =============================== SPC container size 7296 SPC Encryption Key - a9 a6 8c 2b 62 2f 3a ee bc 92 0c 4d cb 07 d1 c7 SPC Encryption IV - 75 7f f7 60 c9 d0 16 2a 7b 96 0e 42 e6 c3 3e 75 ================ SPC TLLV List ================ =========================== End SPC Data ================================= =========================== Begin CKC Data ================================= =========================== End CKC Data ================================= SPC binary message: https://www.icloud.com/iclouddrive/0c0hm06RJQpTlsWBB1ANb3OZw#SPC CKC binary message: https://www.icloud.com/iclouddrive/016apmD_MZDFaGVNey_HA_17g#CKC What is the problem?
Replies
0
Boosts
0
Views
798
Activity
Jun ’23
Error 16833 and 19152
We have created a hls playback framework and lot of our client's are complaining about this error {"code": -19152, "domain": "CoreMediaErrorDomain", "localizedDescription": "The operation couldn’t be completed. (CoreMediaErrorDomain error -19152 - The operation couldn’t be completed. (CoreMediaErrorDomain error -19152.))", "localizedFailureReason": "", "localizedRecoverySuggestion": ""} We are unable to reproduce this issue on our end but we have data reflecting the same error happening at good rate. Any help/hint is welcome. Thanks
Replies
1
Boosts
0
Views
2k
Activity
Jun ’23
I can't play m3u8 containing video with libx265 code.
I have used ffmpeg to transform a video into multiple chunks, the ffmpeg command works fine and I can play the video. I have created an index.m3u8 that contains 4 qualities, each of those qualities contains the chunks of the video, I can play each chunk, but I can't play anything when using the index.m3u8. here is my index #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=842x480 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360 http://cdn... here is my quality file #EXTM3U #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-TARGETDURATION:8.341667 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:24 #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:6.873533, http://cdn.... #EXT-X-ENDLIST
Replies
1
Boosts
0
Views
1k
Activity
Jun ’23