Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

macOS specific usage questions
NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 28 Feb 2015 05:08

After upgrading to VLC 2.2.0, my display turns off after a period of inactivity even when a video is playing. This happens in both fullscreen and windowed mode. It did not happen with VLC 2.1.X. MacBook Pro with Retina Display, OS X 10.10.2.
Last edited by NilsE on 01 Mar 2015 00:35, edited 1 time in total.

DeRaaf
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2014 04:01

Re: Display turns off while playing video (VLC 2.2.0, OS X 10.10.2)

Postby DeRaaf » 28 Feb 2015 18:44

I second that. MacBook pro i5, OS X 10.10.2

edit:

Allthough not a "life threatening" bug (easily circumvented by not allowing the computer to turn off screen), it's really annoying. I reverted back to the previous version. 2.2.0 is just a little to buggy for me. Liked the styling changes though.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Display turns off while playing video (VLC 2.2.0, OS X 10.10.2)

Postby dfuhrmann » 28 Feb 2015 21:33

Works fine for me.

Would it be possible for you to upload a VLC log (from the messages window) to a service like pastebin.com and give a link here? Then we can look why its not working for you.

NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Re: Display turns off while playing video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 28 Feb 2015 23:51

I tried to replicate with a local video file, and couldn't. Maybe the fact that I'm using livestreamer is important. I edited the thread title to reflect that.

They're short logs, so I'll just paste them here.

1. I saved this log after the video had been playing for about thirty seconds, before the screen had a chance to darken and turn off. This is the entire log:

Code: Select all

core debug: VLC media player - 2.2.0 Weatherwax core debug: Copyright © 1996-2015 the VideoLAN team core debug: revision 2.2.0-rc2-290-g1f0f561 core debug: configured with ../extras/package/macosx/../../../configure '--prefix=/Users/fpk/Desktop/vlc-2.2/release/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-growl' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-eyetv' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-sdl' '--disable-samplerate' '--disable-macosx-dialog-provider' '--with-macosx-version-min=10.6' '--build=x86_64-apple-darwin10' 'build_alias=x86_64-apple-darwin10' 'CC=xcrun clang' 'CFLAGS=' 'LDFLAGS=' 'CXX=xcrun clang++' 'OBJC=xcrun clang'
2. This is a fresh instance of VLC. I waited until the screen darkened and turned off, then waited about ten more minutes (audio continued to play), then woke the screen by wiggling the cursor, then logged back into my user account, then saved this log:

Code: Select all

core debug: VLC media player - 2.2.0 Weatherwax core debug: Copyright © 1996-2015 the VideoLAN team core debug: revision 2.2.0-rc2-290-g1f0f561 core debug: configured with ../extras/package/macosx/../../../configure '--prefix=/Users/fpk/Desktop/vlc-2.2/release/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-growl' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-eyetv' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-sdl' '--disable-samplerate' '--disable-macosx-dialog-provider' '--with-macosx-version-min=10.6' '--build=x86_64-apple-darwin10' 'build_alias=x86_64-apple-darwin10' 'CC=xcrun clang' 'CFLAGS=' 'LDFLAGS=' 'CXX=xcrun clang++' 'OBJC=xcrun clang' core debug: picture might be displayed late (missing 9 ms) core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms) core error: ES_OUT_RESET_PCR called core debug: discarded audio buffer core debug: discarded audio buffer core debug: discarded audio buffer core debug: discarded audio buffer core debug: discarded audio buffer core debug: Buffering 0% core debug: Buffering 3% core debug: Buffering 6% core debug: Buffering 10% core debug: Buffering 13% core debug: Buffering 16% core debug: Buffering 20% core debug: Buffering 23% core debug: Buffering 26% core debug: Buffering 30% core debug: End of audio preroll core debug: Buffering 33% avcodec debug: available hardware decoder output format 81 (vda_vld) core debug: Buffering 36% avcodec debug: available hardware decoder output format 120 (vda) core debug: Buffering 40% avcodec debug: available software decoder output format 0 (yuv420p) core debug: Buffering 43% core debug: looking for hw decoder module matching "any": 1 candidates core debug: no hw decoder modules matched core debug: Buffering 46% core debug: Buffering 50% core debug: Buffering 53% core debug: Buffering 56% core debug: Buffering 60% core debug: Buffering 63% core debug: Buffering 66% core debug: Buffering 70% core debug: Buffering 73% core debug: Buffering 76% core debug: Buffering 80% core debug: Buffering 83% core debug: Buffering 86% core debug: Buffering 90% core debug: Buffering 93% core debug: Buffering 96% core debug: Buffering 100% core debug: Stream buffering done (1033 ms in 1 ms) core debug: End of video preroll core debug: Received first picture core debug: Decoder wait done in 6 ms core debug: picture might be displayed late (missing 9 ms) core debug: picture might be displayed late (missing 4 ms) core warning: picture is too late to be displayed (missing 30 ms) core debug: picture might be displayed late (missing 12 ms) core debug: VoutDisplayEvent 'resize' 2560x1430 window

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby dfuhrmann » 01 Mar 2015 08:53

Sorry, I forgot to mention: Please open the messages window _before_ starting playback, and keep it open. Otherwise you only get half of the logs.

DeRaaf
New Cone
New Cone
Posts: 3
Joined: 22 Feb 2014 04:01

Re: Display turns off while playing video (VLC 2.2.0, OS X 10.10.2)

Postby DeRaaf » 01 Mar 2015 10:53

I tried to replicate with a local video file, and couldn't. Maybe the fact that I'm using livestreamer is important. I edited the thread title to reflect that.
That I also second. I used a live streamer initiated from popcorn.

I reverted back to the previous version of VLC but think the logs should be the same as NilsE's.

NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 01 Mar 2015 16:51

Command:

Code: Select all

livestreamer ustream.tv/NASAHDTV worst --player "/Applications/VLC.app/Contents/MacOS/VLC --file-logging --log-verbose=2 --logmode=html --logfile=vlc-log.html"
I waited for the screen to darken and turn off, and then immediately woke the screen before I was kicked back to the login screen. Then I quit VLC.

Result:
Log.

Don't worry about the TS discontinuity errors. Not all streams have them.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby dfuhrmann » 01 Mar 2015 17:16

I can reproduce the problem when piping a file to VLC. So it seems to be related to the fact that VLC is started on command line, and/or input is the pipe. Could you open a bug report on https://trac.videolan.org/vlc/ ? Thanks.

NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 01 Mar 2015 17:47

Created ticket #14046. Apologies in advance if I didn't use proper procedure to set ticket severity/milestone/etc.

NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 08 Mar 2015 02:48

dfurhmann, I also notice that the play/pause button is always shown as a “play” arrow when I’m streaming. It works as a play/pause button, but the appearance of the control doesn’t change. Is this also related to #11585? Can you reproduce on a file piped in on the command line?

(How do you pipe in a file from the command line? I tried

Code: Select all

cat file.mpg | /Applications/VLC.app/Contents/MacOS/VLC -
, but interface threw “No suitable interface module”.)

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby dfuhrmann » 08 Mar 2015 18:04

Yes, its the same issue, and we know why already.

But its not easy to fix, because simple fixes whould change the behaviour for VLC usage from command line.

NilsE
New Cone
New Cone
Posts: 7
Joined: 28 Feb 2015 05:01

Re: Display turns off while playing livestreamer video (VLC 2.2.0, OS X 10.10.2)

Postby NilsE » 08 Mar 2015 18:22

OK, thanks.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests