VLC Android subtitles cause video to stutter/ drop frames

This forum is about all development around libVLC.
barayaser
New Cone
New Cone
Posts: 1
Joined: 22 May 2020 05:48

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

Postby barayaser » 22 May 2020 20:59

I'm still having this exact problem on my Mi box, whenever i remove the subtitle the video playback is fine. I hope you will find a solution for this soon

jockyw2001
Blank Cone
Blank Cone
Posts: 54
Joined: 24 Jun 2006 10:18

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

Postby jockyw2001 » 19 Jun 2020 19:19

Have this issue on Android TV and Firetv both with dvb and teletext subtitles. Is there any dev working on this?

User avatar
UTAVATU
New Cone
New Cone
Posts: 5
Joined: 22 Jun 2020 09:30
Location: Gdynia, Poland

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

Postby UTAVATU » 22 Jun 2020 09:43

Dear Friends

I own SONY KD-55XF9005 and I have the same issue as earlier Users. When subtitles are shown on the screen during playing .mkv 4K HDR BT.2020 23.976 it stutters and drop frames. I have tested via USB and SMB (wired ethernet connection) with the same results. There is a need to disable subtitles to fix this problem.

I would like to ask Developer, are you going to release fix version of VLC for Android or maybe there is already such version, but not on Google Play Shop?

I would be glad for any help and support.

Thank you in advance for your reply.

Sincerely
UTAVATU

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

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

Postby unidan » 22 Jun 2020 11:07

Hi

This is tracked as https://trac.videolan.org/vlc/ticket/22317, it's gonna be fixed but not right now.

User avatar
UTAVATU
New Cone
New Cone
Posts: 5
Joined: 22 Jun 2020 09:30
Location: Gdynia, Poland

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

Postby UTAVATU » 22 Jun 2020 11:44

Dear unidan
This is tracked as https://trac.videolan.org/vlc/ticket/22317, it's gonna be fixed but not right now.

Thank you for your fast reply. I don't see relationship between what I described in this topic (like other Users) and this problem described in the ticket. It's releated with Android version of VLC on Smart TV.

May you explain, what you mean?

Thank you in advance for your reply.

Sincerely
UTAVATU

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

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

Postby unidan » 22 Jun 2020 16:04

Hi,

the issue concerns every text subtitles, except maybe ssa, as it's inherent to the text renderer in VLC which output pictures with a non-unit aspect ratio. It means that subtitles needs to be resized, which is currently done in CPU using swscale. I have patches to remove the resize altogether, but it's not ready for mailing list yet.

User avatar
UTAVATU
New Cone
New Cone
Posts: 5
Joined: 22 Jun 2020 09:30
Location: Gdynia, Poland

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

Postby UTAVATU » 22 Jun 2020 17:49

Dear unidan
I have patches to remove the resize altogether, but it's not ready for mailing list yet.

Thank you for your explanations... May you be so kind and say c.a. when new VLC for Android version with this patches will be released? As far as I understand, you have already tested it and it fixes stutters and frame drops whenever subtitles are shown on screen during playback of 3840x2160 HDR movies?

Thank you once more for your great support.

Sincerely
UTAVATU

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

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

Postby unidan » 26 Jun 2020 11:32

Hi,

My patches removes the issues, but currently produces other that I still need to fix. Unfortunately I don't have precise schedule/ETA for this yet.

Regards,

User avatar
UTAVATU
New Cone
New Cone
Posts: 5
Joined: 22 Jun 2020 09:30
Location: Gdynia, Poland

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

Postby UTAVATU » 26 Jun 2020 19:21

Dear unidan
My patches removes the issues, but currently produces other that I still need to fix. Unfortunately I don't have precise schedule/ETA for this yet.

Great news about fixing the issue! :) I hope you release this fix soon, I would like to watch 4K HDR movies without stutter.

Thank you for your great support.

Sincerely
UTAVATU

sandman_artlover
New Cone
New Cone
Posts: 2
Joined: 14 Aug 2020 11:43

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

Postby sandman_artlover » 14 Aug 2020 12:13

So do you think SSA style subtitles would not have this problem? Why wouldn't they have the same issue?
Hi,

the issue concerns every text subtitles, except maybe ssa, as it's inherent to the text renderer in VLC which output pictures with a non-unit aspect ratio. It means that subtitles needs to be resized, which is currently done in CPU using swscale. I have patches to remove the resize altogether, but it's not ready for mailing list yet.

urbelt
New Cone
New Cone
Posts: 2
Joined: 14 Mar 2020 15:20

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

Postby urbelt » 03 Oct 2020 18:31

Any update on the fix?

User avatar
UTAVATU
New Cone
New Cone
Posts: 5
Joined: 22 Jun 2020 09:30
Location: Gdynia, Poland

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

Postby UTAVATU » 15 Oct 2020 19:14

Dear Friends

Does 3.3.1 resolve the problem in this topic?

Thank you in advance for your help and support.

Sincerely
UTAVATU

juanfri
New Cone
New Cone
Posts: 2
Joined: 19 Apr 2020 12:32

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

Postby juanfri » 31 Oct 2020 18:24

Having the same problem streaming from Synology 218+ to Android TV Philips 55oled903/12.
Dropping frames when new subtitle line appears. Very annoying.

VLC for Android TV 3.3.1 so no fix has been done yet.

dhlavaty
New Cone
New Cone
Posts: 1
Joined: 03 Dec 2020 17:46

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

Postby dhlavaty » 03 Dec 2020 17:54

Same problem on my TCL 55C815 with AndroidTV v9, VLC v3.3.2 (org.videolan.vlc)

Playing 2160p video with subtitles turned on is unwatchable, just stutters and/or drop frames. But same video without subtitles is absolutely smooth.

SwediahViking
New Cone
New Cone
Posts: 1
Joined: 08 Feb 2021 17:43

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

Postby SwediahViking » 08 Feb 2021 17:46

Is this fixad yet? Just wonder because I still have this issue with latest beta for android.

joshd435
New Cone
New Cone
Posts: 1
Joined: 17 Feb 2021 01:15

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

Postby joshd435 » 17 Feb 2021 01:18

Have the exact same issue on my firestick and MI box... But on my sheild tv subtitles work perfectly... Must be cpu issue?

cyberdelic
New Cone
New Cone
Posts: 4
Joined: 10 Nov 2019 10:40

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

Postby cyberdelic » 08 Mar 2021 16:42

Hi,

My patches removes the issues, but currently produces other that I still need to fix. Unfortunately I don't have precise schedule/ETA for this yet.

Regards,
Hi, any chance you can share this fix or tell us how to workaround? I like VLC a lot, but this issue is really annoying and make subtitles unusable an all Android TV and Fire TV devices.

a4tech
Blank Cone
Blank Cone
Posts: 25
Joined: 14 Aug 2020 16:55

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

Postby a4tech » 17 Mar 2021 10:42

Any chance to see a patch to try adjust it by ourselves ?

a4tech
Blank Cone
Blank Cone
Posts: 25
Joined: 14 Aug 2020 16:55

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

Postby a4tech » 07 Apr 2021 11:19

As I checked

display.c

Code: Select all

static void SubpicturePrepare(vout_display_t *vd, subpicture_t *subpicture)
function:

Code: Select all

picture_BlendSubpicture(sys->p_sub_pic, sys->p_spu_blend, subpicture);
then this method from subpicture.c

Code: Select all

unsigned picture_BlendSubpicture(picture_t *dst, filter_t *blend, subpicture_t *src)
forward us to

filter.c

Code: Select all

int filter_ConfigureBlend( filter_t *p_blend, int i_dst_width, int i_dst_height, const video_format_t *p_src )
then

Code: Select all

if( !p_blend->p_module ) p_blend->p_module = module_need( p_blend, "video blending", NULL, false );
Loading that module make freeze/drop frame on video.

Any tip or direction where to look more in that case ?

a4tech
Blank Cone
Blank Cone
Posts: 25
Joined: 14 Aug 2020 16:55

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

Postby a4tech » 09 Apr 2021 11:14

There is one more observation, when choose to play the file in the 'picture' let's call it in PIP - no problem with loosing frames and playback is smooth.

Fafascinant
New Cone
New Cone
Posts: 1
Joined: 22 Apr 2021 21:22

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

Postby Fafascinant » 22 Apr 2021 21:23

Hi,

Is there any patch for this ? What about coming back to older APK ?

Someone has a solution please ?

Thank you :)

kampmann
New Cone
New Cone
Posts: 1
Joined: 27 Apr 2021 01:02

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

Postby kampmann » 27 Apr 2021 01:13

First post is nearly three years old...

I think it's too difficult to fix...

a4tech
Blank Cone
Blank Cone
Posts: 25
Joined: 14 Aug 2020 16:55

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

Postby a4tech » 28 Apr 2021 16:14

First post is nearly three years old...

I think it's too difficult to fix...
Any tip ?

getitoutme2
New Cone
New Cone
Posts: 1
Joined: 09 Jun 2021 18:36

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

Postby getitoutme2 » 09 Jun 2021 18:42

Having this issue with Sony Android TV (XBR-65X850E)

AdvMaple
New Cone
New Cone
Posts: 1
Joined: 26 Jun 2021 12:30

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

Postby AdvMaple » 26 Jun 2021 12:33

Fixed by resizing and save as ASS file


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests