Opened 4 years ago

Last modified 4 months ago

#16331 new bug

Unable to play audio CDs

Reported by: BeOSR Owned by: bga
Priority: normal Milestone: Unscheduled
Component: File Systems/cdda Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking: #17223
Platform: All

Description

After mounting audio CD's, these are not recognised by any audio app and MediaPlayer is unable to play them (stops after a second or two)

Attachments (2)

Bug_mediaplayer_2020-06-30_21-28.png (38.4 KB ) - added by BeOSR 4 years ago.
MediaPlayer debug output
Bug_mediaplayer_2020-07-03_21-28.png (497.5 KB ) - added by BeOSR 4 years ago.
Output from ffplay

Download all attachments as: .zip

Change History (8)

comment:1 by diver, 4 years ago

I'm afraid there is not enough information in this ticket. What errors do you get? Start MediaPlayer from Terminal and see what it outputs there.

by BeOSR, 4 years ago

MediaPlayer debug output

comment:2 by diver, 4 years ago

Can you play it in ffplay? pkgman install cmd:ffplay

by BeOSR, 4 years ago

Output from ffplay

comment:3 by BeOSR, 4 years ago

It's very weird: I tried several apps, and the results vary wildly: ffplay: works without a hitch. MediaPlayer: zilch, doesn't work at all. Audacious: reads something, but is completely hacked up, as if every frame is read and rendered a dozen times before going to the next frame and doing the same. Fre:ac: works fine, apart from getting track info from internet. QMMP: doesn't work at all, same as MediaPlayer, but completely crashes the app (Shift-Ctrl-Alt click required to kill it). Clementine: doesn't play, buffers during 4-5 seconds, then advances 1 second and buffers during 4-5 seconds again before advancing another second and so on.

Maybe the issue is some Linux library, but that wouldn't explain MediaPlayer, right?

Attached is the output I got from ffplay.

comment:4 by waddlesplash, 3 years ago

Component: - GeneralFile Systems/cdda
Keywords: audio CD playing removed
Owner: changed from nobody to bga

It appears cddafs does not use the file cache at all. That might explain some of the stranger behavior here.

comment:5 by waddlesplash, 3 years ago

Blocking: 17223 added

comment:6 by KitsunePrefecture, 4 months ago

Haiku Beta4 x86_64

Issue still persist in case Audio CD playing.

Mediaplayer plays the tracks, but no sound output at all, however it does not muted, and Mediaplayer appears in Mixer.Main amp is also not muted.

CDPlayer just runs through all tracks when play button clicked. When reaches last track - disappear all and empty its display. Only pause enlights and that's all.

VLC ?? It used to be play anything on windows and Linux as it has codecs, devices in libraries .. at least on Windows, Linux distros it worked for me. Here, on Haiku it is a bit tricky, as does not handle well Haiku devices. It cannot interpret both the mount point directory, or the scsi device in the df command output. VLC cannot play this MRL error messages comes at trying playing as Audio CD - when opens as optical device. Both the mount point or the mounted scsi raw device. I do not know vlc how could use the cddafs to read the disc.

QMMP was a huge disappoinment, could not handle to play tracks in the /Audio CD directory from desktop icon - adding as a directory.. It had crashed when I clicked on first track in the playlist of the Audio CD

thread 2989: Qmmp (main)

state: Exception (General protection fault)

Clementine - does nothing when clicking on Audio CD reading feature under Devices, but gives an error message as CD drive cannot be read.

Strawberry is similar - it reports 'Unable to open CDIO device.' It is strande, as libcdio and libcdio_paranoia is installed an is the newest version.

~> pkgman search cdio Status Name Description


S libcdio A library to encapsulate CD-ROM reading and control

libcdio0 A library to encapsulate CD-ROM reading and control libcdio0_devel A library to encapsulate CD-ROM reading and control (development files) libcdio0_source A library to encapsulate CD-ROM reading and control (source files) libcdio1 A library to encapsulate CD-ROM reading and control libcdio1_debuginfo A library to encapsulate CD-ROM reading and control (debug info) libcdio1_devel A library to encapsulate CD-ROM reading and control (development files) libcdio1_source A library to encapsulate CD-ROM reading and control (source files) libcdio_debuginfo A library to encapsulate CD-ROM reading and control (debug info) libcdio_devel A library to encapsulate CD-ROM reading and control (development files)

S libcdio_paranoia An advanced CDDA reader with error correction

libcdio_paranoia_debuginfo An advanced CDDA reader with error correction (debug info) libcdio_paranoia_devel An advanced CDDA reader with error correction (development files) libcdio_paranoia_source An advanced CDDA reader with error correction (source files) libcdio_source A library to encapsulate CD-ROM reading and control (source files)

~> ~> ~> pkgman search cdio -D Repository Name Version Arch


<system> libcdio 2.1.0-3 x86_64 <----- HaikuPorts libcdio 2.1.0-3 x86_64 HaikuPorts libcdio0 0.94-3 x86_64 HaikuPorts libcdio0_devel 0.94-3 x86_64 HaikuPorts libcdio0_source 0.94-3 source HaikuPorts libcdio1 2.0.0-4 x86_64 HaikuPorts libcdio1_debuginfo 2.0.0-4 x86_64 HaikuPorts libcdio1_devel 2.0.0-4 x86_64 HaikuPorts libcdio1_source 2.0.0-4 source HaikuPorts libcdio_debuginfo 2.1.0-3 x86_64 HaikuPorts libcdio_devel 2.1.0-3 x86_64 <system> libcdio_paranoia 10.2_2.0.1-1 x86_64 <----- HaikuPorts libcdio_paranoia 10.2_2.0.1-1 x86_64 HaikuPorts libcdio_paranoia_debuginfo 10.2_2.0.1-1 x86_64 HaikuPorts libcdio_paranoia_devel 10.2_2.0.1-1 x86_64 HaikuPorts libcdio_paranoia_source 10.2_2.0.1-1 source HaikuPorts libcdio_source 2.1.0-3 source ~>

Would strawberry need an alternate version of this library to get device with CDIO ?

QMPlay2 does nothing with optical media.

Cantata,SkyMPC only for networked stuff, Audio CD is locally attached device. , OpenCubicPlayer list tracks in the mounted directory, I accepted that I can navigate only with keyboard, but unfortunately no sound after I hit enter on first track. ... and after a while it stops reading the CD. I closed this terminal-like program finally.

I tried out ffplay, that works, but a bit unconvenient to play all tracks with it.

Finally I tried out a media converter program - assuming as ffplay works, it might use ffmpeg and will play them as well from a list.

It is freac : that can read in the tracks, it have control buttons to play/pause/stop/skip forward and back tracks.

Well, I assumed in Beta4 I can play Audio CD, Video DVD with a media player -- native or ported -

DVD Video seems work vith VLC using - at least a drag'n'drop of the icon. Open still opens the drive as a data DVD, showing the directories, not launching the play. I can live with it.

Audio CD still can't playable just as is.

Could you fix it, please ?

Note: See TracTickets for help on using tickets.