Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flowplayer playlist issue #157

Open
k1ng440 opened this issue Dec 17, 2014 · 40 comments
Open

Flowplayer playlist issue #157

k1ng440 opened this issue Dec 17, 2014 · 40 comments

Comments

@k1ng440
Copy link

k1ng440 commented Dec 17, 2014

Hello,
The first video plays just fine then 2nd video shows up then fade out. i can hear the audio but no video at all.

$f("flashls_live", "../flowplayer-3.2.18.swf", {
            plugins: {
                flashls: {
                    // load the flashls plugin
                    url: "../flashlsFlowPlayer-0.3.4.swf",
                  hls_debug: false,
                  hls_debug2: false,
                  hls_lowbufferlength: 3,
                  hls_minbufferlength: 8,
                  hls_maxbufferlength: 10,
                  hls_startfromlowestlevel: false,
                  hls_seekfromlowestlevel: false,
                  hls_live_flushurlcache: false,
                  hls_seekmode: 'ACCURATE',
                  hls_capleveltostage: false,
                  hls_maxlevelcappingmode: 'downscale'
                },
                controls: {display: 'none'}

            },
            clip: {
                baseUrl: 'https://s3-ap-southeast-1.amazonaws.com/vdyoencoded/1',
                provider: "flashls",
                urlResolvers: "flashls",
                scaling: "fit"
            },
            playlist: [
                {
                    url: '1/play.m3u8',
                    duration: 7,
                    onBeforePause: function() {
                        return false;
                    }
                },
                {
                    url: '2/play.m3u8',
                    fadeInSpeed: 500,
                    onStart: function() {
                        this.getControls().show();
                    },
                    onFinish: function() {
                        this.unload();
                    }
                }
            ]

        }).ipad();
@phloxic
Copy link

phloxic commented Dec 18, 2014

I can repro (most of the time) with your streams, but not here: http://flowplayer.blacktrash.org/test/flashls-playlist.html - looks a bit like a problem with your streams. I could find anything strikingly wrong with them, but they take ages to load from here, even via http - maybe try via cloudfront, not from storage s3 directly.

@k1ng440
Copy link
Author

k1ng440 commented Dec 22, 2014

i am having same issue with http://flowplayer.blacktrash.org/test/flashls-playlist.html

@phloxic
Copy link

phloxic commented Dec 22, 2014

@k1ng440 - indeed that must be a regression in v0.4.0.3, still works with 20e33a2: http://flowplayer.blacktrash.org/test/flashls-playlist-20e33a2.html

@phloxic
Copy link

phloxic commented Dec 22, 2014

@mangui - you may want to look into that.

@k1ng440
Copy link
Author

k1ng440 commented Dec 22, 2014

I have used 20e33a2 with cloudfront copied all mime type from stream.flowplayer.org and still have issue.

@k1ng440
Copy link
Author

k1ng440 commented Dec 22, 2014

i had this issue with videojs and mediaelementjs

@mangui please fix this

@phloxic
Copy link

phloxic commented Dec 22, 2014

@k1ng440 - maybe you did not refresh cache before testing? Also the commit I referenced was misleading, should be 5cbfbf4 - that's what http://flowplayer.blacktrash.org/test/flashls-playlist-20e33a2.html uses, the swf update just before 20e33a2
Sorry for any confusion.

@k1ng440
Copy link
Author

k1ng440 commented Dec 23, 2014

@blacktrash i think i am confused. can you explain which one i should i use?

@mangui
Copy link
Owner

mangui commented Dec 27, 2014

@k1ng440 @blacktrash I checked both link http://flowplayer.blacktrash.org/test/flashls-playlist.html and http://flowplayer.blacktrash.org/test/flashls-playlist-20e33a2.html but I don't see any issue. the 3 videos in the playlist are playing as expected.
is it random ? what is the repro frequency ?

also I am not clear as @k1ng440 reported the issue against v0.3.4 but these 2 links seems to be against v0.4.0.xxx which is a pre-release.

@k1ng440
Copy link
Author

k1ng440 commented Dec 30, 2014

hello @mangui, its happens randomly. something on start of 2nd video or on middle

you can see it here: https://aacta.vdyo.co/video/details/chip-short-animation-h264mov

@phloxic
Copy link

phloxic commented Dec 30, 2014

I can confirm the problem also for 0.3.4: http://flowplayer.blacktrash.org/test/flashls-playlist-0.3.4.html

http://flowplayer.blacktrash.org/test/flashls-playlist-20e33a2.html works consistently for me.
Otherwise one can increase the chances of the issue manifesting itself by seeking towards end of video, and letting the transition happen (instead of clicking prev or next).

@vdyo
Copy link

vdyo commented Dec 31, 2014

Hi

I just played http://flowplayer.blacktrash.org/test/flashls-playlist-20e33a2.html I let the second video start then then if I hit pause then play again, it fades away and the video is gone.

@phloxic
Copy link

phloxic commented Dec 31, 2014

@vdyo - indeed you're right, I did not spot that.
@mangui - the symptom makes me think of this bug (concerns the JavaScript API, but still).

@mangui
Copy link
Owner

mangui commented Jan 5, 2015

I will check this later this week

@vdyo
Copy link

vdyo commented Jan 9, 2015

Hi, How did you go with this?

@mangui
Copy link
Owner

mangui commented Jan 9, 2015

No progress so far. What would help is a log collected with hls_debug=yes and using debug/flashlsFlowplayer.swf. but the issue from your latest scenario, (quick pause/resume on the second video) does not seem related to flashls as flashls is not handling the display directly.

@phloxic
Copy link

phloxic commented Jan 10, 2015

@mangui - from which branch do you want the debug/flashlsFlowplayer.swf for a demo?
The video disappearing on resume after pause in a playlist happens only in conjunction with flashls though. So far I could not repro in other scenarios.

@k1ng440
Copy link
Author

k1ng440 commented May 1, 2015

Hello?

@k1ng440
Copy link
Author

k1ng440 commented May 1, 2015

@mangui can you please fix this issue?

@vdyo
Copy link

vdyo commented May 1, 2015

Hi @mangui what do I need to do to get this fixed please.

@mangui
Copy link
Owner

mangui commented May 3, 2015

I would need evidence of this issue with latest dev release of flashls (a test page with debug logs enabled)
as currently I have no proof that it is a flashls issue.

@phloxic
Copy link

phloxic commented May 3, 2015

http://flowplayer.blacktrash.org/test/flashls-playlist.html now uses 9c23170 and has hls_debug enabled.

Didn't have time to run tests.

@k1ng440
Copy link
Author

k1ng440 commented May 4, 2015

Hello,
I just ran @blacktrash's test and 2nd video fades out after displaying for a seconds or so.

INFO:onConfig()
INFO:onLoad()
INFO:HLSSettings.logDebug = true
INFO:load()http://stream.flowplayer.org/bauhaus.m3u8
INFO:HLSNetStream:close
DEBUG:cancel any manifest load in progress
DEBUG:getVideo()
DEBUG:attachStream()
DEBUG:adaptive playlist:
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=2612785,RESOLUTION=1920x800,CODECS="avc1.640029,mp4a.40.5"
bauhaus/3/800p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=304962,RESOLUTION=384x160,CODECS="avc1.66.30,mp4a.40.5"
bauhaus/3/160p-lo/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=419511,RESOLUTION=384x160,CODECS="avc1.66.30,mp4a.40.5"
bauhaus/3/160p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=595232,RESOLUTION=480x200,CODECS="avc1.66.30,mp4a.40.5"
bauhaus/3/200p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=876826,RESOLUTION=624x260,CODECS="avc1.4d401f,mp4a.40.5"
bauhaus/3/260p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1278005,RESOLUTION=960x400,CODECS="avc1.4d401f,mp4a.40.5"
bauhaus/3/400p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1329512,RESOLUTION=1008x420,CODECS="avc1.4d401f,mp4a.40.5"
bauhaus/3/420p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1693276,RESOLUTION=1272x530,CODECS="avc1.640029,mp4a.40.5"
bauhaus/3/530p/pl.m3u8

DEBUG:level 0 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:5
#EXTINF:5.000000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:5.000000,
2.ts
#EXTINF:5.000000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:first level filled with at least 1 fragment, notify event
DEBUG:_switchup[0]=0.5430355122260045
DEBUG:_switchup[1]=0.5430355122260045
DEBUG:_switchup[2]=0.5430355122260045
DEBUG:_switchup[3]=0.5430355122260045
DEBUG:_switchup[4]=0.08060531844554598
DEBUG:_switchup[5]=0.5430355122260045
DEBUG:_switchup[6]=0.5430355122260045
DEBUG:_switchdown[1]=0.27305362672254124
DEBUG:_switchdown[2]=0.29521430299446266
DEBUG:_switchdown[3]=0.32115151694863064
DEBUG:_switchdown[4]=0.31391035246340976
DEBUG:_switchdown[5]=0.07748256503137993
DEBUG:_switchdown[6]=0.21482853356452225
DEBUG:_switchdown[7]=0.3519267754522473
INFO:HLSNetStream:play(-1)
INFO:HLSNetStream:seek(-1)
DEBUG:seek : requested position:-1.00,seek position:0.00,min/max buffer position:Infinity/-Infinity
DEBUG:[SEEK_STATE] from IDLE to SEEKING
DEBUG:[PLAYBACK_STATE] from IDLE to PLAYING_BUFFERING
DEBUG:loadfirstfragment(0)
DEBUG:Loading       0 of [0,7],level 0
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/160p-lo/0.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:StreamBuffer : audio track changed, flushing audio buffer:0
INFO:Setting audio track to 0
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:384/160
DEBUG:AVC: H264 Baseline level 30
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1176/382/122388/813 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:1400/6369
DEBUG:m/M video PTS:1400/6360
DEBUG:Delta audio/video m/M PTS:0/-9
DEBUG:Total Process duration/length/bw:1181/122388/810 kb/s
INFO:enough download bandwidth, adjust start level from 0 to 2
DEBUG:switch to level 2
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:2
DEBUG:level 2 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:5
#EXTINF:5.000000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:5.000000,
2.ts
#EXTINF:5.000000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadfirstfragment(0)
DEBUG:Loading       0 of [0,7],level 2
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/200p/0.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:480/200
DEBUG:AVC: H264 Baseline level 30
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1348/392/232932/1350 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:1400/6369
DEBUG:m/M video PTS:1400/6360
DEBUG:Delta audio/video m/M PTS:0/-9
DEBUG:Total Process duration/length/bw:1355/232932/1343 kb/s
DEBUG:Loaded        0 of [0,7],level 2 m/M PTS:1400/6369
DEBUG:sftm:> 1+_switchup[_level]=1.5430355122260044
DEBUG:switch to level 3
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:3
DEBUG:[SEEK_STATE] from SEEKING to SEEKED
DEBUG:resume playback
DEBUG:[PLAYBACK_STATE] from PLAYING_BUFFERING to PLAYING
DEBUG:playing fragment(level/sn/cc):2/0/0
DEBUG:custom tag:#EXT-X-ALLOW-CACHE:YES
DEBUG:custom tag:#EXTINF:5.000000,
INFO:video size changed to 480/200
DEBUG:attachStream()
DEBUG:level 3 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.080000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:5.000000,
2.ts
#EXTINF:5.000000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:3,1400,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:3,0)=0
DEBUG:analyzing PTS 1 of [0,7],level 3
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/260p/1.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:624/260
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 1 of [0,7],level 3 m PTS:6403
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:3,1400,0)=1
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:3501/419/267336/597 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:6403/11372
DEBUG:m/M video PTS:6480/11440
DEBUG:Delta audio/video m/M PTS:77/68
DEBUG:Total Process duration/length/bw:3531/267336/591 kb/s
DEBUG:Loaded        1 of [0,7],level 3 m/M PTS:6403/11372
DEBUG:sftm < 1-_switchdown[current_level]=0.32115151694863064
DEBUG:switch to level 0
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:0,6403,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:0,0)=0
DEBUG:analyzing PTS 2 of [0,7],level 0
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/160p-lo/2.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:384/160
DEBUG:AVC: H264 Baseline level 30
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 2 of [0,7],level 0 m PTS:11431
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:0,6403,0)=2
DEBUG:AVC: H264 Baseline level 30
DEBUG:playing fragment(level/sn/cc):3/1/0
DEBUG:custom tag:#EXTINF:5.000000,
DEBUG:TS: frame_type:1,keyframe slice_type:7
INFO:video size changed to 624/260
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1326/368/132164/779 kb/s
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:11431/16354
DEBUG:m/M video PTS:11400/16360
DEBUG:Delta audio/video m/M PTS:-31/6
DEBUG:Total Process duration/length/bw:1338/132164/772 kb/s
DEBUG:Loaded        2 of [0,7],level 0 m/M PTS:11431/16354
DEBUG:sftm:> 1+_switchup[_level]=1.5430355122260044
DEBUG:switch to level 1
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:1
DEBUG:level 1 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:5
#EXTINF:5.000000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:5.000000,
2.ts
#EXTINF:5.000000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:1,11431,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:1,0)=0
DEBUG:analyzing PTS 3 of [0,7],level 1
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/160p/3.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:384/160
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 3 of [0,7],level 1 m PTS:16400
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:1,11431,0)=3
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1632/359/263012/1259 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:16400/21369
DEBUG:m/M video PTS:16400/21360
DEBUG:Delta audio/video m/M PTS:0/-9
DEBUG:Total Process duration/length/bw:1645/263012/1249 kb/s
DEBUG:Loaded        3 of [0,7],level 1 m/M PTS:16400/21369
DEBUG:sftm:> 1+_switchup[_level]=1.5430355122260044
DEBUG:switch to level 2
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:2,16400,0)=3
DEBUG:Loading       4 of [0,7],level 2
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/200p/4.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:480/200
DEBUG:AVC: H264 Baseline level 30
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1722/368/315088/1430 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:21416/26385
DEBUG:m/M video PTS:21400/26360
DEBUG:Delta audio/video m/M PTS:-16/-25
DEBUG:Total Process duration/length/bw:1738/315088/1416 kb/s
DEBUG:Loaded        4 of [0,7],level 2 m/M PTS:21416/26385
DEBUG:sftm:> 1+_switchup[_level]=1.5430355122260044
DEBUG:switch to level 3
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:3,21416,0)=4
DEBUG:Loading       5 of [0,7],level 3
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/260p/5.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:624/260
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:playing fragment(level/sn/cc):0/2/0
DEBUG:custom tag:#EXTINF:5.000000,
INFO:video size changed to 384/160
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:3533/388/394424/872 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:26418/31387
DEBUG:m/M video PTS:26480/31440
DEBUG:Delta audio/video m/M PTS:62/53
DEBUG:Total Process duration/length/bw:3542/394424/870 kb/s
DEBUG:Loaded        5 of [0,7],level 3 m/M PTS:26418/31387
DEBUG:loadnextfragment()
DEBUG:Loading       6 of [0,7],level 3
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/260p/6.ts
DEBUG:AVC: width/height:624/260
DEBUG:AVC: H264 Main level 31
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1780/362/396492/1740 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:31434/36357
DEBUG:m/M video PTS:31480/36440
DEBUG:Delta audio/video m/M PTS:46/83
DEBUG:Total Process duration/length/bw:1788/396492/1732 kb/s
DEBUG:Loaded        6 of [0,7],level 3 m/M PTS:31434/36357
DEBUG:sftm:> 1+_switchup[_level]=1.5430355122260044
DEBUG:switch to level 4
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:4
DEBUG:level 4 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.080000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:4.920000,
2.ts
#EXTINF:5.080000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:4,31434,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:4,0)=0
DEBUG:analyzing PTS 7 of [0,7],level 4
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/400p/7.ts
DEBUG:playing fragment(level/sn/cc):1/3/0
DEBUG:custom tag:#EXTINF:5.000000,
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:960/400
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 7 of [0,7],level 4 m PTS:36403
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:4,31434,0)=7
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:905/354/112988/975 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:36403/41279
DEBUG:m/M video PTS:36480/41240
DEBUG:Delta audio/video m/M PTS:77/-39
DEBUG:Total Process duration/length/bw:915/112988/965 kb/s
DEBUG:Loaded        7 of [0,7],level 4 m/M PTS:36403/41279
DEBUG:sftm:> 1+_switchup[_level]=1.080605318445546
DEBUG:switch to level 5
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:5
DEBUG:level 5 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.080000,
0.ts
#EXTINF:5.000000,
1.ts
#EXTINF:4.920000,
2.ts
#EXTINF:5.080000,
3.ts
#EXTINF:5.000000,
4.ts
#EXTINF:5.000000,
5.ts
#EXTINF:5.000000,
6.ts
#EXTINF:4.800000,
7.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:5,36403,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:5,0)=0
DEBUG:analyzing PTS 7 of [0,7],level 5
DEBUG:loading fragment:http://stream.flowplayer.org/bauhaus/3/420p/7.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:1008/420
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 7 of [0,7],level 5 m PTS:36403
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:5,36403,0)=8
DEBUG:PTS analysis done on 7, matching seqnum is 8 of [0,7],cancel loading and get new one
DEBUG:TS: cancel demux
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:5,36403,0)=7
DEBUG:last fragment loaded
DEBUG:playing fragment(level/sn/cc):2/4/0
DEBUG:custom tag:#EXTINF:5.000000,
INFO:video size changed to 480/200
DEBUG:playing fragment(level/sn/cc):3/5/0
DEBUG:custom tag:#EXTINF:5.000000,
INFO:video size changed to 624/260
DEBUG:playing fragment(level/sn/cc):3/6/0
DEBUG:custom tag:#EXTINF:5.000000,
DEBUG:playing fragment(level/sn/cc):4/7/0
DEBUG:custom tag:#EXTINF:4.800000,
INFO:video size changed to 960/400
DEBUG:reached end of VOD playlist, notify playback complete
INFO:stop()
INFO:HLSNetStream:close
DEBUG:[PLAYBACK_STATE] from PLAYING to IDLE
DEBUG:cancel any manifest load in progress
DEBUG:cancel any audio level load in progress
DEBUG:[SEEK_STATE] from SEEKED to IDLE
INFO:load()http://stream.flowplayer.org/functional.m3u8
INFO:HLSNetStream:close
DEBUG:cancel any manifest load in progress
DEBUG:getVideo()
DEBUG:attachStream()
DEBUG:adaptive playlist:
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=2766342,RESOLUTION=1920x800,CODECS="avc1.640029,mp4a.40.5"
functional/3/800p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=303203,RESOLUTION=384x160,CODECS="avc1.66.30,mp4a.40.5"
functional/3/160p-lo/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=414689,RESOLUTION=384x160,CODECS="avc1.66.30,mp4a.40.5"
functional/3/160p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=680931,RESOLUTION=480x200,CODECS="avc1.66.30,mp4a.40.5"
functional/3/200p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1003088,RESOLUTION=624x260,CODECS="avc1.4d401f,mp4a.40.5"
functional/3/260p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1448345,RESOLUTION=960x400,CODECS="avc1.4d401f,mp4a.40.5"
functional/3/400p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1549069,RESOLUTION=1008x420,CODECS="avc1.4d401f,mp4a.40.5"
functional/3/420p/pl.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1898342,RESOLUTION=1272x530,CODECS="avc1.640029,mp4a.40.5"
functional/3/530p/pl.m3u8

DEBUG:level 0 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.005011,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:first level filled with at least 1 fragment, notify event
DEBUG:_switchup[0]=0.6420281222795878
DEBUG:_switchup[1]=0.6420281222795878
DEBUG:_switchup[2]=0.6420281222795878
DEBUG:_switchup[3]=0.6420281222795878
DEBUG:_switchup[4]=0.13908840780338938
DEBUG:_switchup[5]=0.4509456970606216
DEBUG:_switchup[6]=0.6420281222795878
DEBUG:_switchdown[1]=0.26884243372744393
DEBUG:_switchdown[2]=0.3909970320047112
DEBUG:_switchdown[3]=0.3211652417335269
DEBUG:_switchdown[4]=0.30742468127414396
DEBUG:_switchdown[5]=0.1300445622499708
DEBUG:_switchdown[6]=0.18398844886748542
DEBUG:_switchdown[7]=0.31377176068613355
INFO:HLSNetStream:play(-1)
INFO:HLSNetStream:seek(-1)
DEBUG:seek : requested position:-1.00,seek position:0.00,min/max buffer position:Infinity/-Infinity
DEBUG:[SEEK_STATE] from IDLE to SEEKING
DEBUG:[PLAYBACK_STATE] from IDLE to PLAYING_BUFFERING
DEBUG:switch to level 5
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:5
DEBUG:level 5 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.088433,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadfirstfragment(0)
DEBUG:Loading       0 of [0,5],level 5
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/420p/0.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:StreamBuffer : audio track changed, flushing audio buffer:0
INFO:Setting audio track to 0
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:1008/420
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:7054/398/628860/696 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:1483/6360
DEBUG:m/M video PTS:1483/6447
DEBUG:Delta audio/video m/M PTS:0/87
DEBUG:Total Process duration/length/bw:7071/628860/695 kb/s
DEBUG:Loaded        0 of [0,5],level 5 m/M PTS:1483/6360
DEBUG:sftm < 1-_switchdown[current_level]=0.1300445622499708
DEBUG:switch to level 0
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:0,1483,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:0,0)=0
DEBUG:analyzing PTS 1 of [0,5],level 0
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/160p-lo/1.ts
DEBUG:[SEEK_STATE] from SEEKING to SEEKED
DEBUG:playing fragment(level/sn/cc):5/0/0
DEBUG:custom tag:#EXT-X-ALLOW-CACHE:YES
DEBUG:custom tag:#EXTINF:5.088433,
INFO:video size changed to 1008/420
DEBUG:attachStream()
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:384/160
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 1 of [0,5],level 0 m PTS:6416
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:0,1483,0)=1
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:resume playback
DEBUG:[PLAYBACK_STATE] from PLAYING_BUFFERING to PLAYING
DEBUG:AVC: H264 Baseline level 30
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1828/628/164500/703 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:6416/11384
DEBUG:m/M video PTS:6405/11368
DEBUG:Delta audio/video m/M PTS:-11/-16
DEBUG:Total Process duration/length/bw:1849/164500/695 kb/s
DEBUG:Loaded        1 of [0,5],level 0 m/M PTS:6416/11384
DEBUG:sftm:> 1+_switchup[_level]=1.6420281222795878
DEBUG:switch to level 1
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:1
DEBUG:level 1 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.005011,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:1,6416,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:1,0)=0
DEBUG:analyzing PTS 2 of [0,5],level 1
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/160p/2.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:384/160
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 2 of [0,5],level 1 m PTS:11431
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:1,6416,0)=2
DEBUG:AVC: H264 Baseline level 30
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1342/369/259440/1510 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:11431/16400
DEBUG:m/M video PTS:11410/16373
DEBUG:Delta audio/video m/M PTS:-21/-27
DEBUG:Total Process duration/length/bw:1351/259440/1500 kb/s
DEBUG:Loaded        2 of [0,5],level 1 m/M PTS:11431/16400
DEBUG:sftm:> 1+_switchup[_level]=1.6420281222795878
DEBUG:switch to level 2
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:2
DEBUG:level 2 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.005011,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:2,11431,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:2,0)=0
DEBUG:analyzing PTS 3 of [0,5],level 2
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/200p/3.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:480/200
DEBUG:AVC: H264 Baseline level 30
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 3 of [0,5],level 2 m PTS:16447
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:2,11431,0)=3
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:AVC: H264 Baseline level 30
DEBUG:TS: frame_type:1,keyframe slice_type:7
DEBUG:playing fragment(level/sn/cc):0/1/0
DEBUG:custom tag:#EXTINF:5.005011,
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1859/369/419616/1763 kb/s
INFO:video size changed to 384/160
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:16447/21415
DEBUG:m/M video PTS:16415/21378
DEBUG:Delta audio/video m/M PTS:-32/-37
DEBUG:Total Process duration/length/bw:1876/419616/1747 kb/s
DEBUG:Loaded        3 of [0,5],level 2 m/M PTS:16447/21415
DEBUG:sftm:> 1+_switchup[_level]=1.6420281222795878
DEBUG:switch to level 3
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:3
DEBUG:level 3 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.088433,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:3,16447,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:3,0)=0
DEBUG:analyzing PTS 4 of [0,5],level 3
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/260p/4.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:624/260
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 4 of [0,5],level 3 m PTS:21453
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:3,16447,0)=4
DEBUG:AVC: H264 Main level 31
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:3489/388/374308/838 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:21453/26421
DEBUG:m/M video PTS:21503/26467
DEBUG:Delta audio/video m/M PTS:50/46
DEBUG:Total Process duration/length/bw:3495/374308/837 kb/s
DEBUG:Loaded        4 of [0,5],level 3 m/M PTS:21453/26421
DEBUG:loadnextfragment()
DEBUG:Loading       5 of [0,5],level 3
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/260p/5.ts
DEBUG:AVC: width/height:624/260
DEBUG:AVC: H264 Main level 31
DEBUG:playing fragment(level/sn/cc):1/2/0
DEBUG:custom tag:#EXTINF:5.005011,
DEBUG:loading completed
DEBUG:Loading       duration/RTT/length/speed:1553/340/180668/909 kb/s
DEBUG:TS: flushing demux
DEBUG:TS: parsing complete
DEBUG:m/M audio PTS:26468/30137
DEBUG:m/M video PTS:26508/30095
DEBUG:Delta audio/video m/M PTS:40/-42
DEBUG:Total Process duration/length/bw:1579/180668/894 kb/s
DEBUG:Loaded        5 of [0,5],level 3 m/M PTS:26468/30137
DEBUG:sftm:> 1+_switchup[_level]=1.6420281222795878
DEBUG:switch to level 4
DEBUG:(re)load Playlist
DEBUG:_checkLoading : playlist not received for level:4
DEBUG:level 4 playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:6
#EXTINF:5.088433,
0.ts
#EXTINF:5.005011,
1.ts
#EXTINF:5.005011,
2.ts
#EXTINF:5.005011,
3.ts
#EXTINF:5.005000,
4.ts
#EXTINF:3.628633,
5.ts
#EXT-X-ENDLIST

DEBUG:updateFragments: unknown PTS info for this level
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:4,26468,0)=-1
DEBUG:loadnextfragment : getFirstSeqNumfromContinuity(level,cc:4,0)=0
DEBUG:analyzing PTS 5 of [0,5],level 4
DEBUG:loading fragment:http://stream.flowplayer.org/functional/3/400p/5.ts
DEBUG:probe fragment type
DEBUG:AAC/MP3/TS match:false/false/true
DEBUG:TS match + H264 signaled in Manifest, use TS demuxer
DEBUG:TS: PAT found.PMT PID:4096
DEBUG:TS: PMT found
DEBUG:TS: Selected video PID: 256
DEBUG:TS: Found 1 audio tracks
DEBUG:TS: selected AAC PID: 257
DEBUG:AVC: width/height:960/400
DEBUG:AVC: H264 Main level 31
DEBUG:AAC: LC, 22050 Hz 2 channel(s)
DEBUG:TS/AAC: insert ADIF TAG
DEBUG:analyzed  PTS 5 of [0,5],level 4 m PTS:26468
DEBUG:analyzed PTS : getSeqNumNearestPTS(level,pts,cc:4,26468,0)=6
DEBUG:PTS analysis done on 5, matching seqnum is 6 of [0,5],cancel loading and get new one
DEBUG:TS: cancel demux
DEBUG:loadnextfragment()
DEBUG:loadnextfragment : getSeqNumNearestPTS(level,pts,cc:4,26468,0)=5
DEBUG:last fragment loaded
DEBUG:playing fragment(level/sn/cc):2/3/0
DEBUG:custom tag:#EXTINF:5.005011,
INFO:video size changed to 480/200

@phloxic
Copy link

phloxic commented May 4, 2015

I could repro again now. Rarely, but it does happen.

@phloxic phloxic mentioned this issue May 12, 2015
@mangui
Copy link
Owner

mangui commented May 12, 2015

from the logs I can see that FlowPlayer is spuriously calling again attachStream() in the middle of the playback. I think it could explain the observed behavior, this might reset some internal state of Video object.
I will ensure that NetStream is attached once to the Video object and not more often ... even if FlowPlayer calls attachStream() multiple times.

mangui added a commit that referenced this issue May 12, 2015
@mangui
Copy link
Owner

mangui commented May 12, 2015

@blacktrash @k1ng440 could you recheck with flashls/dev ?
thanks,
Mangui

@phloxic
Copy link

phloxic commented May 12, 2015

http://flowplayer.blacktrash.org/test/flashls-playlist.html now uses ba00a72 - but it's still happening.

@mangui
Copy link
Owner

mangui commented May 13, 2015

what about this alpha thing : #271 (comment)
is it also happening with your playlist ?

@phloxic
Copy link

phloxic commented May 13, 2015

Yes, it is: http://flowplayer.blacktrash.org/test/flashls-playlist.html is now logging org.flowplayer.view.*, you can check.

@mangui
Copy link
Owner

mangui commented May 19, 2015

i am not clear about this alpha function, isn't setting alpha to 0 hiding the video ?

@phloxic
Copy link

phloxic commented May 19, 2015

To be honest, I have no idea.

@joshmadewell
Copy link

@mangui

Is there any update on this now that @blacktrash has posted a demo that has the problem?

I'm getting this same issue when using flowplayer's playlist...

I've noticed that when this bug happens, flowplayers "onFinish" gets called twice. With a playlist of 2+ videos, the first plays fine, the second video shows briefly and goes away while the second audio plays fine.

@halibegic
Copy link

Is there any progress on this issue?

@mangui
Copy link
Owner

mangui commented Aug 20, 2015

no issue has been spotted on flashls.
there were some suspicious things happening at player level : #271 (comment) but I don't have enough knowledge on FlowPlayer flash and interest on this issue to investigate further. feel free to investigate

@phloxic
Copy link

phloxic commented Sep 7, 2015

I think I've got the solution (famous last words):
Configure hls_usehardwarevideodecoder: false - demo: http://flowplayer.blacktrash.org/test/flashls-playlist.html

In theory wmode: "direct" in the player's Flash configuration and accelerated: true in the clip configuration to enable stage video hw acceleration (http://flash.flowplayer.org/demos/configuration/accelerated.html) should also work, but it's not reliable (imho the stage implementation of the venerable Flowplayer Flash is buggy) - demo: http://flowplayer.blacktrash.org/test/flashls-playlist-accel.html

@mangui
Copy link
Owner

mangui commented Sep 7, 2015

@blacktrash so basically just setting wmode: "direct" and using latest flashls release seems enough to workaround the issue right ?

@phloxic
Copy link

phloxic commented Sep 7, 2015

@mangui - no, I don't think so, will test that combination as well (although it is not supposed to be valid).
I could still repro with wmode: "direct" (Flash config) and clip accelerated: true (which enables stage video).
What's is reliable so far is to disable hw acceleration in flashls with hls_usehardwarevideodecoder: false.

@phloxic
Copy link

phloxic commented Sep 7, 2015

I get erratic behaviour once hw acceleration is involved (problems on replay etc., controlbar updates etc).

@phloxic
Copy link

phloxic commented Sep 11, 2015

@mangui - with more testing it seems that both configurations work reasonably well.
At least they make sense theoretically: Either enable hw acceleration/stage video completely, or disable it completely.

@phloxic
Copy link

phloxic commented Oct 26, 2015

@mangui - imho this can be marked as solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants