OK, clarification on "lag" - during video playback, the picture will
"freeze" at random points, then jump forward to a new position when it
continues to play. This "freeze" will last anywhere from < 1 second up
to 10 to 15 seconds. The video that would normally be played during this
"freeze" is never played, it is simply skipped over. Sometimes, during
these lag moments, I notice that video playback will resume if the mouse
cursor is moved (whether that is coincidence or cause I do not know -
but moving the mouse cursor does not always cause resumption of
playback). When video playback continues, it is usually resynchronized
with audio (there was no pause, freeze, or lag in the audio output, only
in the video). It does not always occur at the same point in playback,
even in the same video file.

Here is output from mpv during playback of the test video. I did not
catch "dmesg" or "top" during the lags - I will give that another try
later today when I have a few minutes to look into it.

tracy@tracy-hp:/mnt/VM$ mpv bbb_sunflower_1080p_60fps_normal.mp4
Playing: bbb_sunflower_1080p_60fps_normal.mp4
 (+) Video --vid=1 (*) (h264 1920x1080 60.000fps)
 (+) Audio --aid=1 --alang=und (*) (mp3 2ch 48000Hz)
     Audio --aid=2 --alang=und (*) (ac3 6ch 48000Hz)
File tags:
 Artist: Blender Foundation 2008, Janus Bager Kristensen 2013
 Comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
 Composer: Sacha Goedegebure
 Genre: Animation
 Title: Big Buck Bunny, Sunflower version
AO: [pulse] 48000Hz stereo 2ch s16
Using hardware decoding (vaapi).
VO: [opengl] 1920x1080 vaapi[nv12]
AV: 00:06:26 / 00:10:34 (60%) A-V:  0.000 Dropped: 26

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:10:34 / 00:10:34 (100%) A-V:  0.000 Dropped: 636


Exiting... (End of file)
tracy@tracy-hp:/mnt/VM$ 

Note that /mnt/vm is a partition on an SSD drive attached to the
internal SATA bus, so there shouldn't be any I/O delays causing the
problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774915

Title:
  Video lag when using totem (audio does not lag)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1774915/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to