xLightsSequencer / xLights

xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
GNU General Public License v3.0
553 stars 209 forks source link

Tools > Prepare Audio - Hangs when loading a Reaper file and then the MP3 file. #2862

Closed Heathbarj closed 2 months ago

Heathbarj commented 3 years ago

Below is the log, This is the MAC latest version 2021.32 Reaper file loads, and xLights UI asks for MP3 file. After, selecting the MP3 xLights just hangs and it has to be force quit in MAC OS.

2021-10-14 12:33:27,390 4654067200 log_base [DEBUG] SetMediaFile: Creating audio manager 2021-10-14 12:33:27,391 4654067200 log_base [DEBUG] Constructing xLightsVamp 2021-10-14 12:33:27,391 4654067200 log_base [DEBUG] Audio Manager Constructor start 2021-10-14 12:33:27,391 4654067200 log_base [DEBUG] Audio Manager Constructor: Loading media file. 2021-10-14 12:33:27,396 4654067200 log_base [DEBUG] Getting track metrics. 2021-10-14 12:33:27,396 4654067200 log_base [INFO] av_frame_alloc okay 2021-10-14 12:33:27,913 4654067200 log_base [INFO] Track Size: 16431288, Time Base Den: 44100 => Length 342318ms 2021-10-14 12:33:27,968 4654067200 log_base [DEBUG] Preparing to load song data. 2021-10-14 12:33:27,968 4654067200 log_base [DEBUG] SDL Audio Added: id: 0, rate: 48000, len: 65725152, lengthMS: 342318, trackSize: 16431288. 2021-10-14 12:33:27,968 123145375133696 log_base [DEBUG] DoLoadAudioData: Doing load of song data. 2021-10-14 12:33:27,968 4654067200 log_base [DEBUG] Audio Manager Constructor: Media file loaded. 2021-10-14 12:33:27,968 4654067200 log_base [DEBUG] Audio Manager Constructor: Preparing frame data. 2021-10-14 12:33:27,968 4654067200 log_base [DEBUG] Audio Manager Constructor: Preparing frame data done ... but maybe on a background thread. 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Audio file loaded. 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Filename: /Users/heathjohnson/Documents/01 - Imperial March x Carol of The Bells.mp3 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Title: Imperial March x Carol of The Bells 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Album: Star Wars: Christmas Collection 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Artist: Samuel Kim 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Length: 342318ms 2021-10-14 12:33:27,968 4654067200 log_base [INFO] Channels 2, Bits: 4, Rate 48000 2021-10-14 12:33:27,968 123145375670272 log_base [INFO] DoPrepareFrameData: Start processing audio frame data. 2021-10-14 12:33:27,968 4654067200 log_base [INFO] SetMediaFile: Audio loaded. Audio frame interval 50ms. Our frame interval 50ms 2021-10-14 12:33:27,968 123145375670272 log_base [INFO] DoPrepareFrameData: Got mutex. 2021-10-14 12:33:27,968 123145375670272 log_base [INFO] DoPrepareFrameData: waiting for audio data to load. 2021-10-14 12:33:28,971 123145375670272 log_base [INFO] DoPrepareFrameData: waiting for audio data to load. 2021-10-14 12:33:29,096 123145375133696 log_base [WARN] LoadResampledAudio: This shouldnt happen ... read [16431271] + nb_samples [18] > _tracksize [16431288] . 2021-10-14 12:33:29,097 123145375133696 log_base [DEBUG] DoLoadAudioData: Song data loaded in 1129. Read: 16431289 2021-10-14 12:33:29,974 123145375670272 log_base [INFO] DoPrepareFrameData: Data is loaded. 2021-10-14 12:33:30,090 123145375670272 log_base [INFO] Length 342318ms 2021-10-14 12:33:30,090 123145375670272 log_base [INFO] Interval 50ms 2021-10-14 12:33:30,090 123145375670272 log_base [INFO] Samples per frame 2400 2021-10-14 12:33:30,090 123145375670272 log_base [INFO] Frames 6847 2021-10-14 12:33:30,090 123145375670272 log_base [INFO] Total samples 16432800 2021-10-14 12:33:31,689 4654067200 log_base [INFO] Sequence timing set to 25 ms 2021-10-14 12:33:31,689 4654067200 log_base [DEBUG] Changing frame interval to 25 2021-10-14 12:33:31,788 123145375670272 log_base [INFO] DoPrepareFrameData: Audio frame data processing complete in 3819. Frames: 6847 2021-10-14 12:33:31,788 123145375133696 log_base [INFO] DoPrepareFrameData: Start processing audio frame data. 2021-10-14 12:33:31,788 123145375133696 log_base [INFO] DoPrepareFrameData: Got mutex. 2021-10-14 12:33:31,788 123145375133696 log_base [INFO] DoPrepareFrameData: Data is loaded. 2021-10-14 12:33:31,826 123145375133696 log_base [INFO] Length 342318ms 2021-10-14 12:33:31,826 123145375133696 log_base [INFO] Interval 25ms 2021-10-14 12:33:31,826 123145375133696 log_base [INFO] Samples per frame 1200 2021-10-14 12:33:31,826 123145375133696 log_base [INFO] Frames 13693 2021-10-14 12:33:31,826 123145375133696 log_base [INFO] Total samples 16431600 2021-10-14 12:33:33,387 123145375133696 log_base [INFO] DoPrepareFrameData: Audio frame data processing complete in 1599. Frames: 13693

computergeek1507 commented 3 years ago

can you attach the reaper file?

Heathbarj commented 3 years ago

FPD_StarWars_Carol.RPP.zip Attached

cybercop23 commented 8 months ago

Anything to do here?

derwin12 commented 2 months ago

Cant verify without the original audio .. but RPP was fixed up over the past few releases.