Commit graph

110 commits

Author SHA1 Message Date
Ren Tatsumoto 0b83cd0544 embed subs 2021-04-15 01:47:04 +03:00
Ren Tatsumoto 90de5bf129 use ytdl format 2021-04-14 19:11:15 +03:00
Ren Tatsumoto 52b0295de1 auto is always true 2021-04-14 18:30:55 +03:00
Ren Tatsumoto e38c92870d suppress undeclared warning 2021-04-14 18:30:40 +03:00
Ren Tatsumoto 90379c7e06 move code to a function 2020-10-24 12:02:50 +03:00
Ren Tatsumoto ca50c420b8 video_bitrate option 2020-10-23 18:34:45 +03:00
Ren Tatsumoto 206e3a4c9f vp8 support 2020-10-23 18:34:24 +03:00
Ren Tatsumoto 9300a82f15 force menu bindings 2020-10-23 16:40:09 +03:00
Ren Tatsumoto 4e9e3649d7 rename keybinds to keybindings 2020-10-23 16:39:53 +03:00
Ren Tatsumoto a195148ad9 rename menu to main_menu 2020-10-23 16:34:23 +03:00
Ren Tatsumoto d20798dabd separate menu for preferences 2020-10-23 16:33:36 +03:00
Ren Tatsumoto 057ec14630 inherit menu from Menu 2020-10-23 16:32:33 +03:00
Ren Tatsumoto cbaa6961e4 respect config options for audio 2020-10-23 16:26:07 +03:00
Ren Tatsumoto 30919879c4 respect config options for video 2020-10-23 16:22:43 +03:00
Ren Tatsumoto c2f4c17cc8 function to create clips with custom resolutions 2020-10-23 16:19:36 +03:00
Ren Tatsumoto b4bd50d8fc remove newlines 2020-10-23 16:17:34 +03:00
Ren Tatsumoto 3088d4b061 video_format and mute_audio config options 2020-10-23 16:17:08 +03:00
Ren Tatsumoto e33b310682 move common menu code in a separate class 2020-10-23 16:10:29 +03:00
Ren Tatsumoto 8361d66bae support videoclips without audio 2020-10-23 10:36:30 +03:00
Ren Tatsumoto 6cab381a59 inherit volume set in mpv 2020-10-23 10:36:30 +03:00
Ren Tatsumoto 01f3ed3b7a use mp.utils.join_path 2020-10-23 10:36:30 +03:00
Ren Tatsumoto 2ffe4e07e4 make windows users happy 2020-10-23 10:36:30 +03:00
Ren Tatsumoto 2e96a48723 reformat menu 2020-10-23 10:36:24 +03:00
Ren Tatsumoto 13c0d7e04f support italics 2020-09-28 02:54:17 +03:00
Ren Tatsumoto aeb6d6e524 format 2020-09-27 01:35:36 +03:00
Ren Tatsumoto 895ce8faad replace ac with audio-channels
should be more safe
2020-09-27 01:33:32 +03:00
Ren Tatsumoto 91ce054f42 put ass messages into a table to avoid reallocations 2020-09-25 22:24:07 +03:00
Ren Tatsumoto 8f8edb25f6 more self-documenting name 2020-09-24 21:16:14 +03:00
Ren Tatsumoto 5256d28122 faster? 2020-09-24 21:00:33 +03:00
Ren Tatsumoto b8229c46cb combine errors 2020-09-20 04:11:33 +03:00
Ren Tatsumoto 840b25b3b2 remove newline 2020-09-20 03:53:02 +03:00
Ren Tatsumoto d46f3b0134 avoid hang if the user specified non-existent preset 2020-09-20 03:44:35 +03:00
Ren Tatsumoto 97296e1edf tested this 2020-09-20 03:43:41 +03:00
Ren Tatsumoto f8d1154dbb check for k at the end of bitrate. otherwise mpv hangs 2020-09-20 03:23:19 +03:00
Ren Tatsumoto 3cfbe163e8 this is for sure now 2020-09-20 03:22:33 +03:00
Ren Tatsumoto 9dbb699689 mpv apparently always returns 0 2020-09-20 03:21:39 +03:00
Ren Tatsumoto bf83e586be readability 2020-09-20 03:02:51 +03:00
Ren Tatsumoto 85bd444339 overlay doesn't need to be global 2020-09-20 03:01:38 +03:00
Ren Tatsumoto 48dd3e08a8 remove unused function 2020-09-20 02:47:36 +03:00
Ren Tatsumoto c070601427 auto format 2020-09-20 02:47:10 +03:00
Ren Tatsumoto 82fb3822fa support for making clips from youtube videos and streams 2020-09-20 02:46:12 +03:00
Ren Tatsumoto afafd43245 critical code improvements 2020-09-13 23:05:20 +03:00
Ren Tatsumoto aab62b73e9 indent code 2020-09-13 23:02:45 +03:00
Ren Tatsumoto 1102002e25 remove unused variable 2020-09-07 05:56:28 +03:00
Ren Tatsumoto 9863bc6b8e warn with osd_message 2020-09-06 19:01:32 +03:00
Ren Tatsumoto 4292555663 docs link 2020-09-06 18:51:52 +03:00
Ren Tatsumoto fa0322b236 align menu middle-left 2020-09-06 18:51:36 +03:00
Ren Tatsumoto 315ee57d9c allow clips to start from the beginning of the video 2020-09-06 15:58:47 +03:00
Ren Tatsumoto c55328e025 backport human_readable_time from mpvacious 2020-09-03 03:13:17 +03:00
Ren Tatsumoto 93fb741c5b don't break on weird containers 2020-09-03 03:12:22 +03:00
Ren Tatsumoto 517d2d042f unique bind name 2020-08-31 22:45:35 +03:00
Ren Tatsumoto 2a546c0730 check for the trailing '/' 2020-08-27 10:13:48 +03:00
Ren Tatsumoto 00090f3182 audio clips and video clips have their own locations 2020-08-27 10:12:30 +03:00
Ren Tatsumoto 2eb91e79f4 notify when clip is done 2020-08-27 06:29:23 +03:00
Ren Tatsumoto a1e99fc1e1 avoid name collisions with other addons 2020-08-26 07:29:22 +03:00
Ren Tatsumoto 73899fec77 ability to create audio clips 2020-08-22 03:44:37 +03:00
Ren Tatsumoto 4b2c0814ad notify the user if nothing was done 2020-08-21 08:02:20 +03:00
Ren Tatsumoto 257cc479a8 increase font size 2020-08-21 07:47:46 +03:00
Ren Tatsumoto 23a8cce7cf typo 2020-08-21 07:41:25 +03:00
Ren Tatsumoto 9095f2c524 add videoclip.lua 2020-08-21 07:19:06 +03:00