[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:16:46 -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 |
URL:
<https://savannah.gnu.org/bugs/?60888>
Summary: Cannot read a FLAC from ffmpeg that sox and VLC can
Project: GNU Octave
Submitted by: jbeale
Submitted on: Tue 06 Jul 2021 04:16:45 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: John Beale
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Using a Raspberry Pi 4 with Ubuntu 20.04, a .flac format audio file created by
ffmpeg v4.2.4 cannot be read by Octave audioread(). The function audioinfo()
shows the duration and sample count is incorrect and extremely large. 'sox'
can read and convert this same .flac file without trouble, as can Audacity and
VLC. Note that Octave can correctly read a .flac audio file generated by sox
created by converting the file to WAV format and then back to FLAC on the same
system. I attach the file in question.
octave:3> info=audioinfo("fftest.flac")
info =
scalar structure containing the fields:
Filename = /home/ubuntu/audio/fftest.flac
CompressionMethod =
NumChannels = 1
SampleRate = 8000
TotalSamples = 9.2234e+18
Duration = 1152921504606847
BitsPerSample = 16
BitRate = -1
Title =
Artist =
Comment =
octave:4> [yraw, fs] = audioread("fftest.flac");
error: out of memory or dimension too large for Octave's index type
ubuntu@ubuntu:~/audio$ sox -V fftest.wav sox.flac
sox: SoX v14.4.2
sox INFO formats: detected file format type `wav'
Input File : 'fftest.wav'
Channels : 1
Sample Rate : 8000
Precision : 16-bit
Duration : 00:00:04.97 = 39744 samples ~ 372.6 CDDA sectors
File Size : 79.5k
Bit Rate : 128k
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 06 Jul 2021 04:16:45 PM UTC Name: fftest.flac Size: 40KiB By:
jbeale
Octave cannot read this FLAC format audio file
<http://savannah.gnu.org/bugs/download.php?file_id=51653>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60888>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60888] Cannot read a FLAC from ffmpeg that sox and VLC can,
John Beale <=