Chacawaca Posted September 20, 2020 Author Share Posted September 20, 2020 (edited) @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 October 6, 2020 by Chacawaca Quote Link to comment
Bob@unraid Posted October 28, 2020 Share Posted October 28, 2020 (edited) 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 October 29, 2020 by Bob@unraid Quote Link to comment
Chacawaca Posted October 29, 2020 Author Share Posted October 29, 2020 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. 1 Quote Link to comment
aurevo Posted November 2, 2020 Share Posted November 2, 2020 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. post-recording.zip Quote Link to comment
Chacawaca Posted November 2, 2020 Author Share Posted November 2, 2020 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. Quote Link to comment
aurevo Posted November 2, 2020 Share Posted November 2, 2020 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 Quote Link to comment
Chacawaca Posted November 3, 2020 Author Share Posted November 3, 2020 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 Quote Link to comment
aurevo Posted November 9, 2020 Share Posted November 9, 2020 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? Quote Link to comment
Chacawaca Posted November 10, 2020 Author Share Posted November 10, 2020 post-recording\log\ffmpeg at the end of this log file Quote Link to comment
aurevo Posted November 10, 2020 Share Posted November 10, 2020 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. Quote Link to comment
oxidize Posted November 27, 2020 Share Posted November 27, 2020 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 Quote Link to comment
Chacawaca Posted December 2, 2020 Author Share Posted December 2, 2020 sorry i'm a little bit busy, if you can PM me your log file i can take a look. Quote Link to comment
Chacawaca Posted December 11, 2020 Author Share Posted December 11, 2020 (edited) @oxidizeyou can try last update, that was a bug with ffmpeg version i downgraded to old version and it should be ok now. Edited December 11, 2020 by Chacawaca Quote Link to comment
krschuerman Posted December 23, 2020 Share Posted December 23, 2020 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 Quote Link to comment
Chacawaca Posted December 24, 2020 Author Share Posted December 24, 2020 I will take a look if i can do something. Quote Link to comment
nathan909 Posted October 16, 2021 Share Posted October 16, 2021 Does this work with quick sync? Quote Link to comment
chest069 Posted July 30, 2022 Share Posted July 30, 2022 (edited) 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 July 31, 2022 by chest069 Added more information Quote Link to comment
Chacawaca Posted August 2, 2022 Author Share Posted August 2, 2022 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. Quote Link to comment
Chacawaca Posted August 2, 2022 Author Share Posted August 2, 2022 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 Quote Link to comment
chest069 Posted August 7, 2022 Share Posted August 7, 2022 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. Quote Link to comment
Chacawaca Posted August 12, 2022 Author Share Posted August 12, 2022 this app has no UI, its only automatized Quote Link to comment
chest069 Posted August 12, 2022 Share Posted August 12, 2022 @ChacawacaThanks for the help. I wasn't able to get it working right so I uninstalled it, but I do appreciate the help. Quote Link to comment
luckyheiko Posted October 26, 2023 Share Posted October 26, 2023 (edited) 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 October 26, 2023 by luckyheiko Quote Link to comment
myque Posted April 5 Share Posted April 5 (edited) 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 April 5 by myque spelling error Quote Link to comment
Recommended Posts
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.