Skip to content

Instantly share code, notes, and snippets.

View guinurmi's full-sized avatar

guinurmi

  • Kanagawa, Japan
View GitHub Profile
@guinurmi
guinurmi / repair1min.bat
Created June 13, 2018 15:30
EpgNaviの番組表ファイル内の1分番組を修復するバッチファイル
@if(0)==(0) ECHO OFF
rem EpgNavi.exeがあるフォルダーに置き、ダブルクリックすると、8日分の番組表ファイル内の1分番組を修復します。
if DEFINED ndeExeDirPath cd /d "%ndeExeDirPath%\..\.."
if "%~1"=="-all" (for %%I in (DATA\EPG\??????_TVking.dat ) do CScript //E:JScript //NoLogo "%~f0" %%I
) else ( for /f %%I in ('CScript //E:JScript //NoLogo "%~f0"') do CScript //E:JScript //NoLogo "%~f0" %%I
)
if "%~0"=="%~f0" pause
@guinurmi
guinurmi / 0readme.md
Last active April 23, 2018 13:57
Signaling Changer of AAC in MP4 without Demux

Signaling Changer of AAC in MP4 without Demux

guinurmi

Applying the patch (gpac-v0.6.1.diff), MP4Box becomes to be able to accept -sbr and -ps when importing MP4.
In other words, MP4Box will be able to change signaling of AAC in MP4 without demux which may cause out-of-sync.

> MP4Box -info AVC_HE-AAC.mp4 2>&1 | grep LC
MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 24000

> MP4BoxSBR -add AVC_HE-AAC.mp4 -sbr -new new_AVC_HE-AAC.mp4