bugGNU Octave - Bugs: bug #54251, audiowrite fails for 24 bit flac...

 
 

bug #54251: audiowrite fails for 24 bit flac files

Submitter:  Antonio Toma <aatoma>
Submitted:  Thu 05 Jul 2018 05:43:57 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Antonio Toma Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Jul 2018 04:31:41 PM UTC, comment #2: 

This has been fixed on the development branch of Octave in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/4f6c985ca28a).  It will be a part of the 5.0.0 release this December.

If you need to write 24-bit FLAC in the meantime you will need to build from the development source code.

Rik <rik5>
Group administrator
Thu 05 Jul 2018 06:50:07 PM UTC, comment #1: 

Could you post some sample code that demonstrates the error?  The data can be random numbers, I just want to see the form of audiowrite you used.

Rik <rik5>
Group administrator
Thu 05 Jul 2018 05:43:57 PM UTC, original submission:  

Trying to write audio data to a flac file specifying a value of 24 for the additional parameter 'BitsPerSample', result in error

error: audiowrite: failed to open output file 'Song.flac': Format not recognised.

despite audioformats returning

name: FLAC (Free Lossless Audio Codec)
extension: flac
id: 1507328
subformats:
  Signed 8 bit PCM
  Signed 16 bit PCM
  Signed 24 bit PCM

among others.
It succeeds if BitPerSample is 8 or 16.
I tried this on a Windows build with the same result, so I don't think this relates to my Linux configuration

Antonio Toma <aatoma>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44514:  flac_error.txt added by aatoma (5KiB - text/plain - shell session from windows build)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by aatoma (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-06 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2018-07-06 aatoma Attached File- Added flac_error.txt, #44514
    2018-07-05 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code