This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xml.etree.ElementTree as ET | |
import math | |
tree = ET.parse('timestamps.xml') | |
in_format = tree.find('Description/Format') | |
fps = float(in_format.attrib['FrameRate']) | |
lines = tree.findall('Events/Event') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source/common/param.cpp b/source/common/param.cpp | |
index 8695ad686..f3aaccd54 100755 | |
--- a/source/common/param.cpp | |
+++ b/source/common/param.cpp | |
@@ -1359,9 +1359,9 @@ int x265_param_parse(x265_param* p, const char* name, const char* value) | |
{ | |
if (window1 > 0) | |
p->fwdScenecutWindow = window1; | |
- if (refQpDelta1 > 0) | |
+ if (refQpDelta1 >= 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Source: https://gist.github.com/NearHuscarl/5d366e1a3b788814bcbea62c1f66241d | |
# | |
# Use wofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# wofi, wlroots based compositor | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp | |
index 415d336292..45d823294e 100644 | |
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp | |
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp | |
@@ -745,11 +745,23 @@ bool CDVDVideoCodecAndroidMediaCodec::Open(CDVDStreamInfo &hints, CDVDCodecOptio | |
goto FAIL; | |
if (m_codecname.find("OMX.Nvidia", 0, 10) == 0) | |
+ { | |
m_invalidPTSValue = AV_NOPTS_VALUE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xbmc/utils/BitstreamConverter.cpp b/xbmc/utils/BitstreamConverter.cpp | |
index d31253f7de..6fa8c6cf31 100644 | |
--- a/xbmc/utils/BitstreamConverter.cpp | |
+++ b/xbmc/utils/BitstreamConverter.cpp | |
@@ -972,10 +972,21 @@ void CBitstreamConverter::BitstreamAllocAndCopy( uint8_t **poutbuf, int *poutbuf | |
void *tmp; | |
// MTK Dolby Vision decoder (seems) to expect header of size 4 | |
- if (dovi_workaround && | |
- (nal_type == HEVC_NAL_UNSPEC62 || nal_type == HEVC_NAL_UNSPEC63)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[110nits_1x] | |
displayPeakNits = 870 | |
moviePeakNits = 110 | |
dynRatio = 1 | |
customKnee = - | |
customSteepness = + | |
kneeNits = 5.34 | |
steepnessNits = 100 | |
compression = 1 | |
topSlope = 83 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
import base64 | |
import os | |
import re | |
import sys | |
import tempfile | |
from urllib.parse import urlparse | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $ws-rename exec ~/.local/bin/sway-scripts/ws-rename | |
mode "ws-rename" { | |
bindsym 1 $ws-rename 1, mode "default" | |
bindsym 2 $ws-rename 2, mode "default" | |
bindsym 3 $ws-rename 3, mode "default" | |
bindsym 4 $ws-rename 4, mode "default" | |
bindsym 5 $ws-rename 5, mode "default" | |
bindsym 6 $ws-rename 6, mode "default" | |
bindsym 7 $ws-rename 7, mode "default" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1aecda5d8ca32ec350fce095b7a8a773300ce45a Mon Sep 17 00:00:00 2001 | |
From: quietvoid <[email protected]> | |
Date: Mon, 13 Feb 2023 09:36:57 -0500 | |
Subject: [PATCH] utils/libav: derive scene brightness info from DOVI RPU | |
Using `libdovi` to parse the RPU, as `AVDOVIMetadata` | |
does not yet parse the extension metadata blocks. | |
--- | |
src/include/libplacebo/utils/libav_internal.h | 26 +++++++++++++++++++ | |
src/meson.build | 6 +++++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
set -e | |
set -o xtrace | |
set -o pipefail | |
CUR_DATE=$(date +%Y-%m-%d) | |
BRANCH_NAME=select_hdr_fmt_build | |
BUILD_TARGET=arm-linux-androideabi |
OlderNewer