Jump to content

Multiple webhooks sent on Playback finished (and some other stuff)


GrimReaper

Recommended Posts

GrimReaper

As a sidenote, on both stable 4.6.7.0 (Webhooks plugin 1.0.16) and 4.7.0.32 (Webhooks plugin 1.0.18), with some added logic on Notifiarr side, both servers are sending proper single-event playback notifications:

2089605531_Screenshot2022-03-24234843.thumb.png.7bc255aff058796cf5328bf58e74db2c.png

 

Still waiting for that Transcode info insight.

  • Thanks 2
Link to comment
Share on other sites

4 hours ago, GrimReaper said:

As a sidenote, on both stable 4.6.7.0 (Webhooks plugin 1.0.16) and 4.7.0.32 (Webhooks plugin 1.0.18), with some added logic on Notifiarr side, both servers are sending proper single-event playback notifications:

2089605531_Screenshot2022-03-24234843.thumb.png.7bc255aff058796cf5328bf58e74db2c.png

 

Still waiting for that Transcode info insight.

Did you check the TranscodingInfo again with 4.7.0.32?

Link to comment
Share on other sites

GrimReaper
5 hours ago, Luke said:

Did you check the TranscodingInfo again with 4.7.0.32?

Nope, did not, will revert. 

Link to comment
Share on other sites

GrimReaper
8 hours ago, Luke said:

Did you check the TranscodingInfo again with 4.7.0.32?

Checked payloads with beta .32 and Webhooks 1.0.19 plugin, can confirm TranscodingInfo present in DirectStreams and Transcodes. Nice. 👍

However, while full transcodes (both video and audio) have proper 

"VideoDecoderIsHardware": true
"VideoEncoderIsHardware": true

(and some additional) tags:

"TranscodingInfo": {
		"AudioCodec": "mp3",
		"VideoCodec": "h264",
		"SubProtocol": "hls",
		"Container": "ts",
		"IsVideoDirect": false,
		"IsAudioDirect": false,
		"Bitrate": 6401734,
		"AudioBitrate": 384000,
		"VideoBitrate": 6017734,
		"CompletionPercentage": 0,
		"TranscodingPositionTicks": 0,
		"TranscodingStartPositionTicks": 0,
		"Width": 1920,
		"Height": 800,
		"AudioChannels": 6,
		"TranscodeReasons": ["VideoCodecNotSupported", "AudioCodecNotSupported"],
		"CurrentCpuUsage": 0,
		"AverageCpuUsage": 0,
		"VideoDecoder": "NVDEC NVIDIA GeForce GTX 1060 - H.265 (HEVC)",
		"VideoDecoderIsHardware": true,
		"VideoDecoderMediaType": "H.265 (HEVC)",
		"VideoDecoderHwAccel": "NVENC/DEC",
		"VideoEncoder": "NVENC NVIDIA GeForce GTX 1060 - H.264 (AVC)",
		"VideoEncoderIsHardware": true,
		"VideoEncoderMediaType": "H.264 (AVC)",
		"VideoEncoderHwAccel": "NVENC/DEC",
		"VideoPipelineInfo": [{
			"HardwareContextName": "NVENC/DEC",
			"IsHardwareContext": true,
			"Name": "HW Decode H.265 (HEVC)",
			"Short": "HEVC",
			"StepType": "Decoder",
			"StepTypeName": "Decode",
			"FfmpegName": "hevc",
			"FfmpegDescription": "HEVC (High Efficiency Video Coding)",
			"FfmpegOptions": "",
			"Param": "0:0 - NVIDIA GeForce GTX 1060",
			"ParamShort": "0:0 - H.265 (HEVC)"
		}, {
			"HardwareContextName": "NVENC/DEC",
			"IsHardwareContext": true,
			"Name": "HW Encode H.264 (AVC)",
			"Short": "H264",
			"StepType": "Encoder",
			"StepTypeName": "Encode",
			"FfmpegName": "h264_nvenc",
			"FfmpegDescription": "NVIDIA NVENC H.264 encoder",
			"FfmpegOptions": "-profile high",
			"Param": "NVIDIA GeForce GTX 1060",
			"ParamShort": "H.264 (AVC)"
		}],
		"SubtitlePipelineInfos": []
	}

 

semi-transcode (video only) do not:

"VideoDecoderIsHardware": false
"VideoEncoderIsHardware": false

even though both are done in HW:

"TranscodingInfo": {
		"AudioCodec": "aac",
		"VideoCodec": "h264",
		"SubProtocol": "hls",
		"Container": "ts",
		"IsVideoDirect": false,
		"IsAudioDirect": true,
		"Bitrate": 2997880,
		"AudioBitrate": 320000,
		"VideoBitrate": 2677880,
		"CompletionPercentage": 0,
		"TranscodingPositionTicks": 0,
		"TranscodingStartPositionTicks": 0,
		"Width": 1280,
		"Height": 536,
		"AudioChannels": 6,
		"TranscodeReasons": ["VideoCodecNotSupported"],
		"VideoDecoderIsHardware": false,
		"VideoEncoderIsHardware": false,
		"VideoPipelineInfo": [{
			"HardwareContextName": "NVENC/DEC",
			"IsHardwareContext": true,
			"Name": "HW Decode H.265 (HEVC)",
			"Short": "HEVC",
			"StepType": "Decoder",
			"StepTypeName": "Decode",
			"FfmpegName": "hevc",
			"FfmpegDescription": "HEVC (High Efficiency Video Coding)",
			"FfmpegOptions": "",
			"Param": "0:0 - NVIDIA GeForce GTX 1060",
			"ParamShort": "0:0 - H.265 (HEVC)"
		}, {
			"StepType": "ColorConversion",
			"StepTypeName": "Color Convert",
			"HardwareContextName": "CUDA",
			"IsHardwareContext": true,
			"Name": "Color Convert",
			"Short": "C",
			"FfmpegName": "superscale_cuda",
			"FfmpegDescription": "GPU accelerated video resizer",
			"FfmpegOptions": "format=yuv420p",
			"Param": "YUV420P"
		}, {
			"HardwareContextName": "NVENC/DEC",
			"IsHardwareContext": true,
			"Name": "HW Encode H.264 (AVC)",
			"Short": "H264",
			"StepType": "Encoder",
			"StepTypeName": "Encode",
			"FfmpegName": "h264_nvenc",
			"FfmpegDescription": "NVIDIA NVENC H.264 encoder",
			"FfmpegOptions": "-profile high",
			"Param": "NVIDIA GeForce GTX 1060",
			"ParamShort": "H.264 (AVC)"
		}],
		"SubtitlePipelineInfos": []
	}

 

  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...

@roaku @BillOatman @rechigo @GrimReaper @ryzilla @Loefamily @johnnycash @adminExitium

For those hoping to use WebHooks with Discord, I've pushed an update to the plugin catalog for the WebHooks plugin to allow you to configure the request content type, which you can now set to either application/json or multipart form data. This should make it a little more Discord-friendly.

The update is targeting the 4.8 beta server so you'll need that to test it. Please try it out and report your experience. Thanks.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...