I need help to find where visualisation is started!
#1
Hello dear developers!
I've tried to find solution for nasty bug that I've described before but I failed. See what I've found in log file (some unrelevant messages omitted):
Code:
21:45:03 T:3030456208 M:1366237184   DEBUG: ExecuteXBMCAction : To PlayMedia(mms://online.svitle.org/Emmanuel)
21:45:03 T:2944998256 M:1366237184   DEBUG: thread start, auto delete: 1
21:45:03 T:2944998256 M:1366237184   DEBUG: Thread 2944998256 terminating (autodelete)
21:45:03 T:3030456208 M:1366237184   DEBUG: new file set audiostream:0
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers(mms://online.svitle.org/Emmanuel)
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
21:45:03 T:3030456208 M:1366237184   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
21:45:03 T:3030456208 M:1365094400  NOTICE: DVDPlayer: Opening: mms://online.svitle.org/Emmanuel
21:45:03 T:3030456208 M:1365094400 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:45:03 T:2944998256 M:1365094400   DEBUG: thread start, auto delete: 1
21:45:03 T:2935368560 M:1365094400   DEBUG: thread start, auto delete: 0
21:45:03 T:2935368560 M:1365094400  NOTICE: Creating InputStream
21:45:04 T:2935368560 M:1365073920    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
21:45:04 T:2935368560 M:1365073920   DEBUG: CacheSubtitles: START
21:45:04 T:2935368560 M:1365073920    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
21:45:04 T:2935368560 M:1365073920  NOTICE: Creating Demuxer
21:45:05 T:2935368560 M:1361301504   DEBUG: Open - probing detected format [asf]
21:45:05 T:2935368560 M:1361301504   DEBUG: Open - av_find_stream_info starting
21:45:05 T:2935368560 M:1361301504   DEBUG: Open - av_find_stream_info finished
21:45:05 T:2935368560 M:1361301504 WARNING: Process - Could not detect frame rate for: mms://online.svitle.org/Emmanuel. Using default of 25.000 fps for conversion of any commercial break frame markers to times.
21:45:05 T:3030456208 M:1361301504   DEBUG: OnPlayBackStarted - Playback has started
21:45:05 T:2935368560 M:1361301504    INFO: Loading skin file: DialogProgress.xml
21:45:05 T:3030456208 M:1361301504   DEBUG: CGUIInfoManager::SetCurrentMovie(mms://online.svitle.org/Emmanuel)
21:45:05 T:2935368560 M:1361301504   DEBUG: Load DialogProgress.xml: 6.62ms
21:45:05 T:2935368560 M:1361301504  NOTICE: Opening audio stream: 0 source: 256
21:45:05 T:2935368560 M:1361301504  NOTICE: Finding audio codec for: 86025
21:45:05 T:2935368560 M:1361301504   DEBUG: FactoryCodec - Audio: passthrough - Opening
21:45:05 T:2935368560 M:1361301504   DEBUG: FactoryCodec - Audio: passthrough - Failed
21:45:05 T:2935368560 M:1359142912   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
21:45:05 T:2944998256 M:1359142912   DEBUG: Thread 2944998256 terminating (autodelete)
21:45:05 T:2935368560 M:1359142912   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
21:45:05 T:2935368560 M:1359142912  NOTICE: Creating audio thread
21:45:05 T:2944998256 M:1359142912   DEBUG: thread start, auto delete: 0
21:45:05 T:2944998256 M:1359142912  NOTICE: running thread: CDVDPlayerAudio::Process()
21:45:05 T:2944998256 M:1359142912   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(0.000000, 1)
21:45:05 T:2944998256 M:1359142912  NOTICE: Creating audio device with codec id: 86025, channels: 2, sample rate: 48000, no pass-through
21:45:05 T:2944998256 M:1359142912   DEBUG: CALSADirectSound::CALSADirectSound - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec PCM - IsMusic false - IsPassthrough false - audioDevice: default
21:45:05 T:2944998256 M:1359142912   DEBUG: RemoveActiveDevice - Removing device 1
21:45:05 T:2944998256 M:1359142912   DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
21:45:05 T:2944998256 M:1359142912   DEBUG: RemoveActiveDevice - Removing device 0
21:45:05 T:3030456208 M:1359015936   DEBUG: CGUIInfoManager::SetCurrentSong(mms://online.svitle.org/Emmanuel)
21:45:05 T:3030456208 M:1359015936   DEBUG: Loading: /usr/share/xbmc/visualisations/ProjectM.vis
21:45:05 T:3030456208 M:1359015936   DEBUG: create:1152x864 at 0x0 ProjectM
21:45:05 T:2944998256 M:1359015936   DEBUG: Initialize - using alsa device default
No visualisation is started ATM since mms:// is ASF stream format, it might be OK but FreeVisualisation() is never called after that! I've tried to find how visualisation is loaded (so I can insert some come disabling it if we are playing internet stream, it doesn't work anyway so should be inited somewhere else and only for audio-only internet streams) but I could not find how CGUIVisualisationControl::LoadVisualisation() would be ever called. I even cannot understand which thread (Demux or Audio) calls this and hereby ask your help! Thank you in advance!

Updated: I've found this bug was eventually fixed together with another visualisation bug. Thank you and sorry for disturbing.
Reply

Logout Mark Read Team Forum Stats Members Help
I need help to find where visualisation is started!0