Unmanic / unmanic

Unmanic - Library Optimiser
GNU General Public License v3.0
1.66k stars 82 forks source link

Transcoding always fails #496

Closed Hime0698 closed 2 months ago

Hime0698 commented 3 months ago

Description

Whenever Unmanic attempts to transcode a file, it fails. Operations that dont involve transcoding work fine.

Versions

Version: 0.2.7~d14f498

Installation Method Used

Docker on Unraid

Additional Information

ffmpeg -hide_banner -loglevel info -i /library/tv/Babylon 5 (1994) {imdb-tt0105946}/Season 04/Babylon 5 (1994) - S04E18 - Intersections in Real Time - [Bluray-1080p Remux].mkv -strict -2 -max_muxing_queue_size 2048 -threads 1 -map 0:v:0 -map 0:a:0 -map 0:a:1 -map 0:s:0 -c:v:0 hevc_nvenc -profile:v:0 main10 -preset slow -c:a:0 copy -c:a:1 copy -c:s:0 copy -y /tmp/unmanic/unmanic_file_conversion-gywed-1723491308/Babylon 5 (1994) - S04E18 - Intersections in Real Time - [Bluray-1080p Remux]-gywed-1723491308-WORKING-6-1.mkv

LOG:

[matroska,webm @ 0x55c02a0fb640] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size

Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options

Input #0, matroska,webm, from '/library/tv/Babylon 5 (1994) {imdb-tt0105946}/Season 04/Babylon 5 (1994) - S04E18 - Intersections in Real Time - [Bluray-1080p Remux].mkv':

Metadata:

 title : Babylon 5 - Season 4

 encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) x86_64-linux-gnu

 creation_time : 2024-03-13T18:09:11.000000Z

Duration: 00:44:30.17, start: 0.000000, bitrate: 27512 kb/s

Chapters:

 Chapter #0:0: start 0.000000, end 366.699667

   Metadata:

     title : Chapter 01

 Chapter #0:1: start 366.699667, end 1000.457792

   Metadata:

     title : Chapter 02

 Chapter #0:2: start 1000.457792, end 1475.390583

   Metadata:

     title : Chapter 03

 Chapter #0:3: start 1475.390583, end 1962.210250

   Metadata:

     title : Chapter 04

 Chapter #0:4: start 1962.210250, end 2253.292708

   Metadata:

     title : Chapter 05

 Chapter #0:5: start 2253.292708, end 2629.585292

   Metadata:

     title : Chapter 06

 Chapter #0:6: start 2629.585292, end 2669.083083

   Metadata:

     title : Chapter 07

 Chapter #0:7: start 2669.083083, end 2670.167500

   Metadata:

     title : Chapter 08

Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn

 Metadata:

   BPS-eng : 23858862

   DURATION-eng : 00:44:30.167500000

   NUMBER_OF_FRAMES-eng: 64020

   NUMBER_OF_BYTES-eng: 7963393336

   SOURCE_ID-eng : 001011

   _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)

   _STATISTICS_WRITING_DATE_UTC-eng: 2024-03-13 18:09:11

   _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID

Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)

 Metadata:

   title : Surround 5.1

   BPS-eng : 2106971

   DURATION-eng : 00:44:30.176000000

   NUMBER_OF_FRAMES-eng: 250329

   NUMBER_OF_BYTES-eng: 703248072

   SOURCE_ID-eng : 001100

   _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)

   _STATISTICS_WRITING_DATE_UTC-eng: 2024-03-13 18:09:11

   _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID

Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s

 Metadata:

   title : Surround 5.1

   BPS-eng : 1509000

   DURATION-eng : 00:44:30.176000000

   NUMBER_OF_FRAMES-eng: 250329

   NUMBER_OF_BYTES-eng: 503661948

   SOURCE_ID-eng : 001100

   _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)

   _STATISTICS_WRITING_DATE_UTC-eng: 2024-03-13 18:09:11

   _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID

Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle

 Metadata:

   BPS-eng : 34133

   DURATION-eng : 00:43:40.054937500

   NUMBER_OF_FRAMES-eng: 1074

   NUMBER_OF_BYTES-eng: 11178819

   SOURCE_ID-eng : 001200

   _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)

   _STATISTICS_WRITING_DATE_UTC-eng: 2024-03-13 18:09:11

   _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))

Stream #0:1 -> #0:1 (copy)

Stream #0:2 -> #0:2 (copy)

Stream #0:3 -> #0:3 (copy)

Press [q] to stop, [?] for help

[hevc_nvenc @ 0x55c02a120b40] Cannot load libcuda.so.1

[vost#0:0/hevc_nvenc @ 0x55c02a123ac0] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height