# Post Processing Script on Windows 10

**URL:** <https://forums.plex.tv/t/post-processing-script-on-windows-10/719071>\
**Category:** Live TV & DVR\
**Tags:** livetv-dvr\
**Created:** [May 29, 2021, 3:54pm UTC](https://forums.plex.tv/t/post-processing-script-on-windows-10/719071 "2021-05-29T15:54:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![macowens](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@macowens](https://forums.plex.tv/u/macowens)\
**Post date:** [May 29, 2021, 3:54pm UTC](https://forums.plex.tv/t/post-processing-script-on-windows-10/719071/1 "2021-05-29T15:54:06Z")

</div>

Server Version#: 1.23.1.4602  
Player Version#: N/A  
Tuner Make/Model: HD Homerun CONNECT  
Guide/Lineup name: ?  
Using XMLTV?: ?  
Channel number/Name: N/A

I am running a Plex Server on Windows, I have a HDHomerun CONNECT which is recording tv shows. The TV shows appear as .ts files which are very large.  
I would like to ‘postprocess’ these files using ffmpeg to transcode the files into a smaller size but I just cant seem to get a postprocessing script to work and have no idea where it is going wrong.

I have read on these forums that the script should be in “Put this script as an batch file in the .grab recording directory.” but in the DVR setting sit says the script must be in “C:\Users\username\AppData\Local\Plex Media Server\Scripts”. The scripts folder didn’t exist so I created it - neither seem to work.

I have no knowledge of scripting, I have tried to copy some examples from these forums but at this point I would be happy with a script that simply put “Hello World” into a log file.

Which log file would a postprocessing script put it’s messages into?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 27, 2021, 3:54pm UTC](https://forums.plex.tv/t/post-processing-script-on-windows-10/719071/2 "2021-08-27T15:54:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
