If Haiku Beta 3 64bit cannot play DVD... Audio CD performance is very poor in MediaPlayer

I cannot play DVDs (Region 2) with MediaPlayer, VLC, and SMplayer…
No idea why, Haiku was playing DVD in the past even it took some time then to load the DVD with VLC.

Please can you all confirm and test the DVD and Audio performance on the Drive (not files)?

Edit:
The mount path has to be set each time you use VLC:

It is not!: /dev/dvd

Can you play audio CDs the old way - play the virtual WAV files exposed by the cdda_fs in Media Player?

To find the correct device mount path use the DriveSetup app:

or the df command in Terminal:

Then insert the correct Device mount path in VLC:

VLC will not find the DVD path automatically nor store it in preferences!

In SMPlayer you have to insert the mount path in CD an DVD preference field:

Then the DVD’s will play!

Edit: If the DVD plays in VLC you can then drag n’ drop the DVD icon to the VLC player to play it! No need to insert the mount device point each time for the DVD.

2 Likes

I just tried but it is a very poor performance!

If I copy the .wav files MediaPlayer will play them just fine!

How to runn the files in Terminal?

1 Like

I experience exactly the same issue with direct play performance vs copied .wavs!

Probably this is a bug in cddafs and should be fixed. Please do open a ticket if there is not one already.

3 Likes

Ahoy !

I searched for this issue for playing Audio CDs, I saw it was in Beta3, but it still persists.
Also I’ve seen the requested ticket and that was closed, as
ticket #16331 is still open about it.

I added my update on Haiku Beta4 x86_64, asking for fix it.

Asked CD play in terminal :

> ffplay /Audio\ CD/Track\ 01.wav 
ffplay version 4.2.9 Copyright (c) 2003-2023 the FFmpeg developers
  built with gcc 13.2.0 (2023_08_10)
  configuration: --prefix=/packages/ffmpeg-4.2.9-3/.self --bindir=/packages/ffmpeg-4.2.9-3/.self/bin --datadir=/packages/ffmpeg-4.2.9-3/.self/data/ffmpeg --incdir=/packages/ffmpeg-4.2.9-3/.self/develop/headers --libdir=/packages/ffmpeg-4.2.9-3/.self/lib --shlibdir=/packages/ffmpeg-4.2.9-3/.self/lib --mandir=/packages/ffmpeg-4.2.9-3/.self/documentation/man --disable-debug --disable-stripping --disable-static --enable-shared --enable-version3 --enable-openssl --enable-libvorbis --enable-libspeex --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libass --enable-libfdk-aac --enable-fontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-gmp --enable-libopenjpeg --enable-libopenmpt --enable-libsnappy --enable-libsoxr --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-lzma
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
OpenGL load add-on: /boot/system/add-ons/opengl/Software Pipe
OpenGL add-on registered: /boot/system/add-ons/opengl/Software Pipe
GalliumContext: CreateDisplay: Using llvmpipe (LLVM 12.0.1, 256 bits) driver.
Input #0, wav, from '/Audio CD/Track 01.wav': 0KB sq=    0B f=0/0   
  Duration: 00:02:54.89, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
 194.90 M-A: -0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   

[1]+  Megállítva            ffplay /Audio\ CD/Track\ 01.wav
~> ps ffplay
Team                                                  Id #Threads  Gid  Uid 
/bin/ffplay                                         2090       32    0    0 

Thread                                   Id    State Prio    UTime    KTime
ffplay                                 2090      sus   10     5354     2286 
SDLTimer                               2091      sus   10        0        0 
SDLApplication                         2092      sus   10        2        2 
w>/Audio CD/Track 01.wav               2098      sus   15       18       23 
llvmpipe-0                             2102     wait   10    19968      978 
llvmpipe-1                             2103     wait   10    17631     1006 
llvmpipe-2                             2104     wait   10    17718      991 
llvmpipe-3                             2105     wait   10    17038     1030 
llvmpipe-4                             2106     wait   10    16559      967 
llvmpipe-5                             2107     wait   10    14933      939 
llvmpipe-6                             2108     wait   10    13507      938 
llvmpipe-7                             2109     wait   10    23915      939 
pthread func                           2110     wait   10        0        0 
pthread func                           2111     wait   10        0        0 
pthread func                           2112     wait   10        0        0 
pthread func                           2113     wait   10        0        0 
pthread func                           2114     wait   10        0        0 
pthread func                           2115     wait   10        0        0 
pthread func                           2116     wait   10        0        0 
pthread func                           2117     wait   10        0        0 
read_thread                            2121      sus   10      332      387 
_BMediaRoster_                         2130      sus   20        0        0 
SDL Audio control                      2131      sus  110      182      125 
audio_decoder                          2132      sus   10      281       81 
pthread func                           2133      sus   10        0        0 
pthread func                           2134      sus   10        0        0 
pthread func                           2135      sus   10        0        0 
pthread func                           2136      sus   10        0        0 
pthread func                           2137      sus   10        0        0 
pthread func                           2138      sus   10        0        0 
pthread func                           2139      sus   10        0        0 
pthread func                           2140      sus   10        0        0 
~> kill -9 ffplay
[1]+  Kill Thread             ffplay /Audio\ CD/Track\ 01.wav
~> 
~> 
~> ps ffplay
~> 


After I checked the help - for buttons to toggle stuff while playing to do not need to interrupt and change the volume.

~> ffplay --help
ffplay version 4.2.9 Copyright (c) 2003-2023 the FFmpeg developers
  built with gcc 13.2.0 (2023_08_10)
......
......

While playing:
q, ESC              quit
f                   toggle full screen
p, SPC              pause
m                   toggle mute
9, 0                decrease and increase volume respectively
/, *                decrease and increase volume respectively
a                   cycle audio channel in the current program
v                   cycle video channel
t                   cycle subtitle channel in the current program
c                   cycle program
w                   cycle video filters or show modes
s                   activate frame-step mode
left/right          seek backward/forward 10 seconds or to custom interval if -seek_interval is set
down/up             seek backward/forward 1 minute
page down/page up   seek backward/forward 10 minutes
right mouse click   seek to percentage in file corresponding to fraction of width
left double-click   toggle full screen
~> 


As it cannot skip to next - adding one file - I searched for a GUI program.

Only fre:ac can create playlist - as it is a converter program, however it has the usual, regular control buttons as well.
Only volume cannot be controlled directly from the program - you can use Mixer to set the volume.
There is a ‘Haiku sound plugin’ that appears when playing with freac where you can set the sound volume, or just use the Main system amp slide.

Kind regards,

EDIT :

Í installed SMPlayer - that’s finally plays Audio CDs - it works with drag’n’drop the icon only.
It creates a list of tracks of the disc and start to plays them automatically flawlessly.

2 Likes