Commit Graph
31 Commits
Author SHA1 Message Date
Rekushi c0b38d0d9a Initial release of Hatenatools3
Python 3 port of Hatenatools, optimised for compatibility with RexiMemo-org/hatena-server-py3.

Includes Python 3 compatibility fixes, restored functionality from the original Hatenatools, and additional porting/behavior fixes.
2026-09-02 23:50:33 +01:00
Joshua Barrass 39c98ccdb7 Spaces -> Tabs to match existing code 2022-08-26 02:38:55 +01:00
Joshua Barrass 6cef15827c Properly insert speed preset -- produces better compression 2022-08-26 02:17:11 +01:00
Joshua Barrass 3a12e002af Remove redundant libx265 options 2022-08-26 02:13:41 +01:00
Joshua Barrass 6f1b5cc257 Reduce transcoding in flipnote export 2022-08-26 01:55:19 +01:00
wyntrr-end 5f3ee86a67 fix issue where exported flipnotes longer than BGM track would get cut short 2020-11-17 20:27:30 -06:00
wyntrr-end 4e490db184 add option to upscale frames during export
includes optional command line flag and modified help text
2020-10-31 20:33:18 -05:00
Peder Bergebakken Sundt 9d362571d5 Fix p-frame translation issue 2018-10-29 11:54:27 +01:00
WORD559 9c1ffcd290 ffmpeg now uses the veryslow libx264 preset to give better compression (the videos are so short it doesn't make much difference to the time) and when mixing sound effects the output volume from amix is doubled to compensate for the volume halving as the sound effects are mixed 2018-07-06 01:22:48 +01:00
WORD559 97c3f67d14 Added option to force flipnote speed if you want to, and also fixed the difference between "Frame speed" and "BGM Frame speed" so that I can fix BGM that has been speed shifted. All works now. 2018-07-06 00:09:02 +01:00
WORD559 fd375d5e66 Floating point division for silence length so that the sound effect definitely plays at the correct point 2018-07-05 22:40:39 +01:00
WORD559 1b552a9e30 Changed an erroneous multiply to a divide (fps * frame != time) 2018-07-05 22:04:35 +01:00
WORD559 dd51daf550 ffmpeg writes to a temp file and then removes the original to avoid corruption while it is processing, and now uses WAV PCM as the audio format to try to maximise the quality 2018-07-05 21:35:04 +01:00
WORD559 15a006cc5b Fixed exporting flipnotes that have no background music. 2018-07-05 21:08:28 +01:00
WORD559 ba9b9ccc4c Cleaned up the output by discarding ffmpeg's output 2018-07-05 20:35:30 +01:00
WORD559 16fe17eb1d Inserting sound effects works! It's a bit heavy on disk usage (makes 2 new files in a temporary directory for every sound effect that needs to play, and then overwrites the video) and there's a couple of tests I need to run before I'd say it's 100% ready, but for now it works. 2018-07-05 20:26:43 +01:00
WORD559 09b665a712 Works when audio is shorter than video 2018-07-04 15:43:43 +01:00
WORD559 17085f316b Should now be able to export flipnotes with background music. Need to sort out adding sound effects and test with flipnotes where the music is shorter than the video 2018-07-04 14:01:48 +01:00
WORD559 4c0c19f1d7 Made many aspects of the program into functions so that they can be reused more efficiently in other commands 2018-07-04 13:07:15 +01:00
WORD559 53d094b39e Added ffmpeg detection in preparation for automated exporting 2018-07-04 12:37:50 +01:00
WORD559 0ef45d240e Fixed a lot of indentation discrepancies, so everything should now use tabs and you should be able to expand/unexpand filters to change these locally (sorry about this, I just couldn't get anything to play nice with the code how it was) 2018-07-04 11:24:37 +01:00
WORD559 d6bd377190 Added a .all() on PrevFrame to fix a ValueError 2018-05-30 11:07:46 +01:00
WORD559 f25b0730e9 Switched to frombytes rather than fromstring because fromstring is no longer supported. 2018-05-30 11:00:49 +01:00
WORD559 6b4c402e8d Added a function to search with RegEx 2018-05-30 10:55:34 +01:00
pbsds 38526fe6fd minor frequency update 2015-02-05 23:38:18 +01:00
pbsds b1019b957f NTFT.py was speed up with numpy, and some cleanup here and there 2015-02-05 23:32:08 +01:00
Peder B. Sundt 4dc17d11ff Added proper sound decoding 2015-01-27 23:17:06 +01:00
pbsds a2d73dcc3c Made PPM.py significantly faster with Numpy 2014-05-02 16:37:51 +02:00
pbsds 13826c2ef5 I can't into versionnumbers 2014-02-23 14:32:52 +01:00
pbsds a5f37a3be8 Made flipnotes with FrameMove tags set not crash, they're still not decoded perfectly... 2014-02-23 14:31:47 +01:00
pbsds 37f48e1cd3 It's about time I made this into a git. 2014-02-02 00:45:05 +01:00