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

  • Author

@aurevo i suspect 3 things since you have 0 ffmpeg log

 

- start with ffmpeg software transcode to see if its intel hw accel problem. 

- check write access on your custom.sh file

- or maybe extern program delete the temp file between ccextrator and ffmpeg.

- or your .ts have something corrupted that ffmpeg dont like.

Edited by Chacawaca

  • 1 month later...
  • 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

Found your docker yesterday and it is exactly what I am looking for. I tried to convert a file but I could not get it working. I could even find the output dir 😔

I really have no experiance with ffmpeg and its parameters. 

My goal is to convert my ts file with Intel QS to h264 and keep the audio tracks untouched.

 

Any suggestions would be great

Edited by Bob@unraid

  • Author

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.docker.com/r/chacawaca/post-recording

 

Configuration:

/scripts/custom.sh need to be configured by you, some example are there to help you configure this for your need.

 

 

Help with Intel
Intel GPU Use
Edit your go file to include:
modprobe i915, save and reboot, then
add --device=/dev/dri to "extra parameters" (switch on advanced view)

 

 

For your FFmpeg command, it is specific for your need, i cant help you, im not a ffmpeg specialist too and i havent test your specific output.

you can start with command in intel.sh.example and modify it for you need, change audio to copy and modify encoding for hardware h264.

You will have to do some search about ffmpeg, so much parameter exist.

 

Hello,

 

after some weeks of waiting, I updated the container to the latest alpha build and tried again to convert a file with your docker container.

 

Because of the previous errors I removed the umlauts in the file name.

 

After a few seconds I get a "Conversion failed" error message without any exact reason why the conversion failed.

The ccextractor still seems to be running, after that it doesn't jump to the next point and comskip already has no logfile anymore.

 

My appdate-folder again in the attachment.

 

I don't know where I can start at the moment.

If you need more information or files, I will post it.

2020-11-02 21_10_10-Tower_UpdateContainer.png

post-recording.zip

  • Author

Do you have subtitles in your source file ?

 

"No captions were found in input." at the end of ccextractor log file.

 

Try to go to stable branch, and change subtitles to 1. 

 

i use the exact same setup the only thing that isnt the same is our source file.

 

2 hours ago, Chacawaca said:

Do you have subtitles in your source file ?

 

"No captions were found in input." at the end of ccextractor log file.

 

Try to go to stable branch, and change subtitles to 1. 

 

i use the exact same setup the only thing that isnt the same is our source file.

 

 

Did that, appdata attached.

 

Quote

[cont-init.d] 50-gid-video: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[autovideoconverter] starting...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Waiting 10 seconds before processing '/watch/Mythen-Jger 2020_09_12_19_30_00 - Der verlorene Stamm Israels.ts'...
[autovideoconverter] ======================================= CONVERSION START =================================================
[autovideoconverter]
[autovideoconverter] Starting conversion of '/watch/Mythen-Jger 2020_09_12_19_30_00 - Der verlorene Stamm Israels.ts'...
[autovideoconverter] -------------------------------------
[autovideoconverter] FFMPEG START
[autovideoconverter] FFMPEG FINISH WITH STATUS 0
[autovideoconverter] -------------------------------------
[autovideoconverter] COMCHAP START
[autovideoconverter] COMCHAP FINISH WITH STATUS 0
[autovideoconverter] -------------------------------------
[autovideoconverter] -------------------------------------
[autovideoconverter] TMP DIRECTORY REMOVED
[autovideoconverter]
[autovideoconverter] ======================================= CONVERSION DONE =================================================
[autovideoconverter] Conversion failed.
[autovideoconverter] =========================================================================================================
[autovideoconverter] Watch folder '/watch' processing terminated.

 

post-recording.zip

  • Author

Stream mapping:
  Stream #0:0 (h264_cuvid) -> hwdownload
  format -> Stream #0:0 (hevc_nvenc)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:5 -> #0:2 (? (?) -> ass (ssa))
Decoder (codec dvb_teletext) not found for input stream #0:5

 

your ffmpeg command dont fit with your source file, im not a ffmpeg expert i cant help you more, sorry

On 11/3/2020 at 2:48 AM, Chacawaca said:

Stream mapping:
  Stream #0:0 (h264_cuvid) -> hwdownload
  format -> Stream #0:0 (hevc_nvenc)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:5 -> #0:2 (? (?) -> ass (ssa))
Decoder (codec dvb_teletext) not found for input stream #0:5

 

your ffmpeg command dont fit with your source file, im not a ffmpeg expert i cant help you more, sorry

 

I used the nvidia-hq preset, I don't know why it does not fit.

 

I will have a look on it. But could you say, where to find the error message?

  • Author

post-recording\log\ffmpeg

 

at the end of this log file

10 hours ago, Chacawaca said:

post-recording\log\ffmpeg

 

at the end of this log file

 

I removed and downloaded your app again for trying and after first try with same error message the folder is empty. 

 

Looks like FFMPEG even don't start up. 

  • 3 weeks later...

Thanks for creating this. I'm having trouble with the final processed copy. I'm using comcut and wish to remove the commercials entirely. From the docker log, the process appears to complete successfully. It appears the TS file is processed and commercials are detected properly (comskip log), but in the final processed copy the commercials remain. Below is the only hint I could find of something going wrong (last lines in the comskip log). 

 

106517 Frames Processed
Commercials were found.
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: avio_print_string_array, version LIBAVFORMAT_58
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-1.ts': No such file or directory
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-2.ts': No such file or directory
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-3.ts': No such file or directory
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-4.ts': No such file or directory
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-5.ts': No such file or directory
rm: cannot remove '/watch/Global News Hour at 6/.mKqBgw/GlobalTest.part-6.ts': No such file or directory

 

  • Author

sorry i'm a little bit busy, if you can PM me your log file i can take a look.

  • 2 weeks later...
  • Author

@oxidizeyou can try last update, that was a bug with ffmpeg version i downgraded to old version and it should be ok now.

Edited by Chacawaca

  • 2 weeks later...

Thank you for this docker image, it has saved me hoards of storage space. I recently built a replacement server with a compatible iGPU to allow for HW accelerated transcoding. After transferring all of my recordings I fired up this container and let it churn. It successfully converted nearly 900 .ts recordings in about 10 days.

 

I am using the Intel example script unmodified with iGPU HW acceleration enabled, but I am experiencing an issue with both comskip and comchap using either the main or alpha repositories.

 

/usr/local/bin/ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory
 

  • Author

I will take a look if i can do something.

  • 9 months later...

Does this work with quick sync?

  • 9 months later...

Hello,

 

I just found this and I'm using it with my Unraid. I followed the instructions to set it up but I feel like maybe I missed something. I see questions about comchap setup and such but never saw any instructions on setting that part up if it's needed. I think I have setup my Intel Graphics Acceleration correctly I think but again not sure. The logs are showing me that it tried to process the folder for the .ts files but it says failed already processed. Is there a way to get these processed again?

 

I am also getting the error Failed to create temporary directory under '/watch'.

 

I like what I've seen so far but could use a little more help in setting everything up correctly and verifying that it is all working the way it should. Can someone help me out?

 

Thanks for any help in this.

Edited by chest069
Added more information

  • Author

 Is there a way to get these processed again?         Remove line from failed_conversions or successful_conversions.

I am also getting the error Failed to create temporary directory under '/watch'.     Probably user u set dont have write access to this folder and since conversion need to write a new file, you need write access.

  • Author

comchap, do an .edl file that some app use to skip commercial, it dont remove commercial from file. 

comcut, cut commercial from your video

 

for more info about comchap and comcut  : https://github.com/BrettSheleski/comchap

What do you put in the WEBUI section? I would like to be able to use the WEBUI along with the command line option? Thanks.

  • Author

this app has no UI, its only automatized

@ChacawacaThanks for the help. I wasn't able to get it working right so I uninstalled it, but I do appreciate the help.

  • 1 year later...

Hello

i also try to get the docker alive
but i get a lot of failiurs

[autovideoconverter] Waiting 10 seconds before processing '/watch/20231023 2202 - ProSieben - The Big Bang Theory.ts'...
[autovideoconverter] =======================================     CONVERSION START     =================================================
[autovideoconverter]  
[autovideoconverter] Starting conversion of '/watch/20231023 2202 - ProSieben - The Big Bang Theory.ts'...
[autovideoconverter] -------------------------------------
[autovideoconverter] FFMPEG START
[autovideoconverter] FFMPEG FINISH WITH STATUS 0
[autovideoconverter] -------------------------------------
[autovideoconverter] Comskip failed.
[autovideoconverter] CCextrator failed.
[autovideoconverter] -------------------------------------
[autovideoconverter] TMP DIRECTORY REMOVED
[autovideoconverter]  
[autovideoconverter] =======================================     CONVERSION DONE     =================================================
[autovideoconverter] Conversion failed.
[autovideoconverter] =========================================================================================================
[autovideoconverter] Watch folder '/watch' processing terminated.

 

[mpeg2video @ 0x562cbcfe3940] Invalid frame dimensions 0x0.
    Last message repeated 5 times
[mpegts @ 0x562cbcfb8540] PES packet size mismatch
    Last message repeated 2 times
[mpegts @ 0x562cbcfb8540] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '/watch/20231023 2202 - ProSieben - The Big Bang Theory.ts':
  Duration: 00:32:19.60, start: 74664.379167, bitrate: 3660 kb/s
  Program 17500 
  Program 17501 
    Stream #0:0[0x21](deu,deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:1[0x1ff]: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x200](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (clean effects)
    Stream #0:3[0x203](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s (clean effects)
    Stream #0:4[0x205]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 17502 
  Program 17503 
  Program 17504 
  Program 17505 
  Program 17506 
  Program 17507 
  Program 17508 
  Program 17509 
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:0

 

can anybody help me?
or do you have a tipp for another app?!

 

thanks a lot

 

Edited by luckyheiko

  • 5 months later...

I use this docker with my Plex server...  I LOVE it.

 

Thank you for making it.

I just wanted this forum thread to have an entry that wasn't a request for help.

The .TS files play in Plex ok, but they don't fast-forward or rewind very gracefully.  This docker converts them to .MKV files, which perform much better in my experience.

 

Again, Thank You.

-mike.

Edited by myque
spelling error

  • 6 months later...

Just trying to generate EDL files for emby..  Getting this error on every file..  "already processed with failure" no conversion or EDL generation?

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.