Bug 20550 - mpv as backend of smplayer can't play music cd
Summary: mpv as backend of smplayer can't play music cd
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-21 21:24 CET by katnatek
Modified: 2017-04-24 22:53 CEST (History)
1 user (show)

See Also:
Source RPM: mpv
CVE:
Status comment:


Attachments

Description katnatek 2017-03-21 21:24:20 CET
Description of problem:

When mpv is used as backend for smplayer and you try to play music
cd you get a fail.

/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --vd-lavc-skiploopfilter=all --vd-lavc-threads=4 --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=54526685 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=2 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-codepage=UTF-8 --sub-pos=100 --volume=55 --cdrom-device=/dev/sr1 --cache=auto --osd-level=0 --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/katnatek/Imágenes/smplayer_screenshots --audio-channels=2 --audio-pitch-correction=yes --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
 --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} cdda://1

Playing: cdda://1
++ WARN: Can't get file status for 1:
No such file or directory
++ WARN: could not retrieve file info for `1': No such file or directory
++ WARN: can't open nrg image file 1 for reading
[cdda] Can't open CDDA device.
Failed to open cdda://1.
Exiting... (Errors when loading file)

Version-Release number of selected component (if applicable):
 mpv-0.24.0-3
 smplayer-17.2.0-1


Steps to Reproduce:
1.Try to play music cd
2. Smplayer with mpv as backend fail

switch to mplayer as backend works well, i use a external dvd burner (if is relevant)
Comment 1 Marja Van Waes 2017-03-22 08:44:44 CET
Assigning to the registered maintainer of mpv

CC: (none) => marja11
Assignee: bugsquad => lists.jjorge
Source RPM: (none) => mpv

Comment 2 José Jorge 2017-03-22 18:45:44 CET
It works here.
Does it work if you try to use it directly :

mpv cdda://1

I suspect your external burner is not assigned the /dev/dvd link...
Comment 3 katnatek 2017-03-22 20:35:18 CET
Not sure i configure smplayerto take external drive

 mpv cdda://1
Auto-loading profile 'vo.vdpau'
'vo' auto profiles are deprecated.
Playing: cdda://1
++ WARN: Can't get file status for 1:
No such file or directory
++ WARN: could not retrieve file info for `1': No such file or directory
++ WARN: can't open nrg image file 1 for reading
[cdda] Can't open CDDA device.
Failed to open cdda://1.


Exiting... (Errors when loading file)

Log with mplayer

/usr/bin/mplayer -noquiet -slave -identify -nofs -lavdopts skiploopfilter=all:threads=4 -sub-fuzziness 1 -nodr -double -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 67108963 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 2 -ass-styles /home/katnatek/.config/smplayer/styles.ass -subcp UTF-8 -subpos 100 -volume 50 -cdrom-device /dev/sr1 -osdlevel 0 -vf-add screenshot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 cdda://2

MPlayer 1.3.0-8.mga6.tainted-5.4.0 (C) 2000-2016 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Terminal type `unknown' is not defined.

Playing cdda://2.
ID_CDDA_TRACKS=12
ID_CDDA_TRACK_1_MSF=03:41:36
ID_CDDA_TRACK_2_MSF=02:49:14
ID_CDDA_TRACK_3_MSF=02:59:12
ID_CDDA_TRACK_4_MSF=03:27:25
ID_CDDA_TRACK_5_MSF=03:14:50
ID_CDDA_TRACK_6_MSF=02:56:42
ID_CDDA_TRACK_7_MSF=03:10:27
ID_CDDA_TRACK_8_MSF=04:35:15
ID_CDDA_TRACK_9_MSF=02:31:57
ID_CDDA_TRACK_10_MSF=04:06:42
ID_CDDA_TRACK_11_MSF=03:05:62
ID_CDDA_TRACK_12_MSF=03:13:36
Found audio CD with 12 tracks.

Track 2
ID_CDDA_TRACK=2
rawaudio file format detected.
ID_AUDIO_ID=0
ID_FILENAME=cdda://2
ID_DEMUXER=rawaudio
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=1
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
ID_AUDIO_BITRATE=1411200
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 44100Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=pcm
[Mixer] No hardware mixing, inserting volume filter.
Video: no video
Starting playback...

ID_AUDIO_TRACK=0

Audio device got stuck!

Audio device got stuck!

Audio device got stuck!
Comment 4 katnatek 2017-03-31 23:23:18 CEST
Still valid, i switch to vlc, a few better experience as the moment
Comment 5 José Jorge 2017-04-22 21:39:55 CEST
I got it. mpv refuses cdda://1, it only works with cdda:// . It is an upstream problem to report either to smplayer or mpv if you want, to get this bug fixed.

Status: NEW => ASSIGNED

Comment 6 katnatek 2017-04-24 22:53:50 CEST
(In reply to José Jorge from comment #5)
> I got it. mpv refuses cdda://1, it only works with cdda:// . It is an
> upstream problem to report either to smplayer or mpv if you want, to get
> this bug fixed.

Thanks for the info, i'm not sure if is bug of mpv or smplayer, but i don't want to make my self the report.

Status: ASSIGNED => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.