View Single Post
Old 22nd November 2015, 06:51   #29  |  Link
mustafa
Registered User
 
Join Date: Nov 2015
Posts: 1
Pass "-g seconds" as an encoding parameter

Quote:
Originally Posted by xyzone View Post
Is there a way to get VP9 video to seek properly? I only have mpv to work with, and the version of VLC I'm using can't play VP9. But I also try playing on chrome and the same thing happens. On firefox, too, and there the colors in the video are all messed up, but that's another issue.

Here is a short sample that I encoded with ffmpeg (libvpx-vp9). When you try to seek forward, which is 10 seconds on mpv, it goes to 00:02:46. Is there supposed to be some encoding option to get around this issue?
This is a strange default for ffmpeg with libvpx, the max distance between key-frames is 9999, you should pass something like '-g 150' when encoding to make it about 5 seconds.
http://ffmpeg.org/ffmpeg-all.html#libvpx
https://github.com/Kagami/webm.py/wi...tings#defaults
https://chromium.googlesource.com/we...x_iface.c#1440

Regards
mustafa is offline   Reply With Quote