#17516 new Bugs

MusicVisualisation window hides VideoFullScreen window when playing playlist with videos in TS container

Reported by: qwerty0987654321 Owned by: FernetMenta
Priority: 4 - Normal
Component: Video playback (inc. audio in video and codecs) Version: 18.0 "Leia" Alpha1
Severity: Normal Keywords:
Cc: Blocked By:
Blocking: Platform: All


Visualization window hides played video and stays on until it's cancelled manually, when playing playlist with several videos and kodi automatically switches to the next video in TS container

For test I've used following samples from kodi samples page: MPEG2_1080i_sample.mkv Samsung_UHD_Dubai.ts

files are only for example, issue happens pretty much with any TS file I have.

to reproduce:

  1. put files in directory and select from context menu on directory "Play" action
  2. wait till MPEG2_1080i_sample.mkv is played and Samsung_UHD_Dubai.ts is played automatically

result: played video is hidden by MusicVisualisation window

expected result: played video visible on screen (VideoFullScreen window)

debug log: https://pastebin.com/q02MqJhM look for: MusicVisualisation.xml in the log

additional notes:

  • TS file is played as expected if playlist overlay window is open during playback of the first file and then TS file played automatically

or TS file is picked in Files and played manually

  • if ESC is pressed while MusicVisualisation window is visible, visualization is closed and videos in playlist are played as expected until another TS file is met
  • files are on NFS server and libreelec in VM with iGPU passthrough
  • looks like the same happens with windows build as well

--- relevant excerpt from full log:

19:48:36.449 T:139646239311936  NOTICE: VideoPlayer: Opening: nfs://nas/KODI/test/video/Samsung_UHD_Dubai.ts
19:48:36.449 T:139646239311936   DEBUG: LinuxRendererGL: Cleaning up GL resources
19:48:36.449 T:139646239311936   DEBUG: CLinuxRendererGL::PreInit - precision of luminance 16 is 16
19:48:36.450 T:139644908123904   DEBUG: Thread VideoPlayer start, auto delete: false
19:48:36.450 T:139644908123904  NOTICE: Creating InputStream
19:48:36.456 T:139644908123904   DEBUG: CNFSFile::Open - opened KODI/test/video/Samsung_UHD_Dubai.ts
19:48:36.457 T:139644908123904   DEBUG: ScanForExternalSubtitles: Searching for subtitles...
19:48:36.459 T:139644908123904   DEBUG: ScanForExternalSubtitles: END (total time: 2 ms)
19:48:36.459 T:139644908123904  NOTICE: Creating Demuxer
19:48:36.460 T:139644908123904   DEBUG: Open - avformat_find_stream_info starting
19:48:36.471 T:139644908123904    INFO: ffmpeg[7F019D24B700]: [hevc] sao_enabled=0
19:48:36.525 T:139644908123904    INFO: Previous line repeats 2 times.
19:48:36.525 T:139644908123904   DEBUG: ffmpeg[7F019D24B700]: [mpegts] start time for stream 1 is not set in estimate_timings_from_pts
19:48:36.585 T:139644908123904   DEBUG: ffmpeg[7F019D24B700]: [mpegts] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
19:48:36.585 T:139644908123904   DEBUG: ffmpeg[7F019D24B700]: [mpegts] Consider increasing the value for the 'analyzeduration' and 'probesize' options
19:48:36.585 T:139644908123904   DEBUG: Open - av_find_stream_info finished
19:48:36.585 T:139644908123904    INFO: ffmpeg[7F019D24B700]: Input #0, mpegts, nfs://nas/KODI/test/video/Samsung_UHD_Dubai.t':
19:48:36.585 T:139644908123904    INFO: ffmpeg[7F019D24B700]:   Duration: 00:01:46.19, start: 1.083411, bitrate: 51815 kb/s
19:48:36.585 T:139644908123904    INFO: ffmpeg[7F019D24B700]:   Program 1
19:48:36.585 T:139644908123904    INFO: ffmpeg[7F019D24B700]:     Stream #0:0[0x101]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
19:48:36.585 T:139644908123904    INFO: ffmpeg[7F019D24B700]:     Stream #0:1[0x102](und): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp
19:48:36.585 T:139644908123904   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
19:48:36.585 T:139644908123904   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
19:48:36.585 T:139644908123904  NOTICE: Opening stream: 0 source: 256
19:48:36.585 T:139644908123904 WARNING: OpenStream - Unsupported stream 0. Stream disabled.
19:48:36.585 T:139644908123904  NOTICE: Opening stream: 1 source: 256
19:48:36.585 T:139644908123904  NOTICE: Finding audio codec for: 86018
19:48:36.585 T:139644908123904  NOTICE: Creating audio thread
19:48:36.585 T:139644896265984   DEBUG: Thread VideoPlayerAudio start, auto delete: false
19:48:36.585 T:139644908123904   DEBUG: OnPlayBackStarted: play state was 1, starting 1
19:48:36.585 T:139644896265984  NOTICE: running thread: CVideoPlayerAudio::Process()

             problem starting here                                                                vvvvvv
19:48:36.585 T:139646239311936   DEBUG: Activating window ID: 12006
19:48:36.585 T:139644908123904   DEBUG: CVideoPlayer::SetCaching - caching state 2
19:48:36.585 T:139646239311936   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------

after this  the played videos aren't visible anymore


19:48:36.898 T:139646239311936   DEBUG: ------ Window Init (MusicVisualisation.xml) ------

Attachments (1)

0001-hack-add-delay-to-avoid-MusicVisualization-window-wh.patch (3.1 KB) - added by qwerty0987654321 at 2017-07-15T10:31:26+01:00.
Workaround to avoid MusicVisualization window when starting to play vidoe in TS container

Change History (1)

Changed at 2017-07-15T10:31:26+01:00 by qwerty0987654321

Workaround to avoid MusicVisualization window when starting to play vidoe in TS container

Note: See TracTickets for help on using tickets.