Skip to content

Instantly share code, notes, and snippets.

View rlaphoenix's full-sized avatar

rlaphoenix

View GitHub Profile
@rlaphoenix
rlaphoenix / mpeg_indexing_and_frame_serving.md
Created January 8, 2024 00:50
MPEG-1 and MPEG-2 Indexing and Frame Serving

MPEG-1 and MPEG-2 Indexing and Frame Serving

ONLY use DGIndex from Donald Graft's dgmpgdec suite. Alternatives like d2vwitch may sound enticing but it's simply not as efficient nor time-tested as DGIndex, even for Linux users (perfect support via Wine).

You can find it here: http://rationalqm.us/dgmpgdec/dgmpgdec.html with v1.5.8 being the latest final version. Source code compilable on Windows using VS2019 is also available and I have to thank Donald Graft for helping me with getting it repackaged from VS 2008 to VS 2019 as it had a fuck ton of breaking changes in terms of compiling on modern machines because of it, which he helped out with since he understood his code base best.

@rlaphoenix
rlaphoenix / Desample.avsi
Created January 7, 2024 07:08 — forked from kgrabs/Desample.avsi
Desampling functions for Avisynth+, replaces DebilinearM and lineart_rpow2
/*Desample.avsi - v1.3
---Included script functions---
DesampleX: Wrapper for doing various things involving DesampleMT, deinterlacers, resizers, and masks
Default behavior identical to DebilinearM, can also function as lineart_rpow2
DeCrossConversionMT: Replacement for ccc, ccc_720
---Requirements---
Avisynth+ r2455-MT or newer
@rlaphoenix
rlaphoenix / peacock.js
Created January 5, 2024 03:14 — forked from xhlove/peacock.js
peacock HMAC key frida hook script, use frida 14.2.18
function jhexdump(array) {
if(!array) return;
console.log("---------jhexdump start---------");
var ptr = Memory.alloc(array.length);
for(var i = 0; i < array.length; ++i)
Memory.writeS8(ptr.add(i), array[i]);
console.log(hexdump(ptr, {offset: 0, length: array.length, header: false, ansi: false}));
console.log("---------jhexdump end---------");
}
@rlaphoenix
rlaphoenix / tv_schedules.md
Last active August 27, 2023 07:44
Historical TV Guide/Schedules APIs and Websites
@rlaphoenix
rlaphoenix / a_is_afk_readme.md
Last active August 25, 2023 20:35
Python script that runs 24/7 hosting a "is user AFK" WebSocket server

Is AFK WebSocket Server

Run the Python script and just like that a Websocket Server on port 8765 will be running.
From here forward/open the port 8765, or reverse proxy it with Caddy or NGINX (I recommend Caddy).

The WebSocket server responds 0x00 byte if the user is currently active. It responds 0x01 byte if the user is currently AFK. You should also check if it fails to connect and mark yourself as Offline.

The xml file is a Windows Task Scheduler export. You need to change the Logon User to your own.
You should also update the path of the actions, i.e. where the script is, or the folder it's in.

@rlaphoenix
rlaphoenix / spotify_ringtones.md
Created July 28, 2023 04:42
Using Spotify's Song Preview as Ringtones
@rlaphoenix
rlaphoenix / chapters_handbook.md
Created April 27, 2023 23:21
Best Chapters Handbook

Best Chapters Handbook

  1. The first chapter must begin at 00:00:00.000.
  2. If the video begins with a Studio/Logo Bumper, then that must be the first chapter, with the proceeding Intro, Opening Credits, Flashback, "Last Episode...", e.t.c, should then be the next chapter and so on.
  3. The last chapter must begin at the very first non-black frame of Ending Credits text. If the first Credit text consistently and intentionally begins some time after the Ending Credits sequence begins, then the last chapter must begin at the very first non-black frame of the Ending Credits sequence.
  4. All Chapters there-after must begin at the very first non-black frame of Scene B on Scene A to Scene B transitions. This must be the case regardless if its a jump-cut, fade/wipe/dissolve transition, or a
@rlaphoenix
rlaphoenix / extracting_movie_gc_wii.md
Created April 17, 2023 15:36
Extracting and converting movie videos from GameCube and Wii Discs

Extracting and converting movies from GameCube/Wii Discs

Preliminary notes

If you have a .ciso file, use nkit to convert it to .iso.

Stage 1 - Extracting the movie file(s)

The following are the file types you aim to extract, and what we will be converting to another format. Different Discs use different formats. So keep an eye out for any of these formats.

@rlaphoenix
rlaphoenix / mmp_4kids_data.md
Last active April 13, 2023 13:05
Mew Mew Power 4Kids Data

Mew Mew Power 4Kids Data

Feel free to contribute in any way.

Note The episode numbers are in the original Japanese airing order.

DUB Intro 'Team Up' Scene Sources

Some of these are from the JP NCOP/NCED/Intros. If the same scene is available in an actual episode, please inform me. The timestamps are of the English Dubbed release.

@rlaphoenix
rlaphoenix / logoscan_db.md
Last active May 30, 2025 10:44
My Logoscan/Delogo/DelogoHD Logo Database

Logoscan Database

This is a directory of various Logo's I've scanned to remove.

All LGD files were scanned using AviUtil Extra Pack (english patch). I always aim to get as much samples at the lowest threshold possible. I usually aim for around 25-30. Please note that small residuals/outline of the logo may reside after using the LGD files. This is usually caused by compression messing up the calculation when using the LGD. Therefore this is not an error with the LGD file.

Downloading