Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android VideoView在运行约24小时后开始出现口吃_Android_Video_Android Videoview_Kiosk - Fatal编程技术网

Android VideoView在运行约24小时后开始出现口吃

Android VideoView在运行约24小时后开始出现口吃,android,video,android-videoview,kiosk,Android,Video,Android Videoview,Kiosk,我有一个应用程序,旨在全天候循环播放一系列视频(将以kiosk模式安装)。一切似乎都正常,但运行了24小时后,视频开始结巴。视频直接从文件系统播放,因此网络延迟不是问题 我的日志消息没有显示任何明显的内容。当每个视频开始时,我会得到其中一个:W/MediaPlayer﹕ 信息/警告(702,0)。然后,在视频播放时,大约每秒钟播放一个视频:W/MediaPlayer﹕ 信息/警告(36865,0)。我找不到关于第二个状态码的任何信息 我不怀疑内存泄漏,因为我的使用率一直徘徊在2.5MB左右。你知

我有一个应用程序,旨在全天候循环播放一系列视频(将以kiosk模式安装)。一切似乎都正常,但运行了24小时后,视频开始结巴。视频直接从文件系统播放,因此网络延迟不是问题

我的日志消息没有显示任何明显的内容。当每个视频开始时,我会得到其中一个:
W/MediaPlayer﹕ 信息/警告(702,0)
。然后,在视频播放时,大约每秒钟播放一个视频:
W/MediaPlayer﹕ 信息/警告(36865,0)
。我找不到关于第二个状态码的任何信息

我不怀疑内存泄漏,因为我的使用率一直徘徊在2.5MB左右。你知道这是什么原因吗

编辑:我确实在全球日志中找到了这些。它们发生在口吃期间。有人知道这意味着什么和/或对解决方案有见解吗

W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
D/ISystemWriteService(  115): readSysfs could not contact remote
D/ISystemWriteService(  115): readSysfs could not contact remote
D/ISystemWriteService(  115): readSysfs could not contact remote
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
I/amplayer( 6310): **[update_state]pid:26 status=PLAYING(last:PLAYING) err=0x0 curtime=4 (ms:4473) fulltime=30 lsttime=4
I/amplayer( 6310): **[update_state]abuflevel=0.18177669 vbublevel=0.34421411 abufrp=9871880 vbufrp=7b46200 read_end=1
V/AmlogicPlayer( 6310): update_process pid=26, current=4,status=[PLAYING]
V/AmlogicPlayer( 6310): Playing percent =13,mPlayTime:4473,mStreamTime:4473
V/AmlogicPlayer( 6310): Playing percent on percent=99,bufed pos=7223869,Duration=7249275
V/AmSuperPlayer( 6310): [notify::498]
V/AmSuperPlayer( 6310): [Notify::505]
V/AmSuperPlayer( 6310): cookie=0xb7307d40,msg=3,ext1=63,ext2=0
V/MediaPlayerService( 6310): [27] notify (0xb723d660, 3, 99, 0)
D/ISystemWriteService(  115): readSysfs could not contact remote
V/AmSuperPlayer( 6310): [notify::498]
V/AmSuperPlayer( 6310): [Notify::505]
V/AmSuperPlayer( 6310): cookie=0xb7307d40,msg=c8,ext1=9001,ext2=0
V/MediaPlayerService( 6310): [27] notify (0xb723d660, 200, 36865, 0)
I/AmlogicPlayer( 6310): Got amplayer download speed : 0 kbps
D/ISystemWriteService(  115): readSysfs could not contact remote
D/ISystemWriteService(  115): readSysfs could not contact remote
W/MediaPlayer( 7190): info/warning (36865, 0)
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
I/amplayer( 6310): **[update_state]pid:26 status=PLAYING(last:PLAYING) err=0x0 curtime=5 (ms:5007) fulltime=30 lsttime=4
I/amplayer( 6310): **[update_state]abuflevel=0.17787044 vbublevel=0.34024277 abufrp=9873080 vbufrp=7b55600 read_end=1
V/AmlogicPlayer( 6310): update_process pid=26, current=5,status=[PLAYING]
V/AmlogicPlayer( 6310): Playing percent =14,mPlayTime:5007,mStreamTime:5007
V/AmlogicPlayer( 6310): Playing percent on percent=99,bufed pos=7223869,Duration=7249275
V/AmSuperPlayer( 6310): [notify::498]
V/AmSuperPlayer( 6310): [Notify::505]
V/AmSuperPlayer( 6310): cookie=0xb7307d40,msg=3,ext1=63,ext2=0
V/MediaPlayerService( 6310): [27] notify (0xb723d660, 3, 99, 0)
V/AmSuperPlayer( 6310): [notify::498]
V/AmSuperPlayer( 6310): [Notify::505]
V/AmSuperPlayer( 6310): cookie=0xb7307d40,msg=c8,ext1=9001,ext2=0
V/MediaPlayerService( 6310): [27] notify (0xb723d660, 200, 36865, 0)
I/AmlogicPlayer( 6310): Got amplayer download speed : 0 kbps
W/MediaPlayer( 7190): info/warning (36865, 0)
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers
W/AudioFlinger( 6310): OutputTrack::write() 0xb36e8008 thread 0xb6ffebc8 no more overflow buffers

这可能不是一个答案,而是一个建议。 我对基于amlogic的设备也有类似的问题

我制作的应用程序处理了大量的图像和视频直播流,基本上运行良好,直到设备启动24小时以上,就像你提到的。唯一能解决我的问题的是切换到ART(Android运行时)而不是Dalvik