Page 1 of 4

VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 May 2018 10:16
by dykimser
Thanks for your support.

I have seen video to stutter/ drop frames at the time of subtitle display when playing DVD ISO file with VLC Android player.
I found vlc-android 1.0.1 version has no video frames dropping with subtitle but, 1.1.0 version has video frame dropping problem.
And I also found no problem with my Asus Zenpad 10.1 in which Intel atom cpu is.
Finally, this occur between 1.0.1 and 1.1.0 apk with arm based cpu devices.

I am trying to find from which checkout git version this problem is.
But, I encounter compile error related with gcc compiler.
git revision ad95770 is compile OK.
git revision 7c91fed is compile error in module a52
Could anyone help to solve this compile error?

gcc version 4.8 (GCC)
configure:3495: $? = 0
configure:3484: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.

[config.log]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi --datarootdir=/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/share --includedir=/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include --libdir=/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/lib --build=i686-linux-gnu --host=arm-linux-androideabi --target=arm-linux-androideabi --program-prefix= --enable-static --disable-shared --disable-dependency-tracking --with-pic

## --------- ##
## Platform. ##
## --------- ##

hostname = hlds
uname -m = i686
uname -r = 4.13.0-36-generic
uname -s = Linux
uname -v = #40~16.04.1-Ubuntu SMP Fri Feb 16 23:26:51 UTC 2018

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/bin
PATH: /home/hlds/vlc-android/vlc/extras/tools/build/bin
PATH: /home/hlds/vlc-android/vlc/extras/tools/build/bin
PATH: /home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin
PATH: /home/hlds/bin
PATH: /home/hlds/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /home/hlds/android-sdk/platform-tools
PATH: /home/hlds/android-sdk/tools
PATH: /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2510: checking for a BSD-compatible install
configure:2578: result: /usr/bin/install -c
configure:2589: checking whether build environment is sane
configure:2644: result: yes
configure:2703: checking for arm-linux-androideabi-strip
configure:2730: result: arm-linux-androideabi-strip
configure:2795: checking for a thread-safe mkdir -p
configure:2834: result: /bin/mkdir -p
configure:2841: checking for gawk
configure:2871: result: no
configure:2841: checking for mawk
configure:2857: found /usr/bin/mawk
configure:2868: result: mawk
configure:2879: checking whether make sets $(MAKE)
configure:2901: result: yes
configure:2930: checking whether make supports nested variables
configure:2947: result: yes
configure:3077: checking whether to enable maintainer-specific portions of Makefiles
configure:3086: result: no
configure:3103: checking build system type
configure:3117: result: i686-pc-linux-gnu
configure:3137: checking host system type
configure:3150: result: arm-unknown-linux-androideabi
configure:3179: checking for arm-linux-androideabi-gcc
configure:3206: result: arm-linux-androideabi-gcc
configure:3475: checking for C compiler version
configure:3484: arm-linux-androideabi-gcc --version >&5
arm-linux-androideabi-gcc (GCC) 4.8
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3495: $? = 0
configure:3484: arm-linux-androideabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
Target: arm-linux-androideabi
Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.24 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.6 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --disable-libsanitizer --enable-gold --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
Thread model: posix
gcc version 4.8 (GCC)
configure:3495: $? = 0
configure:3484: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3495: $? = 1
configure:3484: arm-linux-androideabi-gcc -qversion >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:3495: $? = 1
configure:3515: checking whether the C compiler works
configure:3537: arm-linux-androideabi-gcc -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2 -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include -L/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/lib -L/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -lgnustl_static conftest.c >&5
/home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/hlds/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
collect2: error: ld returned 1 exit status
configure:3541: $? = 1
configure:3579: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "a52dec"
| #define VERSION "0.7.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3584: error: in `/home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec':
configure:3586: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-androideabi-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/lib -L/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -lgnustl_static'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-linux-androideabi
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=arm-linux-androideabi-gcc
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A52DEC_CFLAGS=''
ACLOCAL='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='arm-linux-androideabi-ar'
AS=''
AUTOCONF='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoconf'
AUTOHEADER='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoheader'
AUTOMAKE='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing automake-1.15'
AWK='mawk'
CC='arm-linux-androideabi-gcc'
CCDEPMODE=''
CFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
CPP=''
CPPFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DNDEBUG -I/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='arm-linux-androideabi-ld'
LDFLAGS=' -L/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/lib -L/home/hlds/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -lgnustl_static'
LIBA52_CFLAGS=''
LIBA52_LIBS=''
LIBAO_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='a52dec'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='arm-linux-androideabi-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-linux-androideabi-strip'
VERSION='0.7.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/hlds/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/install-sh'
libdir='/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/hlds/vlc-android/vlc/contrib/arm-linux-androideabi'
program_transform_name='s&^&&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='arm-linux-androideabi'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "a52dec"
#define VERSION "0.7.4"

configure: exit 77

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 May 2018 11:30
by mfkl
I found vlc-android 1.0.1 version
This version is over 3 years old. My only advice is for you to get a recent version (i.e. 3+) from https://code.videolan.org/videolan/vlc-android and start from there.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 May 2018 11:44
by dykimser
latest version also has same problem.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 May 2018 12:44
by mfkl
Do you have any logs to share regarding what you observe?

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 May 2018 18:34
by dykimser
I attach vlc android log when picture frame dropping.

https://drive.google.com/file/d/1kdbTI ... drivesdk

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 24 May 2018 12:46
by dykimser
Could any one help to check my log file?

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 25 May 2018 14:50
by dykimser
Sorry, I change access permit of log file for everyone to acess.
https://drive.google.com/file/d/1kdbT ... p=drivesdk

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 Nov 2018 23:03
by pitt66
I can confirm that I observe the same or similar problem. I have the current newest VLC for Android (that is available on play.google.com) running on Xiaomi Mi Box 4K with Android 8 (this is Android TV device).
When I play the movie from shared samba resource there is no problem with stutter or dropped frames whatsoever, but when I turn on subtitles then just before the subtitle is about to be shown there are a couple of frames being dropped. Very annoying. Subtitles file was loaded from .srt file (from the same shared resource).

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 23 Nov 2018 09:27
by unidan
I can confirm that I observe the same or similar problem. I have the current newest VLC for Android (that is available on play.google.com) running on Xiaomi Mi Box 4K with Android 8 (this is Android TV device).
When I play the movie from shared samba resource there is no problem with stutter or dropped frames whatsoever, but when I turn on subtitles then just before the subtitle is about to be shown there are a couple of frames being dropped. Very annoying. Subtitles file was loaded from .srt file (from the same shared resource).

Hi, is it 4k video playback ?

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 20 Jan 2019 01:00
by iamviswa
I confirm this issue still noticed with my Bbox Android TV, VLC for Android 3.0.13.
I notice this issue after upgrade my TV to 4K, even when playing the HD content on 4K TV has this problem.

Thanks

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 21 Jan 2019 18:41
by unidan
> I notice this issue after upgrade my TV to 4K, even when playing the HD content on 4K TV has this problem.

Thank you for the information, I'll try to take a look. when playing in 4K resolution, subtitles are rasterized in 4K, not in HD (otherwise you would have scaling artefacts and it's very ugly on text). That's why it suffers from this slow down.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 06 Feb 2019 16:13
by oornmyr
I am also encountering video stuttering just before subtitles are rendered.
I have tested this on 3 different android TV boxes (Android 4, 6 and 7) connected to TV's through HDMI. The TV's does not support 4K resolution.

I cloned and compiled the libvlc-android-samples repo (https://code.videolan.org/videolan/libv ... id-samples), it provided me with both a .apk file and a .aar library.
I have tested both using the apk, "VLC for Android" (version 3.0.96), and the .aar by building my own app on top of the libvlc .aar library. Both suffer from the same stuttering problem.

The problem does not happen on all media. I tested on a few different TV-Channel streams. The issue might be related to resolution.

NAT GEO WILD:
Observed: Stuttering when subtitle renders
Log: Mentions about 450ms of video delay when subtitle renders
Stream resolution: 1920*1080

Travel Channel HD
Observed: Slight stuttering when subtitle renders
Log: Mentions about 60ms of video delay when subtitle renders
Stream resolution: 1920*1080

NRK 1 HD
Observed: Barely noticable stuttering
Log: Mentions about 25ms of video delay
Stream resolution: 1280*720

Discovery World
Observed: No noticable stuttering
Log: No video delay mentioned
Stream resolution: 704*576

Discovery Science
Observed: No noticable stuttering
Log: No video delay mentioned
Stream resolution: 704*576

Log sample with "-vvv option enabled" when subtitles are rendered during playback of the Travel Channel HD stream:
02-06 15:50:50.173 3343-4155/se.ixanon.android.vlctest W/VLC: [f3af1e30/103b] libvlc video output: picture is too late to be displayed (missing 80 ms)
02-06 15:50:50.174 3343-4155/se.ixanon.android.vlctest W/VLC: [f3af1e30/103b] libvlc video output: picture is too late to be displayed (missing 41 ms)
02-06 15:50:50.174 3343-4155/se.ixanon.android.vlctest D/VLC: [f3af1e30/103b] libvlc video output: picture might be displayed late (missing 1 ms)

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 17 May 2019 12:18
by frabatto
same issue for me on windows 10 and 1080p video, the video often stutter often just before new sub is displayed. very annoying :(

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 17 May 2019 15:00
by unidan
Hi, I'm currently writing the fix, it should be available in the dev branch in the following weeks. Thank you for reporting this.

@frabatto: what is your CPU/system ? please don't double post on many subjects as it becomes really hard to follow after this :)

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 22 Aug 2019 01:21
by kejogdelacruz
Hello ... Any update on this issue.. thank you..

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 25 Sep 2019 17:07
by elebomin
hello,
is there any news about this issue ?
I am facing it on Android vlclib3.1.12 (dl from bintray) with mpeg2 DVB streams, and don"t what to do to improve it ...
Thanks!
Eric

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 25 Dec 2019 17:48
by EncryptedEggs
I just watched an MKV file of a movie and used the "add subtitle file" feature to use an .ass subtitle file and found that there was a brief but noticeable stutter when a new line appeared. Most noticeable when, say, camera is still and an object like a plane is moving across the screen at a constant rate, or also during the movie's credits. I don't know if this happens for subtitles that are inside the MKV file itself, but definitely happens when using an external sub file.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 04 Mar 2020 09:13
by bravia-af8
Hello,

I am using Sony Bravia 55af8 Android Oreo and still have the same issue the other guys described above. Could please guys fix it. Thanks a lot.

VLC (3.2.7) Error on Teletext subtitles (UK TV) and same error on DVB subtitles (UK TV)

Update: I've just installed 3.2.9 (beta tester) and the same subtitles stuttering error is still there.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 09 Mar 2020 09:23
by bravia-af8
guys, any chance you can fix it ?

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 14 Mar 2020 15:21
by urbelt
Yes, this needs to be fixed.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 15 Mar 2020 20:27
by marcindloza
I have exactly same issue. When playing video 4K HDR, the video stutters every time new subtitle line is displayed. Switching off subtitles resolve the issue.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 19 Apr 2020 12:35
by juanfri
Hello, I have the same issue.. 4K movie files hosted on Synology NAS, playing with AndroidTV on Philips 55OLED903/12 TV. If the subtitles are activated frames are dropped on many subtitle lines.

Saludos
Juan

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 22 Apr 2020 10:09
by calfj
I am getting this on VLC on a Sony TV, and sometimes on VLC on my Windows PC. Especially noticeable with dual-language Chinese subs because there's lots of characters being drawn.
I was worried maybe it's just the TV hardware trying to play high resolution video, I am looking for an alternative player to verify this but I have no idea what else is out there, as I've never used anything other than VLC, hah.

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 05 May 2020 05:46
by amateurninja
I have the same exact problem on my Android TV too.

The video stutters badly every time a subtitle line comes up, when playing 4K HDR videos (I use Network Stream and stream from the Internet, I don't have enough storage to test if this happens for local files too but I expect it to from the previous replies here). Switching off the subtitles fixes this problem. The same video plays fine in MX Player with subtitles on!

Looks like this is a long standing issue. Any hopes of getting a fix for this?

Re: VLC Android subtitles cause video to stutter/ drop frames

Posted: 06 May 2020 20:18
by t03apt
Same issue for me. Works fine with MX Player.