quodlibet icon indicating copy to clipboard operation
quodlibet copied to clipboard

Unable to play 32 bit FLACs

Open justjakka opened this issue 2 years ago • 0 comments

Steps to reproduce

  1. play any 32 bit FLAC file
  2. get an error

Expected Output

playback

Actual Output

gstreamer error

Which version of Quod Libet?

found in 4.5 first, error is present in 4.6 development

Which operating system

  • OS: Arch Linux
  • Host: B550 AORUS ELITE V2
  • Kernel: 6.4.3-zen1-2-zen
  • CPU: AMD Ryzen 7 5800X
  • GPU: NVIDIA GeForce GTX 1060 6GB
  • Memory: 15907MiB
  • Audio Server: PipeWire 0.3.74

If it's audio-related, what back-end?

gstreamer 1.22.4

Additional Information

Log:

D: 44.955: QueueModel.go_to: Told to go to None
D: 44.955: GStreamerPlayer._end: End song
D: 45.194: player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
D: 45.194: player.gstbe.player.__init_pipeline: User pipeline (from player.gst_pipeline): ''
D: 45.196: player.gstbe.player.__init_pipeline: GStreamer plugin pipeline: []
D: 45.196: player.gstbe.util.link_many: Attempting to link Gstreamer element(s): ['GstVolume', 'GstPulseSink']
D: 45.198: util.cover.manager.failure: Didn't get cover from FilesystemCover: This source is incapable of fetching covers
D: 45.198: util.cover.manager.failure: Didn't get cover from EmbeddedCover: This source is incapable of fetching covers
D: 45.199: WaveformSeekBar._create_waveform: Computing data for each 0.010 seconds
D: 45.209: player.gstbe.player.__about_to_finish: About to finish (async)
D: 45.213: player.gstbe.player.__about_to_finish_sync: About to finish (sync)
D: 45.213: player.gstbe.player.__about_to_finish_sync: Select next song in mainloop..
D: 45.213: PlaylistModel.next_ended: Using <Random>.next_implicit() to get next song
D: 45.213: player.gstbe.player.__about_to_finish_sync: ..done.
D: 45.213: player.gstbe.player.__about_to_finish: About to finish (async): done
D: 45.214: player.gstbe.player.__message: Recalculate latency
D: 45.214: WaveformSeekBar._on_bus_message: Error received from element flacdec9: gst-stream-error-quark: No valid frames decoded before end of stream (7)
D: 45.214: WaveformSeekBar._on_bus_message:
    Debugging information: ../gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.c(2492): gst_audio_decoder_sink_eventfunc (): /GstPipeline:pipeline10/GstURIDecodeBin:uridec/GstDecodeBin:decodebin18/GstFlacDec:flacdec9:
    no valid frames found
D: 45.214: player.gstbe.player.__destroy_pipeline: Destroying Gstreamer pipeline
W: 45.216: GStreamerPlayer._error:
    No valid frames decoded before end of stream
    no valid frames found
D: 45.246: SongFileLibrary._changed: Emitting changed for 1 item(s) (e.g. '/home/jakka/Downloads/test.flac'...) from <SongFileLibrary @ 0x7f8b7a7ac5c0>
D: 45.247: WaveformSeekBar._create_waveform: Computing data for each 0.010 seconds
D: 45.251: WaveformSeekBar._on_bus_message: Error received from element flacdec11: gst-stream-error-quark: No valid frames decoded before end of stream (7)
D: 45.251: WaveformSeekBar._on_bus_message:
    Debugging information: ../gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.c(2492): gst_audio_decoder_sink_eventfunc (): /GstPipeline:pipeline11/GstURIDecodeBin:uridec/GstDecodeBin:decodebin19/GstFlacDec:flacdec11:
    no valid frames found

also attached a sample 32 bit flac file generated with sox and transcoded with flac test.zip

justjakka avatar Jul 17 '23 22:07 justjakka