Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to play WavPack file: Could not determine type of stream #1444

Closed
3 tasks done
antonsoroko opened this issue May 22, 2024 · 6 comments
Closed
3 tasks done

Failed to play WavPack file: Could not determine type of stream #1444

antonsoroko opened this issue May 22, 2024 · 6 comments

Comments

@antonsoroko
Copy link

  • I have checked the FAQ for answers.
  • I have checked the Changelog that the issue is not already fixed.
  • I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.

Describe the bug
Failed to play WavPack file, but mpv and vlc can play it.

Error in Strawberry:

Could not determine type of stream.
../plugins/elements/gsttypefindelement.c(1186): gst_type_find_element_loop (): /GstPlayBin3:pipeline-31-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin63/GstTypeFindElement:typefindelement63

gst-play-1.0 error:

$ LANG=C gst-play-1.0 --use-playbin3 --audiosink="alsasink" xxx.wv
ERROR Could not determine type of stream. for file:///.../xxx.wv
ERROR debug information: ../plugins/elements/gsttypefindelement.c(1186): gst_type_find_element_loop (): /GstPlayBin3:playbin/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin0/GstTypeFindElement:typefindelement0
$ mediainfo xxx.wv'
General
Complete name                            : xxx.wv
Format                                   : WavPack
File size                                : 531 MiB
Duration                                 : 1 h 17 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 953 kb/s

Audio
Format                                   : WavPack
Format profile                           : 4.07
Format settings                          : Lossless
Duration                                 : 1 h 17 min
Bit rate mode                            : Variable
Bit rate                                 : 953 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits
Compression ratio                        : 1.480
Stream size                              : 531 MiB (100%)
Encoding settings                        : -h

To Reproduce
Steps to reproduce the behavior.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots:
If applicable, add screenshots to help explain your problem.

System Information:

  • Operating system: KUbuntu 24.04
  • Strawberry Version: 1.0.23

Additional context
Add any other context about the problem here.

@jonaski
Copy link
Member

jonaski commented May 22, 2024

Do you have the wavpack plugin installed?
gst-inspect-1.0 wavpack

@antonsoroko
Copy link
Author

@jonaski looks like i do:

$ LANG=C gst-inspect-1.0 wavpack
Plugin Details:
  Name                     wavpack
  Description              Wavpack lossless/lossy audio format handling
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstwavpack.so
  Version                  1.24.2
  License                  LGPL
  Source module            gst-plugins-good
  Documentation            https://gstreamer.freedesktop.org/documentation/wavpack/
  Source release date      2024-04-09
  Binary package           GStreamer Good Plugins (Ubuntu)
  Origin URL               https://launchpad.net/ubuntu/+source/gst-plugins-good1.0

  wavpackdec: Wavpack audio decoder
  wavpackenc: Wavpack audio encoder

  2 features:
  +-- 2 elements

@jonaski
Copy link
Member

jonaski commented May 23, 2024

Please run gst-play-1.0 with GST_DEBUG and GST_DEBUG_FILE, compress the logfile and attach the it here.
GST_DEBUG=5 GST_DEBUG_FILE=/tmp/gst-debug.log gst-play-1.0 --use-playbin3 --audiosink="alsasink" xxx.wv

@antonsoroko
Copy link
Author

@jonaski
i found 2 more file with the same issue. thus 3 logs:

gst-debug.log.gz
gst-debug.log.gz
gst-debug.log.gz

thanks.

@jonaski jonaski changed the title Failed to play WavPack file, but mpv and vlc can play it Failed to play WavPack file: Could not determine type of stream May 27, 2024
@jonaski
Copy link
Member

jonaski commented May 27, 2024

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3569

@jonaski
Copy link
Member

jonaski commented May 28, 2024

This issue is fixed in GStreamer so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants