View previous topic :: View next topic |
Author |
Message |
bario n00b
Joined: 28 Oct 2017 Posts: 8
|
Posted: Fri Jun 01, 2018 3:42 pm Post subject: [SOLVED] VLC ... Can't play audio cd! |
|
|
Code: | # dmesg | grep CD-ROM
[ 0.782767] scsi 3:0:0:0: CD-ROM PLEXTOR DVDR PX-891SAF 1.V6 PQ: 0 ANSI: 5
[ 0.811097] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 0.811257] sr 3:0:0:0: Attached scsi CD-ROM sr0
|
and my /etc/fstab
Code: |
/dev/sda1 /boot vfat defaults,noatime 0 0
/dev/sda2 / xfs defaults,noatime 0 0
/dev/sr0 /mnt/cdrom auto noauto,users,ro 0 0 |
Trying VLC to play the cd:
Code: |
$ cvlc cdda://dev/sr0
VLC media player 3.0.2 Vetinari (revision 3.0.2-0-gd7b653cf14)
[000055bb1c77dc10] dummy interface: using the dummy interface module...
[00007f68f40009e0] main input error: Your input can't be opened
[00007f68f40009e0] main input error: VLC is unable to open the MRL 'cdda://dev/sr0'. Check the log for details. |
MPV would play the cd with this:
Code: | $ mpv cdda://
Playing: cdda://
[cdda] Switched to track 1
(+) Audio --aid=1 (pcm_s16le 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch s16 |
Appreciate your help
Last edited by bario on Fri Jun 01, 2018 6:05 pm; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jun 01, 2018 4:17 pm Post subject: Re: VLC ... Can't play audio cd! |
|
|
bario wrote: | Code: | $ cvlc cdda://dev/sr0 |
|
bario ... I'm not a vlc user but that URI is missing a slash, 'cdda:///dev/sr0' ... see the file URI scheme: meaning of slash character
HTH & best ... khay |
|
Back to top |
|
|
bario n00b
Joined: 28 Oct 2017 Posts: 8
|
Posted: Fri Jun 01, 2018 4:50 pm Post subject: Re: VLC ... Can't play audio cd! |
|
|
Same error with added slash. By the way, also shows the error if trying to play audio cd from graphical mode of VLC! |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri Jun 01, 2018 5:15 pm Post subject: |
|
|
Works for me with 3.0.3. Which USE boxes did you tick on your vlc install? |
|
Back to top |
|
|
bario n00b
Joined: 28 Oct 2017 Posts: 8
|
Posted: Fri Jun 01, 2018 5:23 pm Post subject: |
|
|
asturm wrote: | Works for me with 3.0.3. Which USE boxes did you tick on your vlc install? |
This is a new Gentoo install with Plasma 5 and vlc was present after install, maybe pulled by plasma-meta package.
Here are the USE for vlc:
Code: | + + X : Enable support for, e.g., fullscreen mode via the X Window System. By itself, this
flag does not build a graphical interface
+ + a52 : Enable support for decoding ATSC A/52 streams used in DVD
+ + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
- - archive : Enable support for libarchive stream extractor
- - bidi : Enable bidirectional language support
- - bluray : Enable libbluray for Blu-ray disc support
- - cddb : Access cddb servers to retrieve and submit information about compact disks
- - chromaprint : Enable libchromaprint for Chromaprint based audio fingerprinter support
- - chromecast : Enable experimental support for Google Chromecast
+ + cpu_flags_x86_mmx : Use the MMX instruction set
+ + cpu_flags_x86_sse : Use the SSE instruction set
+ + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - dc1394 : Enable IIDC cameras support
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get
meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
+ + dts : Enable DTS Coherent Acoustics decoder support
+ + dvbpsi : Enable support for Mpeg-TS files (.ts, .m2ts, .mts) via media-libs/libdvbpsi
+ + dvd : Add support for DVDs
+ + encode : Enable streaming-output support and videolan manager to control multiple streams from
within one instance
- - faad : Enable AAC audio decoding library support via media-libs/faad2
- - fdk : Enable the Fraunhofer AAC codec library
+ + ffmpeg : Enable ffmpeg/libav-based audio/video codec support
+ + flac : Add support for FLAC: Free Lossless Audio Codec
- - fluidsynth : Enable Fluidsynth MIDI software synthesis (with external sound fonts)
- - fontconfig : Support for configuring and customizing font access via media-libs/fontconfig
+ + gcrypt : Enable cryptography support via libgcrypt
- - gme : Enable support for media-libs/game-music-emu for playing various video game music
formats
- - gnome-keyring : Enable support for storing passwords via gnome-keyring
- - gstreamer : Enable GStreamer based decoding support (currently supports only video decoding)
- - ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
- - jack : Add support for the JACK Audio Connection Kit
+ + jpeg : Add JPEG image support
- - kate : Adds support for Ogg Kate subtitles via libkate
- - libass : SRT/SSA/ASS (SubRip / SubStation Alpha) subtitle support
- - libav : Prefer libav over ffmpeg whenever both are supported
- - libcaca : Add support for colored ASCII-art graphics
+ + libnotify : Enable desktop notification support
+ + libsamplerate : Build with support for converting sample rates using libsamplerate
- - libtar : Uses libtar instead of the built-in tar reader for reading custom skins
- - libtiger : Enable Ogg Kate subtitles rendering using libtiger
- - linsys : Enable support for Linux Linear Systems Ltd. SDI and HD-SDI input cards
- - lirc : Add support for lirc (Linux's Infra-Red Remote Control)
- - live : Enable live555 streaming media support (client support for rtsp)
- - lua : Enable Lua scripting support, needed for including support for Jamendo (online music
platform) and similar things
- - macosx-notifications : Enable Mac OS X notifications module (formerly growl)
- - matroska : Enable matroska support using reference libraries (fallback on other existing matroska
support if disabled, i.e., matroska enabled FFmpeg)
- - microdns : Enable Chromecast auto-detection using net-libs/libmicrodns
- - modplug : Add libmodplug support for playing SoundTracker-style music files
+ + mp3 : Add support for reading mp3 files
+ + mpeg : Add libmpeg2 support for mpeg-1 and mpeg-2 video streams
- - mtp : Enable support for Media Transfer Protocol
- - musepack : Enable support for the musepack audio codec
+ + ncurses : Add ncurses support (console display library)
- - nfs : Enable support for nfs protocol via net-fs/libnfs
+ + ogg : Add support for the Ogg container format (commonly used by Vorbis, Theora and flac)
- - omxil : Enable OpenMAX Integration Layer codec module
- - opencv : Enable OpenCV (computer vision) filter module
- - optimisememory : Enable optimisation for memory rather than performance
- - opus : Support opus decoding via libopus
+ + png : Add support for libpng (PNG images)
- - postproc : Enable image post-processing via libpostproc (part of FFmpeg)
- - projectm : Enable the projectM visualization plugin
+ + pulseaudio : Add support for PulseAudio sound server
+ + qt5 : Add support for the Qt 5 application and UI framework
- - rdp : Enables RDP/Remote Desktop support
- - rtsp : Enable real audio and RTSP modules
- - run-as-root : Allows vlc to start for root. Don't enable this unless you have a very specific (e.g.
embedded) need for it!
- - samba : Add support for SAMBA (Windows File and Printer sharing)
- - schroedinger : Enable Dirac video support (an advanced royalty-free video compression format) via
libschroedinger (high-speed implementation in C of the Dirac codec)
- - sdl-image : Enable sdl image video decoder (depends on sdl)
- - sftp : Enable libssh2 to support SFTP file transfer
- - shout : Enable libshout output
- - sid : Adds support for playing C64 SID files through media-libs/libsidplay:2
- - skins : Enable support for the skins2 interface
- - soxr : Enable SoX Resampler support via media-libs/soxr
- - speex : Add support for the speex audio codec (used for speech)
+ + ssl : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
+ + svg : Add support for SVG (Scalable Vector Graphics)
- - taglib : Enable tagging support with taglib
- - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles
this internally, so don't set it in make.conf/package.use anymore
- - theora : Add support for the Theora Video Compression Codec
- - tremor : Enable tremor, a fixed-point version of the Ogg Vorbis decoder
+ + truetype : Add support for FreeType and/or FreeType2 fonts
- - twolame : Enable twolame support (MPEG Audio Layer 2 encoder)
+ + udev : Enable virtual/udev integration (device discovery, power and storage device support,
etc)
- - upnp : Enable support for the Intel SDK stack based UPnP discovery module instead of
CyberLink
- - v4l : Enable support for video4linux (using linux-headers or userspace libv4l libraries)
- - vaapi : Enable Video Acceleration API for hardware decoding
- - vcd : Video CD support
- - vdpau : Enable the Video Decode and Presentation API for Unix acceleration interface
- - vnc : Enable VNC (remote desktop viewer) support
+ + vorbis : Add support for the OggVorbis audio codec
- - vpx : Enable the decoder(s) from the WebM VP8 / VP9 Codec SDK
- - wayland : Enable dev-libs/wayland backend
- - wma-fixed : Enable fixed point WMA decoder
+ + x264 : Enable h264 encoding using x264
- - x265 : Support X265 Encoder
+ + xml : Add support for XML files
- - zeroconf : Enable support for zero-configuration networking via avahi
- - zvbi : Enable support for teletext subtitles via the zvbi library
|
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri Jun 01, 2018 5:52 pm Post subject: |
|
|
Yes, this is a use flag combination issue that unfortunately went unnoticed during testing phase. Will be fixed in -r1, in the meantime please rebuild with USE=vcd and it should be fixed. |
|
Back to top |
|
|
bario n00b
Joined: 28 Oct 2017 Posts: 8
|
Posted: Fri Jun 01, 2018 6:06 pm Post subject: |
|
|
asturm wrote: | Yes, this is a use flag combination issue that unfortunately went unnoticed during testing phase. Will be fixed in -r1, in the meantime please rebuild with USE=vcd and it should be fixed. |
Great....it is working now! Thank you. Marked as solved. |
|
Back to top |
|
|
|