Commit graph

49 commits

Author SHA1 Message Date
bytedream
173292ff32 Prettify negated subtitle cc boolean 2024-05-02 17:10:09 +02:00
Simon
72c574c883
Switch to audio fingerprinting based syncing (#393)
* rename merge-auto-tolerance -> merge-time-tolerance

* move format_time_delta to own file

* switch to audio fingerprinting based syncing

* move format_time_delta to own file

* simpler approach to determine negative time deltas

* add missing readme part for --sync-precision

* fix all clippy "errors"

* Use rust-native chromaprint port instead of ffmpeg

* buffer with 128kb instead of 32kb

* improve helps

* improve help

---------

Co-authored-by: bytedream <bytedream@protonmail.com>
2024-05-02 00:35:13 +02:00
Simon
f237033aff
move format_time_delta to own file (#392) 2024-04-28 15:15:23 +02:00
bytedream
74aaed4e7a Update dependencies and version 2024-04-25 00:49:31 +02:00
bytedream
541f0e2747 Fix wrong audio and subtitle video reference number (#384) 2024-04-23 16:00:53 +02:00
Amelia
4fc20c7c1c
Support override fonts (#378)
* Support override fonts

* Compile fix

* Actual compile fix

* Use snake_case
2024-04-14 21:55:55 +02:00
bytedream
dbbb445c55 Fix invalid 0% generate video file progress bar 2024-04-10 01:36:20 +02:00
bytedream
0257fdea0d Remove chapters if sync doesn't work 2024-04-09 23:00:01 +02:00
bytedream
9e5feef4d4 Change archive --sync-start defaults 2024-04-09 22:58:28 +02:00
bytedream
771594a231 Remove hardcoded pixel format (#352) 2024-04-08 14:03:30 +02:00
bytedream
1a511e12f9 Add archive start sync flag 2024-04-08 13:57:06 +02:00
bytedream
fe49161e93 End ffmpeg progress always with at least 100% 2024-04-08 00:37:19 +02:00
Amelia Frost
f16cd25ea4 Fix for some chapters being sent by CR as floats (#351)
* Fix for some chapters being sent by CR as floats.
See: 3f3a80f7f7

* Compile fix for error[E0277]: cannot multiply `f32` by `u32`

* Format

Co-authored-by: bytedream <bytedream@protonmail.com>
2024-04-03 16:26:33 +02:00
bytedream
e694046b07 Move to new, DRM-free, endpoint 2024-04-03 16:26:33 +02:00
Amelia
ba8028737d
Update missing fonts (#360)
* Update missing fonts

* Compile fix
2024-04-03 15:49:51 +02:00
bytedream
88a28e843f Manually specify ffmpeg output color format 2024-03-10 19:40:36 +01:00
bytedream
013273b832 Format code 2024-03-10 13:40:16 +01:00
bytedream
f1d266c940 Add options to specify audio & subtitle locales as IETF language tag and add --language_tagging flag for archive and download to modify the output file language tagging (#330) 2024-03-10 04:04:58 +01:00
bytedream
56f0ed1795 Add --include-chapters flag to archive and download (#301) 2024-03-10 01:59:47 +01:00
bytedream
2084328069 Fix ffmpeg progress panic (#337) 2024-02-23 17:36:37 +01:00
kralverde
f8309f2e80
add archive no-closed-captions flag (#323) 2024-01-29 08:26:40 +01:00
bytedream
20f796f603 Re-add download timeout 2024-01-14 20:36:00 +01:00
bytedream
3f401ccbd7 Fix output progressbar always on 100% when using download 2024-01-10 23:17:20 +01:00
bytedream
35447c5cb0 Fix Windows output progress bar (#305) 2024-01-10 23:17:02 +01:00
bytedream
650338d3e6 Prepend ./ to the output path on linux if the input path is only a filename (#303) 2024-01-09 15:24:08 +01:00
bytedream
0da81a4814 Add --include-fonts flag for archive (#277) 2023-12-19 22:41:02 +01:00
bytedream
0a26083232 Fix ffmpeg progress not working with fast encoder 2023-12-10 14:27:05 +01:00
bytedream
8613ea80cc Add forced flag to all CC subtitles (#274) 2023-12-10 13:52:33 +01:00
bytedream
be3248a4f9 Add download/request speed limiter (#250) 2023-12-10 02:52:42 +01:00
bytedream
b4057599a1 Add --ffmpeg-threads flag to control the ffmpeg thread number 2023-12-09 01:34:23 +01:00
bytedream
9487dd3dbf Show ffmpeg progress (#270) 2023-12-08 23:03:44 +01:00
bytedream
8f77028fcb Show error message instead of panicking when capturing video length of invalid file (#258) 2023-12-01 01:17:49 +01:00
bytedream
d5df3df95f Fix fixed subtitle formatting and sorting (#272) 2023-12-01 01:02:53 +01:00
bytedream
fc6511a361 Format code 2023-11-06 22:12:28 +01:00
bytedream
e5d9c27af7 Fix ass filter path escape on windows (#262) 2023-11-06 21:15:50 +01:00
Valentine Briese
bbb5a78765
Add --threads (-t) option to downloading commands (#256)
* Add `single-threaded` option to downloading commands

* Replace `--single-threaded` boolean option with `--threads` optional `usize` option

* Simplify `threads` field unwrapping

* Make `--threads` `usize` with a default value
2023-10-15 20:52:53 +02:00
bytedream
d79197edc6 Use async mutex and channel instead of the std equivalents 2023-09-23 16:56:42 +02:00
bytedream
513353890d Respect debug output when showing subtitle download spinner 2023-07-12 21:34:49 +02:00
bytedream
49de7bbba9 Add progress indicator for subtitle download 2023-07-12 21:15:01 +02:00
bytedream
af8a88a792 Add option to force subtitle burn with download (#221) 2023-07-05 01:58:46 +02:00
bytedream
7ed1158339 Fix subtitle sorting (#208) 2023-06-19 01:46:42 +02:00
ByteDream
94fcf1590a Add .mov to known soft-sub containers 2023-04-23 14:18:40 +02:00
ByteDream
7b1ed30b20 Fix subtitle burn-in error (#198) 2023-04-23 13:56:48 +02:00
ByteDream
847c6a1abc Mark CC subtitle track as CC & grab normal subtitles and CC when using -m audio (#141) 2023-04-17 18:14:54 +02:00
ByteDream
95f8cc542c Add retry if connection got reset by peer (#144) 2023-04-13 21:55:10 +02:00
ByteDream
5f98cfb186 Check for remaining disk space (#150) 2023-04-11 09:10:09 +02:00
ByteDream
8e972ab578 Move stream download logic to fix cms error/rate limiting 2023-04-08 15:08:36 +02:00
ByteDream
ba1c0aaaa4 Enable stdout output 2023-03-23 13:45:42 +01:00
ByteDream
0a40f3c40f Refactor 2023-03-23 01:18:14 +01:00