Sampler expecting subtitle playlist?
Closed this issue · 3 comments
Hello, @runenilsenoe
Thanks for reporting issues in the plugging, we really appreciate it.
Could you elaborate more on this? Also, if you could share:
- The Version of the Plugin that you are using.
- The URL that allows us to reproduce the behavior that you are facing
- The log of the error displayed in JMeter
we could tackle the problem faster and help you out.
Hope to hear from you soon,
Regards,
Ricardo
I am sorry, started a post and left it as a draft. we are not going further with this atm.
But to explain shortly:
i get a PlaylistParsingException
on the subtitles playlist working perfectly in the bitmovin web player.
The audio and media playlists works perfectly. These are containing the full uri of the subtitles, and referred as secondlevelmanifests, whereas the subtitle playlist reference is directly to the cdn and with just the filenames listed in the playlist
Snippet from master playlist - token's and links are blurred
#EXT-X-MEDIA:TYPE=SUBTITLES,NAME="English",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="eng",GROUP-ID="subs",URI="https://xx.on4cdn.net/live/46724910/xx/playlist_vtt_eng.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,LANGUAGE="fin",NAME="Finnish",AUTOSELECT=YES,DEFAULT=YES,GROUP-ID="program_audio",URI="https://xxproxy.azurewebsites.net/api/SecondLevelManifest?playbackUrl=https%3a%2f%2fxx.on4cdn.net%2flive%2f46724910%2fxx%2fplaylist_fi.m3u8&token=eyJhbGciOiJIUzI1xcCI6IkpXVCJ9.eyJuYmYiOjE1OTQyMTkwNTYsImV4cCIck1NiwiaXNzIjoiaHR0cHM6Ly9icnVuc3RhZCxpicnVuc3RhZHR2In0.1yJXDQW3yP--fdovbdmka5zcuXxgc0G7I"
Response - Audio Playlist (Only one segment for readability)
#EXTM3U #EXT-X-VERSION:5 #EXT-X-TARGETDURATION:9 #EXT-X-MEDIA-SEQUENCE:192265 #EXT-X-DISCONTINUITY-SEQUENCE:5 #EXT-X-KEY:METHOD=AES-128,URI="https://xx.tv/keydelivery/live?token=x.eyJuYmYiOjE1OTQwNTA2MjksImV4cCI6MTU5NDA3MjUyOSwiaXNzIjoiaHR0cHM6Ly9icnVuc3RhZC50diIsImF1ZCI6InVybjpicnVuc3RhZHR2In0.rM_d6MDbJ_WHTxopzrkU5jvy14rJ1YJN0ZPFkFcVARg",IV=0x0000000000000000000000000002EF09,KEYFORMATVERSIONS="1" #EXTINF:6, https://xx.on4cdn.net/live/46724910/xx/playlist_da_192265.aac #EXT-X-KEY:METHOD=AES-128,URI="https://xx.tv/keydelivery/live?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.x.rM_d6MDbJ_WHTxopzrkU5jvy14rJ1YJN0ZPFkFcVARg",IV=0x0000000000000000000000000002EF0A,KEYFORMATVERSIONS="1"
Response - subtitles playlist
#EXTM3U #EXT-X-VERSION:5 #EXT-X-TARGETDURATION:9 #EXT-X-MEDIA-SEQUENCE:202456 #EXT-X-DISCONTINUITY-SEQUENCE:5 #EXTINF:6, playlist_vtt_nor_202456.vtt #EXTINF:6, playlist_vtt_nor_202457.vtt #EXTINF:6, playlist_vtt_nor_202458.vtt #EXTINF:6, playlist_vtt_nor_202459.vtt #EXTINF:6, playlist_vtt_nor_202460.vtt #EXTINF:6, playlist_vtt_nor_202461.vtt
Error logs
com.blazemeter.jmeter.videostreaming.core.exception.PlaylistParsingException: Error parsing contents from https://brunstadtv.on4cdn.net/live/46724910/brunstadtv/playlist_vtt_nor.m3u8 at com.blazemeter.jmeter.videostreaming.hls.Playlist.fromUriAndBody(Playlist.java:55) ~[jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.videostreaming.core.VideoStreamingSampler.downloadPlaylist(VideoStreamingSampler.java:120) ~[jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.videostreaming.hls.HlsSampler.downloadPlaylist(HlsSampler.java:97) ~[jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.videostreaming.hls.HlsSampler.tryDownloadPlaylist(HlsSampler.java:187) [jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.videostreaming.hls.HlsSampler.sample(HlsSampler.java:53) [jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.videostreaming.core.VideoStreamingSampler.sample(VideoStreamingSampler.java:79) [jmeter-bzm-hls-3.0.2.jar:?] at com.blazemeter.jmeter.hls.logic.HlsSampler.sample(HlsSampler.java:184) [jmeter-bzm-hls-3.0.2.jar:?] at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1270) [ApacheJMeter_http.jar:5.3] at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:630) [ApacheJMeter_core.jar:5.3] at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558) [ApacheJMeter_core.jar:5.3] at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489) [ApacheJMeter_core.jar:5.3] at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256) [ApacheJMeter_core.jar:5.3] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] Caused by: com.blazemeter.jmeter.videostreaming.core.exception.PlaylistParsingException: Error parsing contents from https://brunstadtv.on4cdn.net/live/46724910/brunstadtv/playlist_vtt_nor.m3u8: No playlist tags found at com.blazemeter.jmeter.videostreaming.hls.Playlist.fromUriAndBody(Playlist.java:51) ~[jmeter-bzm-hls-3.0.2.jar:?] ... 12 more
Version 5.3
Turns out there was multiple subtitle entries with DEFAULT=YES
and it broke the parsing