[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60888] Cannot read a FLAC from ffmpeg that so
From: |
John Beale |
Subject: |
[Octave-bug-tracker] [bug #60888] Cannot read a FLAC from ffmpeg that sox and VLC can |
Date: |
Tue, 6 Jul 2021 12:25:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 |
Follow-up Comment #2, bug #60888 (project octave):
Looking at the difference in the verbose output from sox between the original
.flac from ffmpeg and the re-converted one from sox, I am guessing that the
ffmpeg-generated .flac does not contain the duration and/or sample number in
the file header. Apparently the other tools can handle that omission, and
simply read until EOF to find out how many samples there are, while Octave
expects to pre-allocate memory for the file. So this may be an unavoidable
consequence of expecting the entire file to be memory-resident for later
calculations, whereas the other programs may not require that.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60888>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/