Closed ikrowni closed 2 years ago
Looks like FFMPEG is missing the nvidia encoder. Are there any logs from either the build phase or the initial container launch that indicate there was a problem? If you open the container and run FFMPEG -encoders is it missing?
Did you try rebuilding the container?
Heres the build output.
C:\Users\THEKI>docker build https://github.com/mdhiggins/radarr-sma.git#build -t smaradarr --build-arg ffmeg_tag=nvidia2004 --build-arg radarr_tag=develop
[+] Building 254.4s (13/13) FINISHED
=> CACHED [internal] load git source https://github.com/mdhiggins/radarr-sma.git#build 0.0s
=> [internal] load metadata for docker.io/linuxserver/radarr:develop 2.2s
=> [internal] load metadata for docker.io/jrottenberg/ffmpeg:4.3-ubuntu 1.7s
=> [auth] jrottenberg/ffmpeg:pull token for registry-1.docker.io 0.0s
=> [auth] linuxserver/radarr:pull token for registry-1.docker.io 0.0s
=> [stage-1 1/6] FROM docker.io/linuxserver/radarr:develop@sha256:76b8a95b6ca68f7743955902f074fa6138eb728e54a394 6.4s
=> => resolve docker.io/linuxserver/radarr:develop@sha256:76b8a95b6ca68f7743955902f074fa6138eb728e54a3949a768166 0.0s
=> => sha256:9b0a2ad62dbddf8084974094f9869f842461517f799e413f6468a422be6a7332 2.21kB / 2.21kB 0.0s
=> => sha256:76b8a95b6ca68f7743955902f074fa6138eb728e54a3949a7681662d435fc4f7 1.11kB / 1.11kB 0.0s
=> => sha256:061490939ef19d7bc3f892414858c1aad8ba2de639f3cfd4a9228272a87fcfea 15.93kB / 15.93kB 0.0s
=> => sha256:02970c2e834cc4e09fb2b1370f371182cb8d8e9af2d367adf9e0f84ceb6e0d51 72.85MB / 72.85MB 3.4s
=> => sha256:4a0c84e2f5f39088629c7f3e6126c77f53aa8cd594d20b06f22718df273b19e4 432B / 432B 4.2s
=> => extracting sha256:02970c2e834cc4e09fb2b1370f371182cb8d8e9af2d367adf9e0f84ceb6e0d51 2.7s
=> => extracting sha256:4a0c84e2f5f39088629c7f3e6126c77f53aa8cd594d20b06f22718df273b19e4 0.0s
=> CACHED [ffmpeg 1/1] FROM docker.io/jrottenberg/ffmpeg:4.3-ubuntu@sha256:b9d88fbbbdf90ff226bd0bc23c4caf2b7de4d 0.0s
=> [stage-1 2/6] COPY --from=ffmpeg /usr/local/ /usr/local/ 0.7s
=> [stage-1 3/6] RUN apt-get update && apt-get install -y git wget python3 python3-pip 227.9s
=> [stage-1 4/6] RUN apt-get update -y && apt-get install -y --no-install-recommends libva-drm2 libva2 i965-v 12.4s
=> [stage-1 5/6] COPY extras/ /usr/local/sma/ 0.1s
=> [stage-1 6/6] COPY root/ / 0.1s
=> exporting to image 4.6s
=> => exporting layers 4.5s
=> => writing image sha256:6f4227272bdda7e8cc9ecd4414b42a4e4773514230e8b04e64a379d18b012b50 0.0s
=> => naming to docker.io/library/smaradarr 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
When i create the container
C:\Users\THEKI>docker run -ti ^
More? --name=radarr ^
More? --restart unless-stopped ^
More? -v E:/Share/_Docker_/RADARR/sma/:/usr/local/sma/config ^
More? -v E:/Share/_Docker_/RADARR/radarr:/config ^
More? -v E:/Share/MOVIES/:/movies ^
More? -v E:/Share/_Downloads_:/downloads ^
More? -p 7878:7878 ^
More? -e PUID=${PUID} ^
More? -e PGID=${PGID} ^
More? smaradarr
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
groupmod: invalid group ID '${PGID}'
usermod: invalid user ID '${PUID}'
Tried doing the same movie and got the same results.
2021-11-22 23:46:56 - RadarrPostProcess - INFO - Radarr extra script post processing started.
2021-11-22 23:46:56 - resources.readsettings - INFO - /usr/local/sma/venv/bin/python3
2021-11-22 23:46:56 - resources.readsettings - INFO - Loading config file /usr/local/sma/config/autoProcess.ini.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Processing /movies/The Matrix (1999)/The Matrix (1999).mkv.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Input Data
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - {
"format": "matroska,webm",
"format-fullname": "unknown",
"video": {
"index": 0,
"codec": "hevc",
"bitrate": 1888400,
"pix_fmt": "yuv420p10le",
"profile": "2",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p10le",
"color_space": "bt709",
"color_primaries": "bt709",
"color_transfer": "bt709"
},
"dimensions": "1920x1080",
"level": 4.0,
"field_order": "unknown"
},
"audio": [
{
"index": 1,
"codec": "ac3",
"bitrate": 384000,
"channels": 6,
"samplerate": 48000,
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired"
}
],
"subtitle": [
{
"index": 2,
"codec": "hdmv_pgs_subtitle",
"bitrate": 28549,
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"language": "eng"
},
{
"index": 3,
"codec": "hdmv_pgs_subtitle",
"bitrate": 22888,
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced+hearing_impaired-visual_impaired",
"language": "eng"
},
{
"index": 4,
"codec": "subrip",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"language": "eng"
}
],
"attachment": []
}
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Reading video stream.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Video codec detected: hevc.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Pix Fmt: yuv420p10le.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Profile: 2.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Video codec parameters None.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Creating h264_nvenc video stream from source stream 0.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Reading audio streams.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Audio detected for stream 1 - ac3 eng 6 channel.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Creating aac audio stream from source stream 1.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Creating aac audio stream from source audio stream 1 [universal-audio].
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Found 0 streams that can be removed from the output file since they will dupcliates [stream-codec-combinations].
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Default audio stream set to eng aac 6 channel stream [default-more-channels: True].
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Reading subtitle streams.
2021-11-22 23:46:56 - resources.mediaprocessor - INFO - Image-based subtitle detected for stream 2 - hdmv_pgs_subtitle eng.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Image-based subtitle detected for stream 3 - hdmv_pgs_subtitle eng.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Text-based subtitle detected for stream 4 - subrip eng.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Creating mov_text subtitle stream from source stream 4.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Scanned for external subtitles and found 0 results in your approved languages.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Output Data
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - {
"source": [
"/movies/The Matrix (1999)/The Matrix (1999).mkv"
],
"format": "mp4",
"video": {
"codec": "h264_nvenc",
"map": 0,
"bitrate": 1816.8379499999999,
"crf": -1,
"maxrate": null,
"bufsize": null,
"level": 0.0,
"profile": null,
"preset": null,
"pix_fmt": "yuv420p",
"field_order": "unknown",
"width": null,
"filter": null,
"params": null,
"framedata": null,
"title": "FHD",
"debug": "video.pix_fmt"
},
"audio": [
{
"map": 1,
"codec": "aac",
"channels": 2,
"bitrate": 256,
"samplerate": null,
"sampleformat": "",
"filter": "pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE",
"language": "eng",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"title": "Stereo",
"debug": "universal-audio"
},
{
"map": 1,
"codec": "aac",
"channels": 6,
"bitrate": 768,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"bsf": null,
"title": "5.1 Channel",
"debug": "audio"
}
],
"subtitle": [
{
"map": 4,
"codec": "mov_text",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired",
"title": null,
"debug": "subtitle.embed-subs"
}
],
"attachment": []
}
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Preopts
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - [
"-fix_sub_duration"
]
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Postopts
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - [
"-threads",
"0",
"-metadata:g",
"encoding_tool=SMA"
]
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - Starting conversion.
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - FFmpeg command:
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - ======================
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - /usr/local/bin/ffmpeg -fix_sub_duration -i "/movies/The Matrix (1999)/The Matrix (1999).mkv" -vcodec h264_nvenc -map 0:0 -pix_fmt yuv420p -vb 1816k -metadata:s:v BPS=1816000 -metadata:s:v BPS-eng=1816000 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 BPS=256000 -metadata:s:a:0 BPS-eng=256000 -filter:a:0 pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:a:1 aac -map 0:1 -ac:a:1 6 -b:a:1 768k -metadata:s:a:1 BPS=768000 -metadata:s:a:1 BPS-eng=768000 -metadata:s:a:1 "title=5.1 Channel" -metadata:s:a:1 "handler_name=5.1 Channel" -metadata:s:a:1 language=eng -disposition:a:1 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 0:4 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y "/movies/The Matrix (1999)/The Matrix (1999).mp4"
2021-11-22 23:46:57 - resources.mediaprocessor - INFO - ======================
2021-11-22 23:46:57 - resources.mediaprocessor - ERROR - Error converting file, FFMPEG error.
Traceback (most recent call last):
File "/usr/local/sma/resources/mediaprocessor.py", line 1752, in convert
for timecode, debug in conv:
File "/usr/local/sma/converter/__init__.py", line 330, in convert
for timecode, debug in self.ffmpeg.convert(outfile,
File "/usr/local/sma/converter/ffmpeg.py", line 728, in convert
raise FFMpegConvertError('Exited with code %d' % p.returncode, cmd,
converter.ffmpeg.FFMpegConvertError: <unprintable FFMpegConvertError object>
2021-11-22 23:46:57 - resources.mediaprocessor - ERROR - /usr/local/bin/ffmpeg -fix_sub_duration -i /movies/The Matrix (1999)/The Matrix (1999).mkv -vcodec h264_nvenc -map 0:0 -pix_fmt yuv420p -vb 1816k -metadata:s:v BPS=1816000 -metadata:s:v BPS-eng=1816000 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -c:a:0 aac -map 0:1 -ac:a:0 2 -b:a:0 256k -metadata:s:a:0 BPS=256000 -metadata:s:a:0 BPS-eng=256000 -filter:a:0 pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE -metadata:s:a:0 title=Stereo -metadata:s:a:0 handler_name=Stereo -metadata:s:a:0 language=eng -disposition:a:0 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:a:1 aac -map 0:1 -ac:a:1 6 -b:a:1 768k -metadata:s:a:1 BPS=768000 -metadata:s:a:1 BPS-eng=768000 -metadata:s:a:1 title=5.1 Channel -metadata:s:a:1 handler_name=5.1 Channel -metadata:s:a:1 language=eng -disposition:a:1 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -c:s:0 mov_text -map 0:4 -metadata:s:s:0 title= -metadata:s:s:0 handler_name= -metadata:s:s:0 language=eng -disposition:s:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -f mp4 -threads 0 -metadata:g encoding_tool=SMA -y /movies/The Matrix (1999)/The Matrix (1999).mp4
2021-11-22 23:46:57 - resources.mediaprocessor - ERROR - ffmpeg version 4.3.3 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libbluray --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-libsrt --enable-libaribb24 --enable-libvmaf --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[matroska,webm @ 0x557139846700] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x557139846700] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from '/movies/The Matrix (1999)/The Matrix (1999).mkv':
Metadata:
title : The Matrix (1999) [OPEN MATTE] [WEB-DL 1080p 10bit DD5.1 x265] - Encoded by Thakur
encoder : libebml v1.4.0 + libmatroska v1.6.1
creation_time : 2021-05-11T04:08:31.000000Z
Duration: 02:16:41.66, start: 0.000000, bitrate: 2296 kb/s
Chapter #0:0: start 0.000000, end 205.789000
Metadata:
title : Trinity in a Jam
Chapter #0:1: start 205.789000, end 395.645000
Metadata:
title : Impossible Pursuit
Chapter #0:2: start 395.645000, end 582.665000
Metadata:
title : Follow Instructions
Chapter #0:3: start 582.665000, end 718.301000
Metadata:
title : The Question
Chapter #0:4: start 718.301000, end 1007.423000
Metadata:
title : "They're Coming for You"
Chapter #0:5: start 1007.423000, end 1293.542000
Metadata:
title : Unable to Speak
Chapter #0:6: start 1293.542000, end 1508.590000
Metadata:
title : Getting the Bug Out
Chapter #0:7: start 1508.590000, end 1731.146000
Metadata:
title : Morpheus' Proposal
Chapter #0:8: start 1731.146000, end 1945.193000
Metadata:
title : Down the Rabbit Hole
Chapter #0:9: start 1945.193000, end 2121.870000
Metadata:
title : Slimy Rebirth
Chapter #0:10: start 2121.870000, end 2320.902000
Metadata:
title : Nebuchadnezzar's Crew
Chapter #0:11: start 2320.902000, end 2662.577000
Metadata:
title : The Real World
Chapter #0:12: start 2662.577000, end 2793.541000
Metadata:
title : The Search Is Over
Chapter #0:13: start 2793.541000, end 2937.852000
Metadata:
title : Training Begins
Chapter #0:14: start 2937.852000, end 3211.291000
Metadata:
title : Morpheus/Neo Matchup
Chapter #0:15: start 3211.291000, end 3392.139000
Metadata:
title : First Jump
Chapter #0:16: start 3392.139000, end 3541.288000
Metadata:
title : The Gatekeepers
Chapter #0:17: start 3541.288000, end 3668.582000
Metadata:
title : Running Silent and Deep
Chapter #0:18: start 3668.582000, end 3916.496000
Metadata:
title : Dealing for Bliss
Chapter #0:19: start 3916.496000, end 4066.813000
Metadata:
title : Off to See the Oracle
Chapter #0:20: start 4066.813000, end 4353.432000
Metadata:
title : There Is No Spoon
Chapter #0:21: start 4353.432000, end 4669.582000
Metadata:
title : Choices...and a Cookie
Chapter #0:22: start 4669.582000, end 4863.108000
Metadata:
title : Glitch in the Matrix
Chapter #0:23: start 4863.108000, end 5105.350000
Metadata:
title : One Left Behide
Chapter #0:24: start 5105.350000, end 5385.130000
Metadata:
title : Heroes Unplugged
Chapter #0:25: start 5385.130000, end 5487.565000
Metadata:
title : Cypher's Burnout
Chapter #0:26: start 5487.565000, end 5845.256000
Metadata:
title : Matters of Belief
Chapter #0:27: start 5845.256000, end 6064.976000
Metadata:
title : Virus to Be Cured
Chapter #0:28: start 6064.976000, end 6260.337000
Metadata:
title : Lobby Shooting Spree
Chapter #0:29: start 6260.337000, end 6420.497000
Metadata:
title : Dodge This
Chapter #0:30: start 6420.497000, end 6618.529000
Metadata:
title : Gotcha
Chapter #0:31: start 6618.529000, end 6776.687000
Metadata:
title : Rooftop Rescue
Chapter #0:32: start 6776.687000, end 6996.907000
Metadata:
title : Subway Showdown
Chapter #0:33: start 6996.907000, end 7129.372000
Metadata:
title : "My Name Is Neo"
Chapter #0:34: start 7129.372000, end 7347.423000
Metadata:
title : Sentinels Attack
Chapter #0:35: start 7347.423000, end 7541.784000
Metadata:
title : "He Is the One"
Chapter #0:36: start 7541.784000, end 7726.802000
Metadata:
title : Final Connections
Chapter #0:37: start 7726.802000, end 8201.657000
Metadata:
title : End Credits ("Wake Up Rock Is Dead")
Stream #0:0: Video: hevc, yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Metadata:
title : Encoded by Thakur
BPS-eng : 1888400
DURATION-eng : 02:16:41.652000000
NUMBER_OF_FRAMES-eng: 196643
NUMBER_OF_BYTES-eng: 1936000374
_STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-11 04:08:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Metadata:
title : Dolby Digital 5.1CH 384kbps - Encoded by Thakur
BPS-eng : 384000
DURATION-eng : 02:16:18.688000000
NUMBER_OF_FRAMES-eng: 255584
NUMBER_OF_BYTES-eng: 392577024
_STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-11 04:08:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
Metadata:
title : PGS - Encoded by Thakur
BPS-eng : 28549
DURATION-eng : 02:08:16.235000000
NUMBER_OF_FRAMES-eng: 2692
NUMBER_OF_BYTES-eng: 27465003
_STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-11 04:08:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
title : PGS [SDH] - BluRay
BPS-eng : 22888
DURATION-eng : 02:15:33.209000000
NUMBER_OF_FRAMES-eng: 2746
NUMBER_OF_BYTES-eng: 23269431
_STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-11 04:08:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(eng): Subtitle: subrip
Metadata:
title : SRT - Encoded by Thakur
BPS-eng : 40
DURATION-eng : 02:08:15.935000000
NUMBER_OF_FRAMES-eng: 1346
NUMBER_OF_BYTES-eng: 38857
_STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-11 04:08:31
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1575x2367 [SAR 96:96 DAR 175:263], 90k tbr, 90k tbn, 90k tbc (attached pic)
Metadata:
filename : The Matrix (1999) - Encoded by Ashish Thakur.jpg
mimetype : image/jpeg
Unknown encoder 'h264_nvenc'
2021-11-22 23:46:57 - RadarrPostProcess - INFO - Processing returned False.
2021-11-22 23:46:57 - RadarrPostProcess - ERROR - Error processing file.
Traceback (most recent call last):
File "/usr/local/sma/postRadarr.py", line 301, in <module>
sys.exit(1)
SystemExit: 1
running this command within the docker cli give me this
# FFMPEG -encoders
/bin/sh: 1: FFMPEG: not found
#
Let me know if there's anything else i can provide you. I'm super close to being fully setup now this should be the last thing i need to bother you with.
groupmod: invalid group ID '${PGID}'
usermod: invalid user ID '${PUID}'
Looks like your UID and GID aren't being set appropriately, and it looks like you're using the docker-compose notation for environment variables instead of the correct notation for your operating system (windows?) since you're running from a command line, that might be cascading and causing downstream failures. Also obviously you'll need to set those environment variables to something
https://docs.linuxserver.io/general/understanding-puid-and-pgid
Honestly I'm not even sure the whole PUID and PGID environment variables are supported on Windows since its more of a linux thing, you'd have to do some research on that I've never used docker on Windows.
that being said for windows, environment variable notation uses %name%
so it would be %PUID%
and %PGID%
With regards to this:
# FFMPEG -encoders
/bin/sh: 1: FFMPEG: not found
#
Linux is case sensitive, so try lowercase, you can also browse to /usr/local/bin and see if the ffmpeg binary is there to confirm before running the command
I have sonarr working perfectly and tried to setup radarr using the same method i did for sonarr which was building the local image
docker build https://github.com/mdhiggins/radarr-sma.git#build -t smaradarr --build-arg ffmeg_tag=nvidia2004 --build-arg radarr_tag=develop
Then i used
i have the same autoprocess.ini setup
Heres the full log from one of the movies it tried