Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] chacawaca - post-recording

Featured Replies

  • Replies 51
  • Views 9.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • For your "output dir" this app use the source directory as output directory, you cant configure this now. I want to add it when i have time.     For config :   https://hub.doc

Posted Images

Hello,

 

Thank you for your effort and I am happy that I can make the first post on your topic.

 

With the first video your program still worked, with the second unfortunately not anymore. Would you take a look at the logs, maybe you can help me.

 

Docker log: https://pastebin.com/2KuPHS8i

 

Unraid logs attached.

tower-diagnostics-20200826-2103.zip

Edited by aurevo

  • Author

i will do some test i think i know where the problem is.

I done a lot of test with comchap, but not a lot comcut. 

  • Author

can you PM me your containers config, and do you have a custom comskip.ini or its the original one ? i tested comcut with 3-4 files and it seem to work. In your log is like .edl is deleted before comcut is processed.

 

1 hour ago, Chacawaca said:

can you PM me your containers config, and do you have a custom comskip.ini or its the original one ? i tested comcut with 3-4 files and it seem to work. In your log is like .edl is deleted before comcut is processed.

 

 

Which files or folders do you need exactly?

 

I did not changed anything on the files, just copied the content from the intel example file to the custom.sh file.

  • Author

i dont need file or folder, i just need your setting you set in your container.

PUID

PGID

UMASK

 

i updated the code to check if the temp.mkv is readable before it start cumcut.

Edited by Chacawaca

12 hours ago, Chacawaca said:

i dont need file or folder, i just need your setting you set in your container.

PUID

PGID

UMASK

 

i updated the code to check if the temp.mkv is readable before it start cumcut.

 

l3YnJ6x.png

  • Author

everything seem fine there, the only difference with me is i use nvidia, i cant test with intel myself cause i dont have one to test. 

with your log, ffmpeg create the temp mkv but comcut dont have access to open it. I suspected file permission, but i think i will need to find a way to test your exact configuration.

  • Author

do you mind change your repository to the alpha one, i changed something that can help with UTF-8 name.

 

chacawaca/post-recording:alpha

5 hours ago, Chacawaca said:

do you mind change your repository to the alpha one, i changed something that can help with UTF-8 name.

 

chacawaca/post-recording:alpha

 

Changed to alpha channel.

 

First it looked good, but conversation failed:

 

Quote

 

[autovideoconverter] starting...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Skipping video '/watch/So baut man Traumautos/So baut man Traumautos 2020_08_25_13_15_00 - Jaguar XF.ts' (b8558957576e03120421aa171a6bb710): already processed successfully.
[autovideoconverter] Waiting 10 seconds before processing '/watch/Mythen-Jäger/Mythen-Jäger 2020_08_25_15_00_00 - Der Piratenschatz des Captain Kidd.ts'...
[autovideoconverter] ======================================= CONVERSION START =================================================
[autovideoconverter]
[autovideoconverter] Starting conversion of '/watch/Mythen-Jäger/Mythen-Jäger 2020_08_25_15_00_00 - Der Piratenschatz des Captain Kidd.ts'...
[autovideoconverter] -------------------------------------
[autovideoconverter] FFMPEG START
[autovideoconverter] FFMPEG FINISH WITH STATUS 0
[autovideoconverter] -------------------------------------
[autovideoconverter] COMCUT START
Inputfile '/watch/Mythen-Jäger/.T7uEtj/Mythen-Jäger' doesn't exist. Please check.
[autovideoconverter] COMCUT FINISH WITH STATUS 0
[autovideoconverter] -------------------------------------
[autovideoconverter] -------------------------------------
[autovideoconverter] TMP DIRECTORY REMOVED
[autovideoconverter]
[autovideoconverter] ======================================= CONVERSION DONE =================================================
[autovideoconverter] Conversion failed.

 

 

Log: https://pastebin.com/eB2jETVT

  • Author

i will do more testing with comcut on my side, like i said i tested a lot comchap, but just some test with comcut. Im pretty sure its something with a special character in your file. Let me 2-3 days to come back with an other version to test.

  • Author

you can try the lasted build, check your custom.sh i removed ccextractor from there. Maybe delete your appdata before doing your test. I added 2 more variables to my template. I tested a lot of files with nvidia and cpu ffmpeg, and got no problem.  If you still have problem after this version i think i will need one of your file to test.

 

i added some directory in \config\log that can help a lot if you got some error.

Edited by Chacawaca

Is there a step by step guide on how to set this up with Emby's Post script setups? I'm not sure how to setup and integrate with Unraid. 

  • Author

Nothing to set in Emby you need to set a watching folder in my container. It will process only .ts , I highly recommend to test with a test folder first and see if your ffmpeg string is correct

can you setup the output folder to point somewhere else? my recordings go in a holding folder. once converted the folder structure is the same on my media server folders. so if the recording is in /xxx/Season 01/ then in the media server it will be in /xxx/Season 01/ 

Edited by nicksphone

  • Author

Not for now, cause i dont need that myself. I can check to add it.

Hi there, 

 

Thanks for this, it is working well for me.

 

I am having a problem getting Nvidia transcoding working though. I have my GPU UUID put in and Nvidia runtime in extra parameters, but its still using my CPU. Any thoughts? 

  • Author

In your custom.sh, do you changed it to have a ffmpeg command that use your gpu ? You have nvidia.sh.example to help you in the script directory.

 

 

subtitle extraction and comchap/comskip are still executed by your cpu, only your ffmpeg command are executed by your gpu.

Edited by Chacawaca

Considering I didn't configure that, that is probably the issue. 😆

 

EDIT: I copy/pasted the parts from the Nvidia.sh example into my custom.sh. It is working now!

 

Thanks for your help! 

Edited by Lucict

  • Author

nvidia.sh ---- convert to 2 channel audio, big compression

nvidia-hq.sh --- keep original audio channel and better video quality, less compression.    ------------is the one i use with 5.1 audio source.

 

or you can use your own ffmpeg command.

 

If you dont want to code yourself i suggest you test both with the same 5-6 source file and compare result.

Edited by Chacawaca

On 8/29/2020 at 6:46 AM, Chacawaca said:

you can try the lasted build, check your custom.sh i removed ccextractor from there. Maybe delete your appdata before doing your test. I added 2 more variables to my template. I tested a lot of files with nvidia and cpu ffmpeg, and got no problem.  If you still have problem after this version i think i will need one of your file to test.

 

i added some directory in \config\log that can help a lot if you got some error.

 

Today after a while I tried it again and got another error messages.

 

Log folder attached.

 

Do you need more information?

log.zip

  • Author

do you use default custom.sh or a customized one ?

 

you have no ffmpeg log, its like it cant even open your file.

some reason I cant get this thing to convert even one single file. I am testing software for now just to see it work, once and it wont convert one out of a good couple of dozen I have tried already. All of which play just fine all the way through. Anything you can advise I do?

  • Author

do you setuped your custom.sh ? do you checked your log ? what are your config ?

On 9/19/2020 at 1:16 AM, Chacawaca said:

do you use default custom.sh or a customized one ?

 

you have no ffmpeg log, its like it cant even open your file.

 

Attached is my whole scripts folder.

 

My ffmpeg logs folder is emty. 

 

Do you need any other files or folders, maybe I can send you all of them.

Or which steps I can do, to test it from the beginning or so?

 

I also attached my whole appdata folder.

scripts.zip post-recording.zip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.