Jump to content

Watching Emby Live Tv Recording while MCEbuddy edits .TS file, and deleting original .TS file


Recommended Posts

Posted (edited)

Recently I've started playing with MCEbuddy and I'm a bit confused about what to do about deleting the original .TS file that Emby records.

 

What i would like is to be able to set MCEbuddy to process my Emby .TS file to MP4 as soon as its done being recorded, then delete the original .TS file when it is done processing it.

 

 

My question or problem is, What if i am watching the original .TS file? What happens? 

Will Emby lock the original .TS file until i am done watching it?  Or will MCEbuddy delete the .TS file whilst watching it in Emby and cause a massive cluster?

Anyone here familiar with MCEbuddy? What do you set for these settings?

 

 

mcebuddy.PNG

Edited by test399
Posted (edited)

I'm confused, are you watching the TS file recording while MCEBuddy is converting it to mp4?  If you are watching the TS file while MCEBuddy is converting it then Windows will lock the original file.  MCEBuddy itself copies the TS file to a working directory to prevent problems but from my understanding it only will delete TS files that are MANUALLY added to the queue so I do not think it deletes files in monitored locations

If you set the minimum age to a low enough value MCEBuddy should start processing the file as soon as it is a completed recording and if you have Hardware Acceleration in the encoding process it shouldn't take much more than an hour to convert a 2 hour movie so a 30 minute TV show will be converted rather quickly. 

My question to you is why watch the TS file?  Why not wait a little while and watch the mp4 file when MCEBuddy is done with it?  Then you can clean up your hard drive by deleting the original TS file.  Unless you want to watch it immediately and simple keep a copy in mp4.  

From my understanding of MCEBuddy it is only going to delete the files you add manually so in your case the TS files will remain in the monitored location to clean up so if you are watching it while MCEBuddy is converting it there is no conflict.  

Edited by Ronstang
Posted (edited)
1 hour ago, Ronstang said:

I'm confused, are you watching the TS file recording while MCEBuddy is converting it to mp4?  If you are watching the TS file while MCEBuddy is converting it then Windows will lock the original file.  MCEBuddy itself copies the TS file to a working directory to prevent problems but from my understanding it only will delete TS files that are MANUALLY added to the queue so I do not think it deletes files in monitored locations

If you set the minimum age to a low enough value MCEBuddy should start processing the file as soon as it is a completed recording and if you have Hardware Acceleration in the encoding process it shouldn't take much more than an hour to convert a 2 hour movie so a 30 minute TV show will be converted rather quickly. 

My question to you is why watch the TS file?  Why not wait a little while and watch the mp4 file when MCEBuddy is done with it?  Then you can clean up your hard drive by deleting the original TS file.  Unless you want to watch it immediately and simple keep a copy in mp4.  

From my understanding of MCEBuddy it is only going to delete the files you add manually so in your case the TS files will remain in the monitored location to clean up so if you are watching it while MCEBuddy is converting it there is no conflict.  

Thank you REALLY, for the fast response.

So why watch the .TS file? 

Because my wife will watch a show sometimes as soon as it is on, like live, because she cant wait even 1 minute to watch her shows if they are new or premiere sometimes...

Plus she will fast forward or rewind or pause during this. 

The other night while watching Blue Bloods (our favorite), we had this situation where we were watching the live show and mce was doing its thing and the whole thing froze and we couldn't watch it. I think i even had to download the show from a torrent site. I could not find out why this happened, and sort of assumed it was because MCEbuddy deleted the .TS file while we were watching it. 

So what should i select in MCEbuddy  Disabled-Minimum Age? Or 1 Minute? 

And i can safely select *Delete original file because the TS file will be locked while watching in Emby Live?

 

P.s Just switched to 3700x after being long time with Intel.

I have gtx 1050 2gb and 3700x for my emby with Hardware transcoding set to OFF. What would you recommend? 

 

Edited by test399
Posted

Sorry, I have been out the last 4 hours doing last minute Christmas stocking shopping...

2 hours ago, test399 said:

So what should i select in MCEbuddy  Disabled-Minimum Age? Or 1 Minute? 

OK. I am sorry about earlier.  I didn't pay close enough attention to the dialog box you posted.  I don't monitor locations and allow MCEBuddy to automatically process my files because I manually edit all my TS files to remove padding and commercials....but I checked it out and you are correct, you can use that setting to delete the TS files upon successful conversion.  If you disable the "Minimum Age" then the TS files will be processed immediately upon completion of recording so in your case since your wife likes to watch as soon as she has enough buffer to time shift backwards and forwards  I suggest you set the "Minimum Age" to 6-10 hours or whatever time you know your wife will be asleep or no longer watching TV, that way you free up your computer resources as well as prevent the situation you describe.

 

2 hours ago, test399 said:

And i can safely select *Delete original file because the TS file will be locked while watching in Emby Live?

Windows locks any file in use from being deleted, but that does not mean that what MCEBuddy in trying to do in the background may not cause some kind of system issue resulting in your system becoming unresponsive, or the issue could be unrelated to MCEBuddy wanting to delete the file.  I don't know how MCEBuddy works under the hood so my best suggestion is to set your "Minimum Age" as I just stated above.  So I suggest you only choose letting MCEBuddy delete the original TS file if you adjust your "Minimum Age" accordingly.

 

2 hours ago, test399 said:

I have gtx 1050 2gb and 3700x for my emby with Hardware transcoding set to OFF. What would you recommend? 

That is a decent system and video card so I would definitely set it to use Hardware Transcoding if your files need transcoding to play, or encode your files as I do to avoid needing to be transcoded and only watch your compressed files....but with TS files you shouldn't need transcoding unless you're watching them remotely on a device that doesn't support the audio or video.  If your files require transcoding to play correctly and MCEBuddy is running in the background then both are competing for resources because I have found recently that even choosing "Hardware Acceleration" doesn't fully use the GPU to it's capacity and you will be using more CPU than necessary to encode.  I am currently working on a custom profile to avoid this and use the GPU to it's fullest capacity which should not only reduce system resources necessary but also the time needed by almost half .....when I get it working I will share it with you.

For now I suggest setting MCEBuddy to delete your TS files but adjust the "Minimum Age" to avoid the conflict and if you still have conversions running the next night when it's time to watch TV just pause MCEBuddy during that time.   I used to have to pause MCEBuddy whenever I watched anything from Emby on my Xbox 360 because it always needed to transcode and the competition for resources led to issues with playback.

Let me know what you find out testing and if you still have an issue I'll do my best to help.

 

  • Like 1
Posted

I use the minimum age of 1 minute.

I have it set to delete the files.

I stage my recordings so once mcebuddy is done with them they are moved to a different location.  If I watch something right away and MCEBuddy is processing it while I'm watching it then there will be a problem because it can't delete it.  So once a week or so I look through recording and delete anything manually that should not there anymore.

  • Like 1
Posted (edited)
On 12/21/2020 at 9:34 PM, Ronstang said:

 If your files require transcoding to play correctly and MCEBuddy is running in the background then both are competing for resources because I have found recently that even choosing "Hardware Acceleration" doesn't fully use the GPU to it's capacity and you will be using more CPU than necessary to encode.  I am currently working on a custom profile to avoid this and use the GPU to it's fullest capacity which should not only reduce system resources necessary but also the time needed by almost half .

Hey off topic a bit but i set my GPU acceleration first time in MCebuddy. ( i think i recall updating GPU driver only THEN it started working) and it is working in case you are wondering if it does. I believe i am working with the Default (for most part) MCEbuddy config too.  

For Nvidia this is what i read to check if i setup correctly:

nv2.PNGgpuuuu.PNG

GTX 1050.PNG

 

Also thank you to cayars i think I'm just going to set MCE to start processing like an hour later. Thanks 

One last question. Could you guys tell me if your logs look like mine? -In that i have TWO logs for every video!? I don't remember if this was like this before or not. I don't think it should have two logs each video like in this image of my logs. Are your logs like this below with dupes? And yes i have it set so that MCE does NOT convert from Recycle Bin selected too. 

mcelog.PNG.7ea0dd709f10c9d6b89c8f2023e2d763.PNG

Edited by test399
Posted

OK, I think I was misleading when I stated that Hardware Acceleration didn't fully utilize the GPU......of course your GPU utilization will show %100 doing the jobs that it is told to do the problem is with the profiles in MCEBuddy they still do some things like de-interlacing with software using the CPU.  When I use a profile in ffmpeg Batch that does the de-interlacing with the GPU the time it takes to encode is cut in half.  I still haven't figured out how to get the profiles in MCEBuddy for Hardware Acceleration working the way I want but I've been to busy lately to play with it.

And No, my logs do not look like that. I only get one log per conversion.  Are you getting more than one output file?

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...