You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Trick operations supported by AAMP

  1. 1x ( speed level 4 )
  2. 2x ( speed level 16 )
  3. 3x ( speed level 32 )
  4. 4x ( speed level 64 )

Trick play supported over AAMP by XRE : Lightning speed

  1. Lightning : During the lightning speed AAMP will be in paused state and that will be resumed once player is served with play state.


Example here is Fast Forward ( HLS playback ) Case here is similar for DASH playback as well

User pressing fast forward key


User pressing fast forward key
[AAMP-PLAYER] aamp-cli> ff 4
1615825050:101 : [AAMP-PLAYER]aamp_SetRate(4)overshoot(0) ProgressReportDelta:(105) 
1615825050:101 : [AAMP-PLAYER]aamp_SetRate Adj position: 6.000000
1615825050:101 : [AAMP-PLAYER]aamp_SetRate rate(1)->(4)
1615825050:101 : [AAMP-PLAYER]aamp_SetRate cur pipeline: playing
1615825050:101 : [AAMP-PLAYER]TeardownStream:4580 mProgressReportFromProcessDiscontinuity:0 mDiscontinuityTuneOperationId:0 newTune:0
1615825050:102 : [AAMP-PLAYER]StopWaitForPlaylistRefresh:7118 track [audio]
1615825050:102 : [AAMP-PLAYER]StopWaitForPlaylistRefresh:7118 track [video]
1615825050:102 : [AAMP-PLAYER]StopWaitForPlaylistRefresh:7118 track [video]
1615825050:104 : [AAMP-PLAYER]AAMPGstPlayer::Flush:3440 Pipeline is in PLAYING state position 0.000000 ret 1

1615825050:108 : [AAMP-PLAYER]alsasink1 PAUSED -> PAUSED (pending PAUSED)
1615825050:108 : [AAMP-PLAYER]abin PAUSED -> PAUSED (pending PAUSED)
1615825050:109 : [AAMP-PLAYER]playsink PAUSED -> PAUSED (pending PAUSED)
1615825050:109 : [AAMP-PLAYER]playbin3 PAUSED -> PAUSED (pending PAUSED)
1615825050:109 : [AAMP-PLAYER]AAMPGstPlayerPipeline PAUSED -> PAUSED (pending PAUSED)
1615825050:109 : [AAMP-PLAYER]msg type: reset-time
1615825050:145 : [AAMP-PLAYER]westerossink1 PAUSED -> PAUSED (pending PAUSED)
1615825050:145 : [AAMP-PLAYER]vbin PAUSED -> PAUSED (pending PAUSED)
1615825050:145 : [AAMP-PLAYER]playsink PAUSED -> PAUSED (pending PAUSED)
1615825050:145 : [AAMP-PLAYER]playbin2 PAUSED -> PAUSED (pending PAUSED)
1615825050:146 : [AAMP-PLAYER]msg type: reset-time
1615825050:146 : [AAMP-PLAYER]PlayerInstanceAAMP() : AVE DRM disabled
1615825050:146 : [AAMP-PLAYER]hls fragment collector seekpos = 6.000000
1615825050:146 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::Init:4073 Main manifest retrieved from cache
1615825050:147 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::GetPlaylistURI():3418 Couldn't find subtitle URI for preferred language: 
1615825050:628 : [AAMP-PLAYER]aamp: EXT-X-PLAYLIST-TYPE - VOD
1615825050:628 : [AAMP-PLAYER]IndexPlaylist iframe StartTimeForPlaylistSync : 0.000000 
1615825050:629 : [AAMP-PLAYER]GetCompletionTimeForFragment:2232 bad index! mediaSequenceNumber=-1, indexFirstMediaSequenceNumber=0
1615825050:629 : [AAMP-PLAYER]GetFormatFromFragmentExtension:3496 Could not find extension from line KeyFrames(video=0,format=m3u8-aapl)
1615825050:629 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::GetStreamOutputFormatForTrack 7720 Track[0] format is 7 [avc1.]
1615825050:629 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::Init : Configure video TS track demuxing demuxOp 2
1615825050:629 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::Init:4816 seek target out of range, mark EOS. playTarget:6.000000 End:6.366000. 
1615825050:629 : [AAMP-PLAYER]mpStreamAbstractionAAMP Init Failed.Seek Position(6.000000) out of range(6)
1615825050:629 : [AAMP-PLAYER]NotifyEOSReached: Enter . processingDiscontinuity 0
1615825050:629 : [AAMP-PLAYER]SetCallbackAsDispatched:7585 id not in mPendingAsyncEvents, insert and mark as not pending
1615825050:629 : [AAMP-PLAYER]AAMP_EVENT_EOS
1615825050:629 : [AAMP-PLAYER]SetCallbackAsPending:7602 id already in mPendingAsyncEvents and completed, erase it
1615825050:629 : [AAMP-PLAYER]SetCallbackAsDispatched:7585 id not in mPendingAsyncEvents, insert and mark as not pending
1615825050:629 : [AAMP-PLAYER]SetCallbackAsPending:7602 id already in mPendingAsyncEvents and completed, erase it
1615825050:629 : [AAMP-PLAYER]SetCallbackAsDispatched:7585 id not in mPendingAsyncEvents, insert and mark as not pending
1615825050:629 : [AAMP-PLAYER]AAMP_EVENT_SPEED_CHANGED
1615825050:629 : [AAMP-PLAYER]SetCallbackAsPending:7602 id already in mPendingAsyncEvents and completed, erase it
[AAMP-PLAYER] aamp-cli> 



XRE message for set speed 4 (1x)

2019 Jun 27 14:04:25.127952 pacexi5 Receiver[6829]: Thread-6829 [VideoResource] - playbackmode [VOD] setSpeed [4] REQUEST overshoot[0]

AAMPWebvideo call for set speed

2019 Jun 27 14:04:25.128377 pacexi5 Receiver[6829]: Thread-6829 [AAMP-WEB] - callMethodInBrowser -> calling setSpeed

AAMP native call for set speed


AAMP native call for set speed
[AAMP-PLAYER] aamp-cli> ff 4
1615825050:101 : [AAMP-PLAYER]aamp_SetRate(4)overshoot(0) ProgressReportDelta:(105)
1615825050:101 : [AAMP-PLAYER]aamp_SetRate Adj position: 6.000000
1615825050:101 : [AAMP-PLAYER]aamp_SetRate rate(1)->(4)
1615825050:101 : [AAMP-PLAYER]aamp_SetRate cur pipeline: playing


Stopping current playback to process trick play for speed 4. Stopping the audio video injector thread

Stopping current playback to process trick play for speed 4. Stopping the audio video injector thread
1615828166:962 : [AAMP-PLAYER]SetRate:433 PLAYER[0] rate=4.
1615828166:962 : [AAMP-PLAYER]aamp_SetRate(4)overshoot(0) ProgressReportDelta:(56596) 
1615828166:962 : [AAMP-PLAYER]aamp_SetRate Adj position: 0.000000
1615828166:962 : [AAMP-PLAYER]aamp_SetRate rate(1)->(4)
1615828166:962 : [AAMP-PLAYER]aamp_SetRate cur pipeline: playing
1615828166:962 : [AAMP-PLAYER]TeardownStream:4580 mProgressReportFromProcessDiscontinuity:0 mDiscontinuityTuneOperationId:0 newTune:0
1615828166:963 : [AAMP-PLAYER]StopWaitForPlaylistRefresh:7118 track [audio]
1615828166:963 : [AAMP-PLAYER]RunFetchLoop:5473: fragment collector done. track audio
1615828166:963 : [AAMP-PLAYER]RunFetchLoop:5473: fragment collector done. track video
1615828166:963 : [AAMP-PLAYER]WaitForCachedFragmentAvailable audio aborted
1615828166:963 : [AAMP-PLAYER]fragment injector done. track audio
1615828166:963 : [AAMP-PLAYER]WaitForCachedFragmentAvailable video aborted
1615828166:963 : [AAMP-PLAYER]fragment injector done. track video

Player level tune initialization and Gstreamer pipeline creation for the playback; iframe manifest request

Player level tune initialization and Gstreamer pipeline creation for the playback; iframe manifest request
[AAMP-PLAYER] aamp-cli> http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:702 : [AAMP-PLAYER]PrivateInstanceAAMP::ConfigureDashParallelFragmentDownload:8300 DASH Paraller Frag DL Config [1]
1615829269:702 : [AAMP-PLAYER]Enabling Westeros Sink
1615829269:702 : [AAMP-PLAYER]Tune:5119 : SSL Verification has not configured , default is False
1615829269:702 : [AAMP-PLAYER]aamp ipv4=1 enabled

1615829269:707 : [AAMP-PLAYER]aamp url:3,3,3,0.000000,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:716 : [AAMP-PLAYER]HttpRequestEnd: 3,3,206,0.0090,0.0088,0.0057,0.0087,0.0035,0.0000,0.0058,0.0000,101,368,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:717 : [AAMP-PLAYER]FOREGROUND PLAYER[0] aamp_tune: attempt: 1 format: HLS URL: http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)

1615829269:717 : [AAMP-PLAYER]TeardownStream:4580 mProgressReportFromProcessDiscontinuity:0 mDiscontinuityTuneOperationId:0 newTune:1
1615829269:717 : [AAMP-PLAYER]PrivateInstanceAAMP::SendEventAsync:2651 event type  14
1615829269:717 : [AAMP-PLAYER][AAMP_JS] SendEventSync(type=14)(state=1)
1615829269:717 : [AAMP-PLAYER]AAMP_EVENT_STATE_CHANGED: 1
1615829269:717 : [AAMP-PLAYER]TuneHelper:4858 playlistSeek : 0.000000 seek_pos_seconds:0.000000 culledSeconds : 0.000000 
1615829269:717 : [AAMP-PLAYER]PlayerInstanceAAMP() : AVE DRM disabled
1615829269:717 : [AAMP-PLAYER]hls fragment collector seekpos = 0.000000
1615829269:717 : [AAMP-PLAYER]aamp ipv4=1 enabled

1615829269:718 : [AAMP-PLAYER]aamp url:3,3,3,0.000000,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:721 : [AAMP-PLAYER]HttpRequestEnd: 3,3,200,0.0030,0.0031,0.0001,0.0030,0.0001,0.0000,0.0002,0.0000,3020,348,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:721 : [AAMP-PLAYER][InsertToPlaylistCache][76]  Inserted. url http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/manifest(format=m3u8-aapl)
1615829269:722 : [AAMP-PLAYER]GetBestAudioTrackByLanguage:3244 MediaCount:2 current_preferred_lang_index:1 AudioTrack: language en, noExplicitUserLanguageSelection true, aamp->preferredLanguages ""
1615829269:722 : [AAMP-PLAYER]GetBestAudioTrackByLanguage:3333 noExplicitUserLangSel:1 explicitUserLangSel:-1 pref_audio_track:-1 first_audio_match_lang:-1 not_explicit_user_lang_track:-1 default_audio_track:1 first_audio_track:0
1615829269:722 : [AAMP-PLAYER]ConfigureAudioTrack:7235 Audio profileIndex selected :1
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7315 Audio groupId selected:audio
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles 7467 AudioType Changed 0 -> 3
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=0 BW = 519402 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=2 BW = 764545 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=4 BW = 1074396 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=6 BW = 1542607 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=8 BW = 2244987 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=10 BW = 3321955 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=12 BW = 4539281 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=14 BW = 5756817 
1615829269:722 : [AAMP-PLAYER]ConfigureVideoProfiles:7495 Added to ABR, userData=16 BW = 62442 
1615829269:722 : [AAMP-PLAYER]ConfigureTextTrack:7597 TextTrack Selected :-1
1615829269:722 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::PopulateAudioAndTextTracks() 7620 Audio Track - lang:AAC_und_ch2_128kbps, group_id:audio, name:AAC_und_ch2_128kbps, codec:mp4a.40.2, characteristics:, channels:0
1615829269:723 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::PopulateAudioAndTextTracks() 7620 Audio Track - lang:AAC_und_ch2_56kbps, group_id:audio, name:AAC_und_ch2_56kbps, codec:mp4a.40.2, characteristics:, channels:0
1615829269:724 : [AAMP-PLAYER]Selected BitRate: 2244987, Max BitRate: 5756817
1615829269:724 : [AAMP-PLAYER]TrackState Restore PDT (0.000000) 
1615829269:724 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::GetPlaylistURI():3418 Couldn't find subtitle URI for preferred language: 
1615829269:724 : [AAMP-PLAYER]TrackState Restore PDT (0.000000) 
1615829269:724 : [AAMP-PLAYER]UpdateAudioLanguageSelection:7887 Update audio language from (en) -> (AAC_und_ch2_56kbps)
1615829269:724 : [AAMP-PLAYER]GetPlaylistURI : AudioTrack: language selected is AAC_und_ch2_56kbps
1615829269:724 : [AAMP-PLAYER]StreamAbstractionAAMP_HLS::GetStreamOutputFormatForTrack 7720 Track[1] format is 3 [mp4a.40.2]
1615829269:724 : [AAMP-PLAYER]TrackState Restore PDT (0.000000) 
1615829269:725 : [AAMP-PLAYER]aamp url:3,10,3,0.000000,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/QualityLevels(53114)/Manifest(AAC_und_ch2_56kbps,format=m3u8-aapl)
1615829269:729 : [AAMP-PLAYER]HttpRequestEnd: 3,10,200,0.0040,0.0042,0.0001,0.0041,0.0001,0.0000,0.0003,0.0000,265,388,http://amssamples.streaming.mediaservices.windows.net/69fbaeba-8e92-4740-aedc-ce09ae945073/AzurePromo.ism/QualityLevels(53114)/Manifest(AAC_und_ch2_56kbps,format=m3u8-aapl)
.......
2021 Apr 05 05:37:17.118008 WPEWebProcess[9456]: [AAMP-PLAYER]AAMPGstPlayerPipeline PAUSED -> PAUSED (pending VOID_PENDING)
.......
2021 Apr 05 05:37:17.268459 WPEWebProcess[9456]: [AAMP-PLAYER]AAMPGstPlayerPipeline PAUSED -> PLAYING (pending VOID_PENDING)  

iFrame fragment request, send segment; pipeline state is changing from Paused to Playing after sending the segment

iFrame fragment request, send segment; pipeline state is changing from Paused to Playing after sending the segment
2021 Apr 05 05:37:13.620380 WPEWebProcess[9456]: [AAMP-PLAYER]PrivateStreamAbstractionMPD::Init:4199 - fetch initialization fragments
2021 Apr 05 05:37:14.311736 WPEWebProcess[9456]: [AAMP-PLAYER]TuneHelper:4984 Updated seek_pos_seconds 48.000000 culledSeconds :0.000000
2021 Apr 05 05:37:14.411902 WPEWebProcess[9456]: [AAMP-PLAYER]AAMPGstPlayer::Flush:3443 Pipeline is in PAUSED state position 0.000000 ret 2
2021 Apr 05 05:37:14.436695 WPEWebProcess[9456]: [AAMP-PLAYER]AAMPGstPlayer::Configure 2484 > format 2 audioFormat 2
2021 Apr 05 05:37:14.437313 WPEWebProcess[9456]: [AAMP-PLAYER]fragment injector started. track audio
2021 Apr 05 05:37:14.437685 WPEWebProcess[9456]: [AAMP-PLAYER]msg type: reset-time
2021 Apr 05 05:37:14.440511 WPEFramework[6988]: gst_qtdemux_handle_sink_event:2320 - aamp_override - enabled = 0, player = 1, rate  1.000000
2021 Apr 05 05:37:14.440936 WPEFramework[6988]: http://cpetestutility.stb.r53.xcal.tv/players/version10/js/src/Mediaplayer.js:898:32: CONSOLE LOG AAMP: progress update: {"event":{"durationMiliseconds":888053,"positionMiliseconds":48000,"playbackSpeed":1,"startMiliseconds":0,"endMiliseconds":888053,"currentPTS":-1,"videoBufferedMiliseconds":0}}
2021 Apr 05 05:37:14.441402 WPEFramework[6988]: http://cpetestutility.stb.r53.xcal.tv/players/version10/js/src/Mediaplayer.js:904:32: CONSOLE LOG Mediaplayer.playbackProgressUpdate (AAMP): currentTime (ms): 48000
2021 Apr 05 05:37:14.437854 WPEWebProcess[9456]: [AAMP-PLAYER]Sending segment event for mediaType[1]. start 48006000518 stop 18446744073709551615 rate 1.000000 applied_rate 1.000000
2021 Apr 05 05:37:14.442513 WPEFramework[6988]: AAMPMediaPlayerJS_getSupportedKeySystems(): Invoked getSupportedKeySystems
2021 Apr 05 05:37:14.443078 WPEFramework[6988]: gst_qtdemux_handle_sink_event:2320 - aamp_override - enabled = 0, player = 1, rate  1.000000
2021 Apr 05 05:37:14.440626 WPEWebProcess[9456]: [AAMP-PLAYER]AAMPGstPlayerPipeline PAUSED -> PAUSED (pending PAUSED)
2021 Apr 05 05:37:14.440668 WPEWebProcess[9456]: [AAMP-PLAYER]msg type: reset-time
2021 Apr 05 05:37:14.440705 WPEWebProcess[9456]: [AAMP-PLAYER]msg type: reset-time
2021 Apr 05 05:37:14.440753 WPEWebProcess[9456]: [AAMP-PLAYER]msg type: reset-time
2021 Apr 05 05:37:14.440821 WPEWebProcess[9456]: [AAMP-PLAYER]fragment injector started. track video
2021 Apr 05 05:37:14.441054 WPEWebProcess[9456]: [AAMP-PLAYER]Sending segment event for mediaType[0]. start 48000000000 stop 18446744073709551615 rate 1.000000 applied_rate 1.000000

2019 Jun 27 14:04:25.947853 pacexi5 WPEWebProcess[8411]: FetchFragment:1559: iframe
2019 Jun 27 14:04:25.948082 pacexi5 WPEWebProcess[8411]: aamp url: http://odol-atsec-pan-29.col-jitp2.xcr.comcast.net/omg11/383/1001/EST_KongSkullIslandHD_E9170020_mezz_LVLH05/track-iframe-repid-508400-tc-0-frag-630.ts
...
2019 Jun 27 14:04:26.092569 pacexi5 WPEWebProcess[8411]: Sending segment event for mediaType[0]. start 1261000000000 stop 18446744073709551615 rate 1.000000 applied_rate 4.000000
...
2019 Jun 27 14:04:26.130248 pacexi5 WPEWebProcess[8411]: AAMPGstPlayerPipeline PAUSED -> PAUSED (pending PLAYING)
2019 Jun 27 14:04:26.207302 pacexi5 WPEWebProcess[8411]: AAMPGstPlayerPipeline PAUSED -> PLAYING (pending VOID_PENDING)

  • No labels