2025-03-19, 10:52 PM
Hello all,
I have this strange issue where I cannot only play season 1 of a specific series, that can be opened in MediaPlayer, Bs Player and other apps, so I'm not really sure what's wrong with it.
I have the logs but I don't know how to read these, from the looks of it I would say it's trying to convert something, but I'm not sure what to what since I'm trying to play it from the same PC that is hosting the files, I have an RTX2060 that does the transcoding.
If anyone can help and take a peek, I would be grateful!
I have this strange issue where I cannot only play season 1 of a specific series, that can be opened in MediaPlayer, Bs Player and other apps, so I'm not really sure what's wrong with it.
I have the logs but I don't know how to read these, from the looks of it I would say it's trying to convert something, but I'm not sure what to what since I'm trying to play it from the same PC that is hosting the files, I have an RTX2060 that does the transcoding.
If anyone can help and take a peek, I would be grateful!
Code:
{"Protocol":0,"Id":"2d4a1f9f92e1f1fe14fb5eeeed18ada4","Path":"E:\\Library\\Deep Space Nine\\Season 1\\DS9 S01e01 Emissary-CFR_x4.50.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":12581126148,"Name":"DS9 S01e01 Emissary-CFR_x4.50","IsRemote":false,"ETag":"a43883aebfda7f07a2f38aeca7e193e7","RunTimeTicks":54488333329,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"mp4v","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/15360","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"4K MPEG4 SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":18334209,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":2160,"Width":3840,"AverageFrameRate":30,"RealFrameRate":30,"ReferenceFrameRate":30,"Profile":"Simple Profile","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":1,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - AAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":128547,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"bin_data","CodecTag":"text","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":4,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":18471662,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}
ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -noautorotate -hwaccel_flags +unsafe_output -threads 1 -i file:"E:\Library\Deep Space Nine\Season 1\DS9 S01e01 Emissary-CFR_x4.50.mp4" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 18334209 -maxrate 18334209 -bufsize 36668418 -profile:v:0 main -g:v:0 90 -keyint_min:v:0 90 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 128547 -ar 48000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "D:\Applications\JellyFin Data\cache\transcodes\e193b6e744f3616de738a4bdc51f5821-1.mp4" -start_number 0 -hls_segment_filename "D:\Applications\JellyFin Data\cache\transcodes\e193b6e744f3616de738a4bdc51f5821%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "D:\Applications\JellyFin Data\cache\transcodes\e193b6e744f3616de738a4bdc51f5821.m3u8"
ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
built with clang version 18.1.8
configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:E:\Library\Deep Space Nine\Season 1\DS9 S01e01 Emissary-CFR_x4.50.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.29.100
Duration: 01:30:48.83, start: 0.000000, bitrate: 18471 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 272.167000
Metadata:
title : Wolf 359, Stardate 43997
Chapter #0:1: start 272.167000, end 474.333000
Metadata:
title : Deep Space Nine, Three Years Later
Chapter #0:2: start 474.333000, end 967.433000
Metadata:
title : Federation Presence At Bajor
Chapter #0:3: start 967.433000, end 1138.867000
Metadata:
title : A Meeting With Picard
Chapter #0:4: start 1138.867000, end 1293.567000
Metadata:
title : Community Leader
Chapter #0:5: start 1293.567000, end 1871.900000
Metadata:
title : Kai Opaka
Chapter #0:6: start 1871.900000, end 2289.233000
Metadata:
title : Dax And Bashir
Chapter #0:7: start 2289.233000, end 2424.933000
Metadata:
title : Transporter Room Number Three
Chapter #0:8: start 2424.933000, end 2586.300000
Metadata:
title : Gul Dukat
Chapter #0:9: start 2586.300000, end 2900.867000
Metadata:
title : The Denorios Belt
Chapter #0:10: start 2900.867000, end 3395.133000
Metadata:
title : Inside The Wormhole
Chapter #0:11: start 3395.133000, end 3573.267000
Metadata:
title : Rescue Mission
Chapter #0:12: start 3573.267000, end 4166.200000
Metadata:
title : The Nature Of Linear Existence
Chapter #0:13: start 4166.200000, end 4402.000000
Metadata:
title : The Unknown
Chapter #0:14: start 4402.000000, end 4594.367000
Metadata:
title : Cardassian Offensive
Chapter #0:15: start 4594.367000, end 4788.133000
Metadata:
title : The Burning Ship
Chapter #0:16: start 4788.133000, end 5141.667000
Metadata:
title : Attack On Deep Space Nine
Chapter #0:17: start 5141.667000, end 5448.800000
Metadata:
title : Rebuilding The Station
Stream #0:0[0x1](und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 18334 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
Stream #0:2[0x3](eng): Data: bin_data (text / 0x74786574)
Metadata:
handler_name : SubtitleHandler
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> hevc (hevc_nvenc))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[mpeg4 @ 000002973b119900] Video width 3840 not within range from 48 to 2032
[mpeg4 @ 000002973b119900] Failed setup for format cuda: hwaccel initialisation returned error.
Impossible to convert between the formats supported by the filter 'Parsed_setparams_0' and the filter 'auto_scale_0'
[vf#0:0 @ 000002973b111ec0] Error reinitializing filters!
[vf#0:0 @ 000002973b111ec0] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000002973b111ec0] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/hevc_nvenc @ 000002973afa66c0] Could not open encoder before EOF
[vost#0:0/hevc_nvenc @ 000002973afa66c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 000002973afa66c0] Terminating thread with return code -22 (Invalid argument)
[out#0/hls @ 000002972b5ef600] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!