Battery drain

iOS, iPad, iPhone, tvOS specific usage questions
Madgibbon
New Cone
New Cone
Posts: 3
Joined: 02 Apr 2022 23:40

Battery drain

Postby Madgibbon » 02 Apr 2022 23:49

Has anyone else noticed excessive battery drain on the latest VLC for iPadOS? I’m seeing about 1% per minute. However watching the same video via nPlayer I’m only seeing 1% drop every 10 minutes.

I’m sure VLC used to be similar to nPlayer

bubu?
Developer
Developer
Posts: 371
Joined: 20 Jun 2017 15:29
Operating System: macOS, iOS

Re: Battery drain

Postby bubu? » 03 Apr 2022 11:16

Hello,

Could you describe the type of the video ?

Additionally, if you could share the logs from the video playback it would help us greatly !

You can enable it at the end of the settings and find the log file in the Files app.
Soomin Lee - bubu

Madgibbon
New Cone
New Cone
Posts: 3
Joined: 02 Apr 2022 23:40

Re: Battery drain

Postby Madgibbon » 04 Apr 2022 11:40

Hello,

Could you describe the type of the video ?

Additionally, if you could share the logs from the video playback it would help us greatly !

You can enable it at the end of the settings and find the log file in the Files app.
Thanks for the reply

Here’s an image showing the video info https://i.postimg.cc/2SN6dxnP/C3-B175-F ... D2-AF3.jpg

And the following is the log file created while a video was playing.

https://file.io/eAtGsQeNF7Bv

bubu?
Developer
Developer
Posts: 371
Joined: 20 Jun 2017 15:29
Operating System: macOS, iOS

Re: Battery drain

Postby bubu? » 04 Apr 2022 13:23

Could you confirm the device model and iOS version please ?
Soomin Lee - bubu

Madgibbon
New Cone
New Cone
Posts: 3
Joined: 02 Apr 2022 23:40

Re: Battery drain

Postby Madgibbon » 04 Apr 2022 21:36

Could you confirm the device model and iOS version please ?
It’s a 6th gen iPad Mini running iPadOS 15.4.1

Thanks

Freedomcamp
New Cone
New Cone
Posts: 2
Joined: 17 Oct 2021 15:04

Re: Battery drain

Postby Freedomcamp » 27 Aug 2022 08:51

i got battery drain aw well 25% for 1 hour playback on iphone 13 version: 3.3.7 (432)

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Battery drain

Postby unidan » 28 Aug 2022 10:23

Can you provide the logs during playback? You can export them to the application document folder using the following settings: Image

Meister77
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Nov 2022 13:46

Re: Battery drain

Postby Meister77 » 01 Nov 2022 14:20

On my iPad it eats a lot of battery too.
iPad Air 4. Gen
ios: 16.1

To help you, we need messages, to completely understand what your problems is.

From windows command line or linux or macos terminal, launch vlc with options -vv and --logfile=file

  • Windows example: vlc.exe -vv --logfile=c:\vlclog.txt
  • Linux example: vlc -vv --logfile=vlclog.txt, or vlc -vv 2>&1 > logfile.txt
Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)

Also don't forget to name your Operating System and provide the VLC media player version.
[DBG] VLC media player - 3.0.17.3 Vetinari
[DBG] Copyright © 1996-2022 the VideoLAN team
[DBG] revision 3.0.17.3-226-gf9d0887030
[DBG] configured with /Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/configure '--prefix=/Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/install-iPhoneOS/arm64' '--host=aarch64-apple-darwin' '--with-contrib=/Users/videolanci/builds/iHxegY-y/0/videolan/VLCKit/libvlc/vlc/contrib/iPhoneOS-aarch64-apple-darwin-aarch64' '--enable-static' '--enable-dvbpsi' '--enable-avcodec' '--disable-macosx' '--disable-macosx-qtkit' '--disable-macosx-avfoundation' '--disable-shared' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-nls' '--disable-sse' '--disable-notify' '--enable-live555' '--enable-realrtsp' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--enable-smb2' '--disable-mmx' '--disable-sparkle' '--disable-addonmanagermodules' '--disable-mad' 'host_alias=aarch64-apple-darwin' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g -DNDEBUG' 'LDFLAGS=-arch arm64 -Wl,-ios_version_min,8.4' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -mios-version-min=8.4 -arch arm64 -g' 'CCAS=gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'PKG_CONFIG_PATH='
[DBG] restart requested (1)
[DBG] Creating an input for 'S01E04.mkv'
[DBG] reusing audio output
[DBG] keeping audio output
[DBG] using timeshift granularity of 50 MiB
[DBG] using default timeshift path
[DBG] `http://192.168.0.101:8000/S01E04.mkv' gives access `http' demux `any' path `192.168.0.101:8000/S01E04.mkv'
[DBG] creating demux: access='http' demux='any' location='192.168.0.101:8000/S01E04.mkv' file='(null)'
[DBG] looking for access_demux module matching "http": 12 candidates
[DBG] no access_demux modules matched
[DBG] creating access: http://192.168.0.101:8000/S01E04.mkv
[DBG] looking for access module matching "http": 66 candidates
[DBG] looking for keystore module matching "any": 6 candidates
[DBG] no keystore modules matched
[DBG] resolving 192.168.0.101 ...
[DBG] outgoing request:
GET /S01E04.mkv HTTP/1.1
Host: 192.168.0.101:8000
Accept: */*
Accept-Language: en_US
User-Agent: VLC/3.0.17.3 LibVLC/3.0.17.3
Range: bytes=0-


[/logfile]

Meister77
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Nov 2022 13:46

Re: Battery drain

Postby Meister77 » 01 Nov 2022 14:23



Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 9 guests