Bug#855953: mplayer: Stops playing when switching to text consoles

2020-06-28 Thread Helge Kreutzmann
Hello James,
On Thu, Feb 23, 2017 at 10:19:22PM +, James Cowgill wrote:
> On 23/02/17 19:28, Helge Kreutzmann wrote:
> > Package: mplayer
> > Version: 2:1.3.0-6
> > Severity: normal
> > 
> > When I play videos and switch to text consoles (via Ctrl-Alt-F1 for
> > example) audio and video playback stops and is not resumed until I
> > return to the X shell again.
> 
> This isn't a bug, but an intentional design choice of pulseaudio /
> systemd-logind. The permissions are setup in such a way that only the
> "active" user ever has access to the audio hardware so when you switch
> to another virtual terminal the old user can no longer play any audio.

I would consider this a poor design choice. However, this design is
inconsistent. If I use "-vo null", i.e. only play audio, then
everything works as I expect, i.e. the audio continues running. 

To summarize:
*) With video: audio breaks down when switching to VT
*) Without video: audio continues when switching to VT

I believe there is a bug somewhere, although I hope in the future
audio will always continue playing. 

Greetings

   Helge



-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Bug#855953: mplayer: Stops playing when switching to text consoles

2017-02-23 Thread James Cowgill
Hi,

On 23/02/17 19:28, Helge Kreutzmann wrote:
> Package: mplayer
> Version: 2:1.3.0-6
> Severity: normal
> 
> When I play videos and switch to text consoles (via Ctrl-Alt-F1 for
> example) audio and video playback stops and is not resumed until I
> return to the X shell again.

This isn't a bug, but an intentional design choice of pulseaudio /
systemd-logind. The permissions are setup in such a way that only the
"active" user ever has access to the audio hardware so when you switch
to another virtual terminal the old user can no longer play any audio.

James



signature.asc
Description: OpenPGP digital signature


Bug#855953: mplayer: Stops playing when switching to text consoles

2017-02-23 Thread Helge Kreutzmann
Package: mplayer
Version: 2:1.3.0-6
Severity: normal

When I play videos and switch to text consoles (via Ctrl-Alt-F1 for
example) audio and video playback stops and is not resumed until I
return to the X shell again.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4  0.7.4-19
ii  libaa11.4p5-44
ii  libasound21.1.3-5
ii  libass5   1:0.13.4-2
ii  libaudio2 1.9.4-5
ii  libavcodec57  7:3.2.4-1
ii  libavformat57 7:3.2.4-1
ii  libavutil55   7:3.2.4-1
ii  libbluray11:0.9.3-3
ii  libbs2b0  3.1.0+dfsg-2.2
ii  libc6 2.24-9
ii  libcaca0  0.99.beta19-2+b1
ii  libcdio-cdda1 0.83-4.3
ii  libcdio-paranoia1 0.83-4.3
ii  libcdio13 0.83-4.3
ii  libdca0   0.0.5-10
ii  libdirectfb-1.2-9 1.2.10.0-8
ii  libdv41.0.0-11
ii  libdvdnav45.0.3-3
ii  libdvdread4   5.0.3-2
ii  libenca0  1.19-1
ii  libfaad2  2.8.0~cvs20161113-1
ii  libfontconfig12.11.0-6.7
ii  libfreetype6  2.6.3-3+b1
ii  libfribidi0   0.19.7-1
ii  libgif7   5.1.4-0.4
ii  libgl1-mesa-glx [libgl1]  13.0.4-1
ii  libjack-jackd2-0 [libjack-0.125]  1.9.10+20150825git1ed50c92~dfsg-4+b1
ii  libjpeg62-turbo   1:1.5.1-2
ii  liblirc-client0   0.9.4c-7
ii  libmad0   0.15.1b-8
ii  libmpeg2-40.5.1-7
ii  libmpg123-0   1.23.8-1
ii  libogg0   1.3.2-1
ii  libopenal11:1.17.2-4
ii  libpng16-16   1.6.28-1
ii  libpostproc54 7:3.2.4-1
ii  libpulse0 10.0-1
ii  libsdl1.2debian   1.2.15+dfsg1-4
ii  libsmbclient  2:4.5.4+dfsg-1
ii  libspeex1 1.2~rc1.2-1
ii  libswresample27:3.2.4-1
ii  libswscale4   7:3.2.4-1
ii  libtheora01.1.1+dfsg.1-14
ii  libtinfo5 6.0+20161126-1
ii  libvdpau1 1.1.1-6
ii  libvorbisidec11.0.2+svn18153-1
ii  libx11-6  2:1.6.4-3
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.11-1
ii  libxvidcore4  2:1.3.4-1
ii  libxvmc1  2:1.0.10-1
ii  libxxf86dga1  2:1.1.4-1+b1
ii  libxxf86vm1   1:1.1.4-1
ii  zlib1g1:1.2.8.dfsg-5

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2   1.0.6-8.1
ii  fontconfig  2.11.0-6.7
ii  fonts-freefont-ttf  20120503-6
ii  mplayer-doc 2:1.3.0-6
pn  netselect | fping   

-- no debconf information

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: Digital signature