Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
big track does not play
04-06-2020, 16:47 (This post was last modified: 04-06-2020 17:03 by lyapounov.)
Post: #1
big track does not play
I have an issue, and honestly it is hard for me to know where the problem is.

I have a very big single flac track, over one hour (64:46 minutes:seconds); 303Mo

Lumin app does see the file as 64:46 minutes, but on the top circle, it says 64:46 for half a second, then switch to 2:37, and the music stops at 2:37 (renderer is Klimax DS)

On another renderer (Yamaha WXAD-10), the top circle says 64:46 but again, the music stops at 2:37

I switched from lumin to Kazoo as a controller, well again the music stops at 2:37 and there is absolutely no indication of timing on this track.

I have looked at the file in audacity, and all is perfect, the 64 minutes are there.

What could it possibly be ?
Thx !
Find all posts by this user
Quote this message in a reply
04-06-2020, 17:15 (This post was last modified: 04-06-2020 17:35 by lyapounov.)
Post: #2
RE: big track does not play
OK: I have the same issue with other big files !

79:38 => 17:30
73:42 => 11:34
73:33 => 11:25
64:36 => 2:28

And here is the weird thing: for all those big files, the difference between the real timing and the timing the file is played is constant, and is 3728 seconds (62 minutes, 8 seconds)

I have actually 8 tracks which are above 3728 seconds (all my library is in synology mariadb, with lots of details ;-). And for all of them, the same phenomenon: the track is cut by 3728 seconds.

So the logic is: track is played it's timing modulo 3728 ;-)

Simon, looks like an overflow somewhere ???
Find all posts by this user
Quote this message in a reply
04-06-2020, 21:53
Post: #3
RE: big track does not play
Are you transcoding the FLAC file (for example, to WAV) when you play it? If so, what is the sample rate/bit depth of the original and transcoded versions?
Find all posts by this user
Quote this message in a reply
05-06-2020, 06:05 (This post was last modified: 05-06-2020 06:12 by lyapounov.)
Post: #4
RE: big track does not play
(04-06-2020 21:53)simoncn Wrote:  Are you transcoding the FLAC file (for example, to WAV) when you play it? If so, what is the sample rate/bit depth of the original and transcoded versions?

yes: flac:wav24;192
all original tracks are 16/44

and I confirm that if I don't do any transcoding, the problem has disappeared, the file is played correctly and entirely

I use ffmpeg from http://johnvansickle.com/ffmpeg/
Find all posts by this user
Quote this message in a reply
05-06-2020, 08:10 (This post was last modified: 05-06-2020 08:16 by simoncn.)
Post: #5
RE: big track does not play
The WAV file format is limited to 4 GB maximum size. A 24/192 stereo file uses 1152000 bytes per second. The limit of 4 GB will be reached after 3728.27 seconds.
Find all posts by this user
Quote this message in a reply
05-06-2020, 08:37
Post: #6
RE: big track does not play
(05-06-2020 08:10)simoncn Wrote:  The WAV file format is limited to 4 GB maximum size. A 24/192 stereo file uses 1152000 bytes per second. The limit of 4 GB will be reached after 3728.27 seconds.

OK, that explains the 3728, but not why it takes the modulo. If it where a file, it would be cut at 3728 seconds; while here it takes only the remains of the division.

Anyway, I will downplay the frequency, which is not a big deal. Maybe that should deserve a warning somewhere on your web site ?

Thx Simon !
Find all posts by this user
Quote this message in a reply
05-06-2020, 08:53
Post: #7
RE: big track does not play
The modulo is explained because MinimServer's calculation of the file size uses a long integer which is automatically truncated to 32 bits when assigned to the stream length field. I think it would be a good idea to change this as you suggest and I will add this change to the next update. I will also add a comment to the Transcoding section to explain that WAV streams are limited to being less than 4GB.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)