Commit graph

64 commits

Author SHA1 Message Date
wukko
3e8c059a3a vimeo: fix parsing and resolution in filename
- all videos/audios should now be downloadable
- proper resolution is now displayed in basic and pretty filename styles
2023-12-02 21:52:38 +06:00
wukko
5bd50fd55f twitter: remux all videos
- increased stream link lifespan to 90 seconds
- decreased max video duration back to 3 hours
2023-12-02 20:44:19 +06:00
dumbmoron
7a3be8b981
stream: don't listen for close event for audio 2023-11-06 01:48:49 +00:00
wukko
4a9e4cd915
types: make streamVideoOnly more readable 2023-11-06 01:37:27 +00:00
wukko
b662f472dd
types: added comments 2023-11-06 01:37:27 +00:00
dumbmoron
fb69dbdb4f
stream: use strings for signals instead of number
hopefully a little more explanatory than "9"
2023-11-06 01:37:27 +00:00
dumbmoron
2bd8a0bccd
stream: use descriptive variables for i/o for better readability 2023-11-06 01:37:27 +00:00
dumbmoron
f66ed5c414
stream: generalize pipe event handling 2023-11-06 01:37:27 +00:00
dumbmoron
7c871b6b85
stream: wrap abort controller in try-catch 2023-11-06 01:37:27 +00:00
dumbmoron
dbd13bc8b6
stream: send SIGKILL after timeout
in case the ffmpeg process decides to hang when SIGTERM'd
2023-11-06 01:37:27 +00:00
dumbmoron
cae4a68aa4
stream: improve shutdown handling, minor clean up
- try to close as many things as possible when shutting down

- remove redundant (e.g. `exit` on process when
  listening for `close`) and straight up useless
  (`disconnect`) event listeners
2023-11-06 01:37:24 +00:00
wukko
16f74094b9 filename pattern customization
- added metadata for rutube and vimeo.
- added a picker for preferred filename pattern.
- fixed content disposition header.
- mute and audio dub tags don't appear together in a file name anymore.
- youtube: dub file name tag doesn't appear anymore if audio track is default.
2023-10-12 23:14:54 +06:00
wukko
e721cf9878 support for rutube, fixes, accommodations for multi lang 2023-09-16 23:38:07 +06:00
wukko
055eff92da 7.2: small improvements
- increased video length to 5 hours from 3 hours.
- fixed clickable area for urgent notice.
- possibly fixed random 0kb files.
2023-08-29 23:24:00 +06:00
dumbmoron
a09b062f9d
Merge branch 'current' into undici 2023-08-20 17:03:22 +02:00
wukko
a6134c58d2 remove unused stuff 2023-08-20 21:02:20 +06:00
dumbmoron
d54655c6b0 passthrough content-type; content-length 2023-08-20 15:00:03 +00:00
dumbmoron
814bfa404a replace got with undici
might as well since it already comes with youtubei.js
2023-08-20 14:44:34 +00:00
wukko
2929b9535f added file metadata to videos & fixed youtube dubs 2023-08-20 18:14:15 +06:00
wukko
36622fc7ac collapsed two lines 2023-08-20 15:42:57 +06:00
dumbmoron
b0bed82167 always send something on stream failure
prevents reverse proxies (namely nginx) from assuming the server died because of an empty response
2023-08-17 21:04:17 +00:00
wukko
4f87618ceb added 6.2 changelog 2023-06-27 20:46:51 +06:00
wukko
65161107fa 6.2: no more ip verification
- removed ip verification and updated privacy policy to reflect this change.
- streamable links now last for 20 seconds instead of 2 minutes.
- cleaned up stream verification algorithm. now the same function isn't run 4 times in a row.
- removed deprecated way of hosting a cobalt instance.
2023-06-27 19:56:15 +06:00
wukko
038c07c1b8 attempt to fix the weird issue with authorization 2023-06-22 20:24:01 +06:00
wukko
92c0e1d7b7 ugh 2023-06-07 22:06:21 +06:00
wukko
4d369170ff separated web and api, build improvements
wip:
- separate web and api servers.
- script for building static pages.
- building improvements.
- async localisation preloading.
2023-05-19 16:13:38 +06:00
wukko
de3b0cdfd2 last commit was extremely unsafe 2023-05-13 18:12:09 +06:00
wukko
64987c6494 experiment: added threads to ffmpeg args 2023-05-13 18:04:43 +06:00
wukko
6e097de2db 5.4.7: added support for ancient vk videos & salt improvements
- now you can download 240p hardbass videos from 2008!
- implemented updated stream salt and ip salt properly
2023-04-29 21:30:59 +06:00
wukko
d8e9fc16d0 make stream salt change on every server start 2023-04-29 17:40:08 +06:00
wukko
68703ae300 5.3.2: link sharing and nanoid
- you can now share video links directly from cobalt!
- cobalt is now using nanoid for stream ids instead of giant sha256 hashes
- one more fix to address the copy animation, this time on pc
2023-04-08 22:55:44 +06:00
wukko
49e85efe23 catch connection resets in streamables and other error handling improvements 2023-03-31 11:20:49 +06:00
wukko
6e9f9efa28 vimeo support revamp and bug fixes
- completely reworked vimeo module.
- added support for audio downloads from vimeo.
- added support for chop type of dash for vimeo.
- added ability to choose between progressive and dash vimeo downloads. both to api and settings on frontend.
- added support for single m3u8 playlists. will be useful for future additions and is currently used for vimeo.
- proper error is now shown if there are no matching vimeo videos found
- temporarily disabled douyin support because bytedance killed off old endpoint.
- fixed the issue related to periods in tiktok usernames. (closes #96)
- fixed error text value patching in match module.
- fixed video stream removal for audio only option, wouldn't work in some edge cases.
- minor clean up.
2023-03-15 22:18:31 +06:00
wukko
6465ac8d6f 5.1
closes #62, #66, #75
2023-02-26 22:49:25 +06:00
wukko
c57d16b615 added 5.0 changelog 2023-02-13 21:56:52 +06:00
wukko
3617382bb0 more clean up 2023-02-13 20:42:16 +06:00
wukko
3c578d6d49 cleaning up what i missed 2023-02-13 20:02:52 +06:00
wukko
dacaaf5b27 5.0-dev1
- rewrote and/or optimized all service modules
- rewrote matching and processing modules to optimize readability and performance
- added support for reddit gifs
- fixed various issues with twitter error explanations
- code optimizations and enhancements (such as finally getting rid of ==, prettier and more readable formatting, etc)
- added branch information
- all functions in currentCommit submodule run only once and cache received data
- added a test script. only twitter and soundcloud are 100% covered and tested atm, will add tests (and probably fixes) for the rest of services in next commits
- changed some localization strings for russian
- added more clarity to rate limit message
- moved services folder into processing folder
2023-02-12 13:40:49 +06:00
wukko
3432c91482 refactoring & fixes
- added duration check to vimeo module
- fixed quality picking in vimeo module for progressive video type
- dropping requests from ie users instead of redirecting
- probably something else but i forgot to be honest
2023-02-09 20:45:17 +06:00
wukko
6b87c7babd 4.8: new about popup and other visual improvements 2023-01-30 00:17:33 +06:00
wukko
4a36e638cf catching even more events to kill ffmpeg 2023-01-18 17:27:57 +06:00
wukko
06d4d8a5b0 4.7.3: ffmpeg should quit when download is abruptly cut off 2023-01-15 17:27:45 +06:00
wukko
64dad9ee70 4.7.2: ffmpeg should now quit on render end 2023-01-15 17:11:12 +06:00
wukko
3b5bf51ba7 4.7
fixes #63, #67, #68, and #71, among other issues
2023-01-14 00:34:48 +06:00
wukko
7f1ba6b36b 4.6.0: video muting and soundcloud client_id 2022-12-17 17:09:49 +06:00
wukko
316e6423f4 4.3: open api + post method for main endpoint 2022-11-12 22:40:11 +06:00
wukko
364ee37b83 rollback of previous commit + done some changes to piping 2022-11-05 13:58:50 +06:00
wukko
34b3c11bd5 swapped video and audio channels in live rendered videos 2022-11-05 13:09:04 +06:00
wukko
378fecd849 8k and quality picker revamp 2022-11-04 14:49:58 +06:00
wukko
02529c0b54 4.1: better tiktok image downloads and celebrations 2022-10-27 22:27:20 +06:00