51 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
Peder Bergebakken Sundt d5bb128b76 Merge pull request #8 from joshbarrass/master
Reduce lossy transcodes in flipnote export
2022-08-26 16:02:16 +02: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
Peder B. Sundt 50e49a4973 Merge pull request #7 from wyntrr-end/fix-cutting-videos-short
fix ffmpeg video export duration
2020-11-18 16:53:59 +01:00
Peder B. Sundt ede7c401b4 Update ReadMe.txt 2020-11-18 16:50:57 +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
Peder B. Sundt b9b9a3d89b Merge pull request #5 from wyntrr-end/upscale-frames-option
add option to upscale frames during export
2020-11-01 22:34:09 +01: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
Peder B. Sundt e7180554ff Merge pull request #2 from WORD559/master
Added function to totally export a flipnote as MKV
2018-08-15 03:48:13 +02: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
Joshua Barrass beeacc0978 Merge pull request #2 from WORD559/fix-tables
Prettify tables
2018-07-05 11:47:16 +01:00
Joshua Barrass 2b370e379a Should be pretty tables now 2018-07-05 11:46:06 +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
Peder B. Sundt 3431ca85c6 Merge pull request #1 from WORD559/master
Various modifications to merge, as requested
2018-06-02 21:58:17 +02:00
WORD559 e6cba745a6 Add myself to the readme 2018-06-02 20:08:58 +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 0a23c03fc4 added compile script 2015-02-08 01:04:15 +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 f81e878be5 Updated the version number
Holy shit i can't write for shit(referring to previous commit on this file)
2015-01-27 23:18:04 +01:00
Peder B. Sundt 4dc17d11ff Added proper sound decoding 2015-01-27 23:17:06 +01:00
Peder B. Sundt 5ddd10ca11 updated verion dunmber for ugo 2015-01-21 12:05:20 +01:00
Peder B. Sundt 4594eca7e8 Fixed an infinite loop bug 2015-01-21 12:04:54 +01:00
pbsds 9563fe0700 Removed debug 2014-06-24 01:04:24 +02:00
pbsds dfd42b850f Made NTFT.py support non-square images and fixed two typos 2014-06-24 01:02:40 +02: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 15f5682024 Made it more userfriendly 2014-02-05 18:41:04 +01:00
pbsds eb24d46ab5 Whoops 2014-02-04 22:55:36 +01:00
pbsds e760cafd8e Woops, forgot the version number 2014-02-03 22:07:01 +01:00
pbsds 6e3e92605c Made NTFT packing handle padding properly 2014-02-03 22:05:48 +01:00
pbsds d7475852ae Added support for POST form links and made it support converting files through drag and drop in windows explorer. 2014-02-02 15:42:49 +01:00