03-23-2025, 07:16 PM
|
#1 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
I have a NAS full of audio.
When previewing an mp3 (especially long ones) in Media Explorer, Reaper completely freezes for a long time and eventually recovers. The slower the internet connection, the longer it takes to recover. What I think is happening is, Reaper is buffering the entire mp3 which is different from playing WAV or even FLAC which begins playing immediately while buffering in the background. Any chance this can be looked at? I've had to convert mp3s to FLAC (lol) just to navigate these types of folders.
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
03-26-2025, 01:37 PM
|
#2 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
![]() 1. I click on mp3s. they take multiple seconds to load over the network, it seems like it's loading the entire mp3 before starting playback 2. those same mp3s but converted to flac - Instant preview Even on reasonable network conditions, having to wait for a 100+MB mp3 to Completely load before starting the preview, is not ideal. Especially when FLAC (larger files!) loads instantly. Thank you!
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
03-26-2025, 10:27 PM
|
#3 |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
It builds an index of the mp3 file to support sample-accurate seeking. It should be possible to have it use the Xing/LAME header to avoid some of that (for short files, anyway), but for now live with it.
also FYI for larger files (more than 12MB), it creates a .reapindex file so it only has to build the index once. |
|
|
03-26-2025, 10:36 PM
|
#4 | |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Quote:
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
|
03-27-2025, 12:29 AM
|
#5 | |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Quote:
thanks again.
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop Last edited by ferropop; 03-27-2025 at 01:03 AM. |
|
|
|
03-27-2025, 02:31 PM
|
#6 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
Not easily -- side note, are your files CBR or VBR? If CBR we can probably optimize them to not require an indexing. |
|
|
|
03-27-2025, 03:33 PM
|
#7 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
almost always CBR yeah, and for one-offs maybe this is impetus to convert them to CBR
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
03-28-2025, 12:37 AM
|
#8 | |
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 18,260
|
Quote:
(I did have huge latency with my NAS when using software that opens some 1000 small files - due to mechanical disk rather than SSD, but this is not the case here.) |
|
|
|
03-28-2025, 06:46 AM
|
#9 | |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Quote:
also Justin chimed in and seems willing to optimize for CBR (which will fix this!) so I'm not sure why the pushback?
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop Last edited by ferropop; 03-28-2025 at 10:59 AM. |
|
|
|
03-28-2025, 04:13 PM
|
#10 |
|
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 18,260
|
No pushback at all. Just confirming that the network is not the problem but something else .
|
|
|
03-28-2025, 07:06 PM
|
#11 |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
could also make you a .reapindex generator for the command line, let me know what OS you want it for (or if you want to compile it yourself)
|
|
|
03-28-2025, 08:41 PM
|
#12 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Oh man thank you so much, for Windows would be amazing. Do they get saved alongside the mp3s or in the peaks folder?
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
03-29-2025, 11:24 AM
|
#13 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
it will go alongside the media unless you use the -subdir option (which will put them in peaks/) it will not create .reapindex for CBR files (the next builds will not need them), unless you use the -forceforcbr option (which would be good for 7.35 etc). as a side note, 7.35 and earlier ignore .reapindex for files that are smaller than 12MB, so this won't help you for those small files. in the next build, there will be an .ini file setting you can set to reduce that threshold to use .reapindex for smaller files. |
|
|
|
03-29-2025, 11:26 AM
|
#14 | |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Quote:
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
|
03-30-2025, 08:22 AM
|
#15 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Here's some powershell for anyone wanting to run this on their entire sample drive. Just place both this and the exe in the root:
Code:
Get-ChildItem -Recurse -Filter *.mp3 | ForEach-Object {
& "build_reapindex.exe" -subdir $_.FullName
}
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop Last edited by ferropop; 03-30-2025 at 08:29 AM. |
|
|
03-30-2025, 10:19 AM
|
#16 |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
you can also do build_reapindex -subdir C:\path\to\mp3s
|
|
|
04-03-2025, 08:18 AM
|
#17 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Code:
MPEG layer 3, @ 44100 Hz 2 channels
Length: 1:23:49.356
Encoding: CBR (no header)
Channel Mode: Joint Stereo
Bitrate (average): 320 kbps
192531 frames in file [indexed]
Metadata:
Date: 2013
ID3 tags:
TDAT: 3103
TIME: 2023
TYER: 2013
XMP tags:
dc/format: audio/mpeg
Other file sections:
ID3:PRIV:XMP
This mp3 was touched by the above util you wrote btw, just so you know what was in place. Thank you so much this is so so helpful if it can work!
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
04-03-2025, 09:37 AM
|
#18 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
hmm lacks a proper LAME header, wonder why? what was it created with? can you compare the .reapindex file generated by the util vs the one available after REAPER generates it? How is REAPER configured for peak-paths? Maybe the util-generated one is in peaks/ and REAPER isn't configured to look in peaks/? |
|
|
|
10-13-2025, 10:19 AM
|
#19 | |||
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Sorry this took a sec!
It's still having to load the entire mp3 over the network for me, despite /peaks existing for the target mp3s, so I'll answer the above questions: Quote:
Quote:
![]() ![]() Quote:
![]() Always here to help squash!
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop Last edited by ferropop; 10-13-2025 at 10:25 AM. |
|||
|
|
10-13-2025, 10:29 AM
|
#20 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
Hmm link to the file? This one looks very similar but not the same, maybe yours is truncated slightly? https://archive.org/details/KmartFebruary1990 anyway post a link to your actual file and I'll take a look, maybe it's corrupt and reaper vs build_reapindex do something slightly different. Last edited by Justin; 10-13-2025 at 10:40 AM. |
|
|
|
10-13-2025, 12:42 PM
|
#21 |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
10-13-2025, 01:25 PM
|
#22 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
Confirmed that's the exact same file. Re: your post in https://forum.cockos.com/showthread....66#post2857966, what version of REAPER was that output from? What does it show if you view the properties now with 7.48? And what OS/arch? |
|
|
|
10-13-2025, 02:32 PM
|
#23 | |
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 3,547
|
Quote:
Not sure if it's the same file, but same collection for sure. On 7.48 today : MPEG layer 3, @ 44100 Hz 2 channels Length: 1:24:42.515 Encoding: CBR (no header) Channel Mode: Joint Stereo Bitrate (average): 320 kbps 194566 frames in file [indexed] Metadata: Date: 2013 ID3 tags: TDAT: 3003 TIME: 1325 TYER: 2013 XMP tags: dc/format: audio/mpeg Other file sections: ID3:PRIV:XMP Win 10/11 x64 Windows
__________________
FERRO production / reaper substack : https://substack.com/@ferromontanino instagram : http://www.instagram.com/ferropop |
|
|
|
10-16-2025, 10:14 AM
|
#24 | |
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,810
|
Quote:
I compared the files, they are byte-for-byte the same. As far as this goes, apparently there was a bug in 0403, however there are no changes to the mp3 decoder's code since then. So maybe it was a different file or it failed reading some of the file over the network. Can you reproduce any issue (reapindex getting regenerated for that file after being made by the command line tool, etc?) now? |
|
|
|
![]() |
| Thread Tools | |
|
|