Commit graph

750 commits

Author SHA1 Message Date
Boosh1
1591e686f8 Cleanup the reconvert descriptions so it's a bit clearer 2024-10-21 11:50:10 +01:00
Boosh1
118c6f4471 Added AV1 encode support
Fairly major revision. Been using this locally for months on HEVC & AV1 encodes and not had any issues currently.
I can't verify if my 4k HDR & DoVi setups are 'actually' working for real but they seem to look correct & I've not had errors for encodes or on Plex.

With AV1 support, admittedly this may be confusing since the plugin ID still specifies HEVC but I have updated the name. I didn't want to split this into a new plugin since the logic is pretty much exactly the same & I don't want to maintain two almost identical plugins)

- Adding AV1 encode support, added as drop down selector (default is still hevc)
- Logic should pick valid video profile for either encoder setting
- HDR detection & encode improvement (Appears to work on my HDR content & DoVi)
- Added target bitrate modifier so it's possible to tune the bitrate (useful for AV1 to crunch it down further)
- Better bitrate detection, should error if it can't be found at all
- Mac support is over. Doubt anyone was really using it on Mac but it's not worth touching further. Plugin should still use videotoolbox when on Mac but I won't be fixing up errors.
- Cleaned up descriptions & info logs where reasonable to try and clarify what's happening
- Tests updated & added new test for a fully loaded AV1 setup
2024-10-20 18:02:49 +01:00
HaveAGitGat
147115cc12 Add original container option. 2024-06-18 08:10:39 +01:00
HaveAGitGat
6dda238806 Format classic plugin names 2024-05-21 15:10:09 +01:00
HaveAGitGat
96ea729a52 Update description 2024-05-20 10:05:55 +01:00
HaveAGitGat
0b11e8ad75 Check mediaInfo properties 2024-05-20 10:04:07 +01:00
Boosh1
03d8a75033 Added HDR support, Cleaned up info log & initial test fix
- Added HDR support. Tested as working but can have issues. Warning applied
- Made duration check a bit better with try statement
- Cleaned up how the info log was used so it's more consistent & fixed up trailing spaces & line breaks
- Initial test fix up but more will be needed
2024-03-02 19:33:42 +00:00
Boosh1
890c2642e1 Updates to video loop & darwin support
- Corrected some Mac/Darwin support, incorrect 10 bit options (In future will remove videotoolbox support and split into separate plugin)
- Improved video check loops, some logic did seem to not correctly stop when needed & the remove stream option had the wrong syntax so probably wouldn't have worked
2024-02-03 22:32:59 +00:00
Boosh1
8aadba1496 Final things, remove tag mkvpropedit & bump the Version number ;) 2024-01-26 21:02:18 +00:00
Boosh1
a17ac70d25 Noticed one last -vf filter check used a colon incorrectly
Changed to a comma which matches all other formatting with the -vf cmd & updated tests
2024-01-26 20:53:55 +00:00
Boosh1
f4c02bc997 Found new edge cases so changed how HW decode is triggered
Ended up finding more cases where errors would pop up and looks to all to do with HW decode.
- Now ensured that unless the incoming format is in the white list then sw decode is done instead
- Correctly removed -hwaccel cmd when sw decode happens preventing accidental hwdecode
- Specify the format to decode when using sw
- renamed oldformat var to match its use case (now swDecode)
- Info log updated with when SW decode happens and will report which incoming format caused it
2024-01-24 15:58:49 +00:00
Boosh1
23bef4c778 Protection against errors if unable to use MediaInfo or ffprobe
Just changed the videoBR logic to be inside a try block to avoid errors on rare instances where Media info & ffprobe fail
2024-01-17 20:30:08 +00:00
Boosh1
7f87af3c1b Quick update to tooltip 2024-01-16 12:10:55 +00:00
Boosh1
afe538fcbd Restored some cases for HW decode but commented out 2024-01-16 11:59:17 +00:00
Boosh1
a5dc4934ee Corrected -vf cmd so it's added on the end better 2024-01-15 21:28:41 +00:00
Boosh1
eb92f001be Updated new description & tests
Description updated since mkvpropedit is gone
Tests updated for recent changes
2024-01-10 19:51:29 +00:00
Boosh1
c7c47a16b0 Updated with better hw control
- Removed mkvpropedit remux behaviour - No longer seems to be needed (It's upto the user to have the mkvpropedit option enabled on Tdarr side)
- Corrected parts of the ffmpeg cmd to define the output format based on container
- Updated win32 hwaccel cmd to use a more correct type
- Enabled hwupload & hwupload frames
2024-01-09 23:27:15 +00:00
Boosh1
9494a2fcad Added new tests & also fixed up a few issues
- Added check to ensure video bitrate is actually a number
- Updated QSV decoders since VC1 & VP8 aren't supported on latest hardware (according to wikipedia...) & AV1 added
- Added new video codec check which enables protection for 10 bit encoding, basically trying to encode from something like mpeg4 into 10bit could cause issues
2024-01-02 20:48:41 +00:00
HaveAGitGat
09ae5a58e4 Fix lint errors regarding unused vars 2023-11-15 17:51:32 +00:00
Alexander Gomez
5ac1b62dbe
fix(#277): Update Tdarr_Plugin_sdd3_Remove_Commentary_Tracks.js 2023-11-03 03:51:21 -04:00
Zach Gelnett
b525d14a99 Working on updating the tests and cleaning up any formatting issues 2023-10-23 18:46:34 -04:00
Zach Gelnett
888dd94724 Adding tests for the plugin 2023-10-23 18:34:55 -04:00
Zach Gelnett
bf723c032a Fixed issue with video files missing language tag on audio track so it
assumes the audio track is a desired audio track. Changed default
target framerate to 30 to prevent issues with videos that have a
framerate of 29.97.
2023-10-11 18:38:14 -04:00
HaveAGitGat
9be9a36511
Merge pull request #506 from HaveAGitGat/add_notify
Use ctimeMs
2023-10-11 08:43:55 +01:00
HaveAGitGat
35f3976d6c Use ctimeMs 2023-10-11 08:41:09 +01:00
Boosh1
3ac61410a0 Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js
New fix for HW decode. H264 High10 is the problem. Enable SW decode for that and normal HW decode on the rest.
2023-10-10 21:19:43 +01:00
Boosh1
95ec657cfd Update Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js
Fixed up an issue with HW decoding. If the -hwaccel qsv is set then ffmpeg seems to automatically enable hw decoding even when we don't want it. There's been several reports of issues with certain files & I think this is the cause. I've tested and that appears to resolve the transcode error
2023-10-07 18:55:45 +01:00
HaveAGitGat
40d768ceb2
Merge pull request #425 from schadis/master
Plugin for File Renaming
2023-09-25 08:56:57 +01:00
HaveAGitGat
bc400d9a3f Rename plugin 2023-09-25 08:53:10 +01:00
HaveAGitGat
3b215069a5 Fix checkPlugin issues 2023-09-25 08:49:52 +01:00
HaveAGitGat
beee66a7c3 Revert "Fix checkPlugins issues"
This reverts commit 36b3223957.
2023-09-25 08:49:33 +01:00
HaveAGitGat
36b3223957 Fix checkPlugins issues 2023-09-25 08:35:04 +01:00
HaveAGitGat
cbbae8e67a Fix lint errors 2023-09-25 08:28:37 +01:00
HaveAGitGat
73482c5a10 Run lint fix 2023-09-25 08:25:25 +01:00
HaveAGitGat
77ac9c2d74
Merge pull request #435 from jshessen/master
Extend genpts matches to include mpg|mpeg
2023-09-25 08:15:07 +01:00
HaveAGitGat
2a76f29f81 Fix lint length error 2023-09-25 08:10:35 +01:00
HaveAGitGat
99ad5b3fd5
Merge pull request #469 from AbeKline/patch-1
Update wording for description of upper bound of New_file_size_check
2023-09-25 07:53:03 +01:00
HaveAGitGat
ef8714ffd6
Merge pull request #470 from jsclayton/fix-ffmpeg6-10bit
Use filtergraph to specify 10-bit pixel format
2023-09-25 07:51:45 +01:00
HaveAGitGat
5158943290 Handle error 2023-09-25 07:10:50 +01:00
HaveAGitGat
f3937b9f0c Update Tdarr_Plugin_z80t_keep_original_date so works on windows 2023-09-25 07:08:41 +01:00
HaveAGitGat
cfd357d0ef Use mtimeMs 2023-09-25 06:36:59 +01:00
HaveAGitGat
a734d75c4b Fix lint error 2023-09-25 06:13:58 +01:00
HaveAGitGat
c32146a0c7 Use otherArguments.originalLibraryFile instead of network req 2023-09-25 06:12:12 +01:00
John Clayton
6329f43625 Use filtergraph to specify 10-bit pixel format 2023-09-17 10:30:20 -06:00
Abe Kline
da7e8e36e8
Update wording for description of upper bound of New_file_size_check
The wording was unclear and ambiguous for Upper Bound. Updated to clarify while mirroring style of Lower Bound
2023-09-15 17:12:43 -05:00
Jeff Hessenflow
3b9502e655
Extend genpts matches to include mpg|mpeg
Extend match to include additional container extensions.
2023-08-25 09:55:10 -05:00
HaveAGitGat
f53b29efd4 Update ts lint rules 2023-08-20 17:25:04 +01:00
HaveAGitGat
fbaeff658b
Merge pull request #431 from HaveAGitGat/transcode_plugin
Update hevc_vaapi test
2023-08-08 08:45:10 +01:00
HaveAGitGat
b6c51808cb Update hevc_vaapi test 2023-08-08 08:44:10 +01:00
HaveAGitGat
a7b4de1152
Merge pull request #423 from HaveAGitGat/transcode_plugin
Create Tdarr_Plugin_00td_action_transcode.js
2023-08-08 07:25:49 +01:00