Jump to content


Photo

Android TV Playback Stutters After A Minute

playback stutter playback lag playback stall stutter lag stall

Best Answer ebr , 29 January 2019 - 09:57 AM

Hi.  It looks like the bitrate is just too high for either the device, the network conditions or the network implementation on the device.

 

Most of these devices publish specs to support video up to about 20Mb/s.  This one is 33.  This box is marketed as a Live TV DVR so may not be tested with streams over 20.  Does the problem occur if you lower the in-app bitrate setting to 20?

Go to the full post


  • Please log in to reply
21 replies to this topic

#1 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 17 December 2018 - 08:43 PM

Having problems where playback seems to stutter or stall on a particular android tv box. After about a minute of playback, the problem occurs. However, I do not have this problem playing back the same media on another android tv box, namely the nvidia shield.

 

-1st server log and 1st 5 ffmpeg logs are for the affected android tv box

-2nd server log and the 6th & 7th ffmpeg log are for the unaffected nvidia shield

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134447 posts
  • Local time: 09:45 PM

Posted 18 December 2018 - 12:23 AM

What device are you trying to play on?



#3 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46041 posts
  • Local time: 09:45 PM

Posted 18 December 2018 - 11:08 AM

Hi.  Try turning off hardware acceleration and see if that makes a difference.

 

You are trying to burn in subs and ffmpeg is throwing a lot of warnings/errors.  That may or may not be related since the same thing is happening with the Shield but its worth a try.

 

(and, yes, what is the device)



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134447 posts
  • Local time: 09:45 PM

Posted 18 December 2018 - 12:05 PM

@softworkz can you review these ffmpeg logs about incompatible parameters with qsv? thanks.



#5 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 18 December 2018 - 01:15 PM

Device: Channel Master Stream+

Sent from my SM-G935P using Tapatalk

#6 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46041 posts
  • Local time: 09:45 PM

Posted 18 December 2018 - 01:38 PM

Okay, I hadn't heard of that device before.

 

It looks like the app tries to direct stream but encounters an error.  If you can follow the directions to send a log from the app, I may be able to see something.

 

Thanks.



#7 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 18 December 2018 - 02:04 PM

Hi. Try turning off hardware acceleration and see if that makes a difference.

You are trying to burn in subs and ffmpeg is throwing a lot of warnings/errors. That may or may not be related since the same thing is happening with the Shield but its worth a try.

(and, yes, what is the device)

turning off hardware acceleration seems to have worked as a workaroundAttached File  server log.txt   1.8MB   0 downloadsAttached File  ffmpeg Log.txt   177.48KB   0 downloads

Sent from my SM-G935P using Tapatalk

#8 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 18 December 2018 - 02:18 PM

Okay, I hadn't heard of that device before.

It looks like the app tries to direct stream but encounters an error. If you can follow the directions to send a log from the app, I may be able to see something.

Thanks.

After an Intel Software Update and Computer Reboot, I cannot enable hardware acceleration (when I change it to "Yes" > Save > Go to another section > Come Back > It didn't save and is set back to "No") and the picker doesn't show the brand name decoders anymore.

Sent app logs anyway (User: Sonja) Attached File  ffmpeg log 2.txt   179.65KB   1 downloadsAttached File  server log 2.txt   12.87MB   2 downloadsAttached File  Screenshot_20181218-121117_Chrome.jpeg   30.83KB   4 downloads

Sent from my SM-G935P using Tapatalk

Edited by Nisten, 18 December 2018 - 02:21 PM.


#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134447 posts
  • Local time: 09:45 PM

Posted 18 December 2018 - 02:20 PM

@softworkz

#10 softworkz ONLINE  

softworkz

    Advanced Member

  • Developers
  • 1605 posts
  • Local time: 03:45 AM

Posted 19 December 2018 - 12:56 AM

After an Intel Software Update and Computer Reboot, I cannot enable hardware acceleration (when I change it to "Yes" > Save > Go to another section > Come Back > It didn't save and is set back to "No") and the picker doesn't show the brand name decoders anymore.

 

You're accessing the server dashboard from the client app code which is already adapted for the 3.6 version.

 

Please access the server dashboard by connecting to your server from a browser directly.


Edited by softworkz, 19 December 2018 - 12:57 AM.


#11 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 23 December 2018 - 01:44 PM

Okay, I hadn't heard of that device before.

It looks like the app tries to direct stream but encounters an error. If you can follow the directions to send a log from the app, I may be able to see something.

Thanks.

App Log sent (1135am CST - User Sonja)

Playback no longer stutters but the stream info on the dashboard says "direct play error" and "media bit rate exceeded". The latter shouldn't be true or occurring since it's a DVD rip and the bit rate settings is set to auto

server & ffmpeg log attached

Sent from my SM-G935P using Tapatalk

Attached Files


Edited by Nisten, 23 December 2018 - 01:48 PM.


#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134447 posts
  • Local time: 09:45 PM

Posted 23 December 2018 - 02:21 PM

By the way I notice you're customizing some server transcoding settings such as CRF. Anytime you run into this kind of problem, the first thing you ought to be testing is resetting those back to defaults. Thanks.



#13 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 09 January 2019 - 01:13 AM

Hardware acceleration is set to QS but hardware decoding & encoding is off; haven't had anymore problems since then.



#14 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 09 January 2019 - 01:15 AM

Is there an ETA on 3.6 releasing on the public channel? My schedules direct membership recently expired and I would like to avoid renewing it.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134447 posts
  • Local time: 09:45 PM

Posted 09 January 2019 - 01:16 AM

Any day now. We're going as fast as we can. Thanks !



#16 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 20 January 2019 - 08:38 PM

Re-enabled HW transcoding and the problem reappears. Tried resetting CRF but no luck and if i recall i also disabled HWA (one-time) but the issue persisted in all scenarios

 

Also don't know if this needs to be moved to the "Android TV / Fire TV" section

Attached Files


Edited by Nisten, 20 January 2019 - 08:48 PM.


#17 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 46041 posts
  • Local time: 09:45 PM

Posted 21 January 2019 - 10:20 AM

@softworkz



#18 softworkz ONLINE  

softworkz

    Advanced Member

  • Developers
  • 1605 posts
  • Local time: 03:45 AM

Posted 22 January 2019 - 12:11 AM

Re-enabled HW transcoding and the problem reappears. Tried resetting CRF but no luck and if i recall i also disabled HWA (one-time) but the issue persisted in all scenarios

 

Also don't know if this needs to be moved to the "Android TV / Fire TV" section

 

 ffmpeg transcode log 2.txt  is showing successful transcoding through QuickSync.

 

Could you please describe where you think that you're having a problem?



#19 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 22 January 2019 - 12:23 AM

Problem is with remuxed/direct streamed video playback on this particular device. As a result, playback stutters every minute or so, lately its more frequent than that.

Turning off HWA & Lowering the bitrate during playback to force heavier (software) transcoding appears to be the workaround.

Sent from my SM-G935P using Tapatalk

Edited by Nisten, 22 January 2019 - 12:28 AM.


#20 Nisten OFFLINE  

Nisten

    Advanced Member

  • Members
  • 195 posts
  • Local time: 08:45 PM

Posted 28 January 2019 - 04:02 PM

HWA is off but the issue is still occurring. In-app log sent

 

Time: 158pm CST

User: Sonja

Action: Attempting to play Incredibles 2 (blu-ray rip)

Experience: 2-3 times within a single minute, playback actually stopped for 2-3 seconds

Attached Files







Also tagged with one or more of these keywords: playback stutter, playback lag, playback stall, stutter, lag, stall

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users