Skip to content

Instantly share code, notes, and snippets.

View orestisfl's full-sized avatar

Orestis Floros orestisfl

  • Munich, Germany
  • 00:06 (UTC +01:00)
View GitHub Profile
@orestisfl
orestisfl / GSoC-2017.md
Last active June 20, 2019 13:13
My work product submission for GSoC 2017

My work product submission for GSoC 2017

This is a copy from my blog post in https://orestisfl.github.io/GSoC-Work-Product/

Work done

With my gstreamer-vaapi patches, the vaapih264dec plugin can perform the hardware accelerated decoding of H264 MVC / SVC streams even if there is no hardware support for the stream's profile. This can be done by enabling the base-only property of the element which will make vaapih264dec drop the non-base view frames. This should make all SVC streams at least playable, something that vaapih264dec, and most well-known open source media player applications, didn't support so far.

My patches for h264parse add a similar feature:

#!/usr/bin/env python3
import i3
def main():
mpv_ids = read_ids()
focused = get_focused()
if focused['id'] in mpv_ids:
idx = mpv_ids.index(focused['id'])
prev_idx = (idx + 1) % len(mpv_ids)
#!/usr/bin/env python3
import i3
def main():
mpv_ids = read_ids()
focused = get_focused()
if focused['id'] in mpv_ids:
idx = mpv_ids.index(focused['id'])
prev_idx = (idx + 1) % len(mpv_ids)