After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791975 - flacparse: duration is not correct for 24bit depth output.
flacparse: duration is not correct for 24bit depth output.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.12.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-27 07:54 UTC by Lyon
Modified: 2018-11-03 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
flacparse log (24.61 KB, text/plain)
2017-12-27 07:54 UTC, Lyon
Details

Description Lyon 2017-12-27 07:54:27 UTC
When I'm tried with one 24bit depth flac file and find that the duration got is 8'09s, however this audio actual duration is 5'09''

Some player on PC also report 8'09", but VLC reported the correct duration.
I'm wondering if this is related to the 24bit(3 byte) depth, seems I didn't find it use bps to deal with the duration
Comment 1 Lyon 2017-12-27 07:54:58 UTC
Created attachment 366002 [details]
flacparse log
Comment 2 Tim-Philipp Müller 2017-12-27 10:05:13 UTC
Not sure why this would be related to the depth. The header says it's just over 8 minutes long:

 gst_flac_dec_metadata_cb:<flacdec0> total samples = 23495157

23495157 samples / 48000 samples/second = 489.48 seconds = 8'09

Sounds you have a file that was truncated?
Comment 3 Lyon 2017-12-27 10:10:37 UTC
yes, according to the total samples and sample rate, it should be 8'09,
but actually the file is 5'10. another possibility is the wrong information was stored in header..


I have this test file.
but it is too big to upload in the ticket. (20M+)
Anywhere maybe I can upload this clip?
Comment 4 GStreamer system administrator 2018-11-03 15:25:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/428.