[Solved] Problem with video and audio stuttering

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Uzerrr
Posts: 33
Joined: Mon Jan 14, 2013 11:32 am

[Solved] Problem with video and audio stuttering

Post by Uzerrr »

Hello everyone :)
From time to time some video files playback stutters for me. After some time playback 90% of time goes back to normal, sometimes it doesn't.
I have noticed today in debug this info:
DEBUG 2018-02-20 18:56:55.902 [mencoder.exe-4-2] [mpeg2video @ 01fd8940]rc buffer underflow
DEBUG 2018-02-20 18:56:55.903 [mencoder.exe-4-2] [mpeg2video @ 01fd8940]max bitrate possibly too small or try trellis with large lmax or increase qmax
How can I fix this problem?
Thank you very much in advance! :)
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with video and audio stuttering

Post by valib »

Have you tried to use FFmpeg (which is the default transcoding engine) instead of Mencoder?
Uzerrr
Posts: 33
Joined: Mon Jan 14, 2013 11:32 am

Re: Problem with video and audio stuttering

Post by Uzerrr »

Yes, I've tried to use mencoder becouse sometimes problem didn't happen then.
With ffmpeg:
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] packet too large, ignoring buffer limits to mux it
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=2535 size=2560
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=1990 size=2560
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=1445 size=2560
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=900 size=2560
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=355 size=2560
DEBUG 2018-02-21 20:09:56.405 [ffmpeg64.exe-4-2] [vob @ 000000000451eb40] buffer underflow st=1 bufi=2375 size=2560
And this message seems to happen when problem pops-in.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Problem with video and audio stuttering

Post by Nadahar »

Is your CPU powerful enough? What CPU do you have?
Uzerrr
Posts: 33
Joined: Mon Jan 14, 2013 11:32 am

Re: Problem with video and audio stuttering

Post by Uzerrr »

I5-3570k, 8GB RAM, Windows 10. Although problems like these I had even when I had Win8.1.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Problem with video and audio stuttering

Post by Nadahar »

Hmm, that should be plenty. I was just an idea, but it seems like a dead end.
Uzerrr
Posts: 33
Joined: Mon Jan 14, 2013 11:32 am

Re: Problem with video and audio stuttering

Post by Uzerrr »

I thought that maybe my HDD is a problem, but I have tried and moved files to SSD but it didn't help.
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with video and audio stuttering

Post by valib »

The discussion is worthless when you not follow the instruction written in red above and not send the log.
Uzerrr
Posts: 33
Joined: Mon Jan 14, 2013 11:32 am

Re: Problem with video and audio stuttering

Post by Uzerrr »

Of course, I am sorry.
Here is the log file. I run the file for 2+ minutes and problems appears @9s and @2min10s
http://www81.zippyshare.com/v/nCDa3Omv/file.html
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Problem with video and audio stuttering

Post by Nadahar »

Zippyshare is full of intrusive ads and generally inconvenient for us, so I'm attaching the file here.
Attachments
ums_dbg.zip
(107 KiB) Downloaded 510 times
Post Reply