[mythtv-users] mythplayer.cpp:2176 (PrebufferEnoughFrames) Player(6): Waited 102ms for video buffers AAAAAAAAAAAfff

Brian J. Murrell brian at interlinx.bc.ca
Thu Jul 21 17:35:00 UTC 2016


On Thu, 2016-07-21 at 12:38 -0400, Peter Bennett wrote:
> 
> You did not say what your symptom is. Is it jerky video or no video
> or
> something else?

Sorry, you are right.  It's jerky video.  There are clear frame
dropouts every few seconds.

> Is
> it mpeg2, x264 or something else?

ffprobe says:

  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2016-06-18 11:51:11
    title           : My Video
    artist          : 
    album           : 
    comment         : 
    encoder         : DVDFab 9.2.0.7
  Duration: 00:59:41.27, start: 0.000000, bitrate: 2063 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(bt709), 1280x720 [SAR 1:1 DAR 16:9], 1931 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2016-06-17 12:52:12
      encoder         : JVT/AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2016-06-18 11:51:11
    Stream #0:2: Video: bmp, bgra, 424x240, 90k tbr, 90k tbn, 90k tbc

> I suggest go to the playback profile, edit and try changing the
> Decoder
> to Standard.

I'm already using VDPAU Slim which has the decoder set to NVidia VDPAU
acceleration.  Will Standard be better?  I would have thought VDPAU
would have been the most efficient/CPU friendly.  Not that CPU is even
pegged during playback.

FWIW, I was using VDPAU Standard on this FE to play this content fine
before upgrading to 0.28.

A video that plays without dropouts or errors in the FE log:

Input #0, mpegts, from '...':
  Duration: 00:48:31.34, start: 0.100511, bitrate: 2596 kb/s
  Program 1 
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 118 kb/s

Something else I thought might be useful.  mythavtest on a troublesome
video results in:

2016-07-21 13:32:30.372529 I  AFD: codec AAC has 2 channels
2016-07-21 13:32:30.374661 I  AFD: Opened codec 0x8b73f80, id(AAC) type(Audio)
2016-07-21 13:32:30.394756 I  AFD: Opened codec 0x89d6120, id(H264) type(Video)
2016-07-21 13:32:30.416751 I  AOBase: Opening audio device 'NULL' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2016-07-21 13:32:30.416784 I  Opening NULL audio device, will fail.
2016-07-21 13:32:30.416817 E  AudioOutput Error: Aborting reconfigure
2016-07-21 13:32:30.416867 N  AudioPlayer: Disabling Audio, reason is: Aborting reconfigure
2016-07-21 13:32:30.522470 I  Clearing OpenGL painter cache.
2016-07-21 13:32:30.525568 I  Using 1920x1080 24.000 Hz
2016-07-21 13:32:30.638925 I  VDPAU: Created 2 output surfaces.
2016-07-21 13:32:30.639006 I  VDPAU: Version 1
2016-07-21 13:32:30.639042 I  VDPAU: Information NVIDIA VDPAU Driver Shared Library  304.131  Sun Nov  8 22:08:31 PST 2015
2016-07-21 13:32:30.639092 I  VDPAU: Created VDPAU render device 1840x1031
2016-07-21 13:32:30.738753 I  OSD: Base theme size: 1280x720
2016-07-21 13:32:30.738817 I  OSD: Scaling factors: 1.4375x1.43056
2016-07-21 13:32:30.914170 I  OSD: Base theme size: 1280x720
2016-07-21 13:32:30.914240 I  OSD: Scaling factors: 1.4375x1.43056
2016-07-21 13:32:30.917784 E  Player(0): Video sync method can't support double framerate (refresh rate too low for 2x deint)
2016-07-21 13:32:30.920590 I  Player(0): Video timing method: USleep with busy wait
2016-07-21 13:32:30.921792 I  -----------------------------------
2016-07-21 13:32:30.921837 I  Starting video performance test for '/video/....mp4'.
2016-07-21 13:32:30.921914 I  Test will run for 10 seconds.
2016-07-21 13:32:30.921957 I  Deinterlacing disabled
2016-07-21 13:32:30.969232 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2016-07-21 13:32:31.839123 I  Performance: FPS:   27.10 Mean: 36900 Std.Dev:  9465 CPUs: 2% 1% 1% 1% 
2016-07-21 13:32:32.798603 I  Performance: FPS:   24.00 Mean: 41668 Std.Dev:   228 CPUs: 26% 7% 16% 9% 
2016-07-21 13:32:33.758316 I  Performance: FPS:   24.00 Mean: 41667 Std.Dev:   221 CPUs: 25% 10% 13% 9% 
2016-07-21 13:32:34.717498 I  Performance: FPS:   24.01 Mean: 41657 Std.Dev:   250 CPUs: 25% 15% 7% 6% 
2016-07-21 13:32:35.677051 I  Performance: FPS:   24.00 Mean: 41673 Std.Dev:   200 CPUs: 25% 30% 5% 1% 
2016-07-21 13:32:36.636692 I  Performance: FPS:   24.00 Mean: 41671 Std.Dev:   210 CPUs: 24% 28% 19% 33% 
2016-07-21 13:32:37.596347 I  Performance: FPS:   24.00 Mean: 41662 Std.Dev:   239 CPUs: 24% 35% 16% 32% 
2016-07-21 13:32:38.555542 I  Performance: FPS:   24.01 Mean: 41656 Std.Dev:   270 CPUs: 24% 9% 15% 34% 
2016-07-21 13:32:39.515172 I  Performance: FPS:   23.99 Mean: 41678 Std.Dev:   197 CPUs: 25% 33% 20% 16% 
2016-07-21 13:32:40.474637 I  Performance: FPS:   24.00 Mean: 41665 Std.Dev:   223 CPUs: 23% 36% 14% 9% 
2016-07-21 13:32:40.932675 I  Complete.
2016-07-21 13:32:40.932704 I  -----------------------------------
2016-07-21 13:32:40.977669 W  MythPainter: 16 images not yet de-allocated.
2016-07-21 13:32:40.977768 I  VDPAU Painter: Clearing VDPAU painter cache.
2016-07-21 13:32:41.164606 I  Using 1920x1080 24.000 Hz
2016-07-21 13:32:41.164743 I  SwitchToGUI: Switched to 1920x1080 24.000 Hz
2016-07-21 13:32:41.906377 I  OpenGL1: Deleting OpenGL Resources
2016-07-21 13:32:41.906609 I  OpenGL: Deleting OpenGL Resources

Interestingly, that looks like it's playing at just the framerate of
the video.  I would have sworn yesterday it was playing much higher,
I'm assuming at the max, framerate the hardware could handle.

Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160721/23b6d665/attachment.sig>


More information about the mythtv-users mailing list