SOLVED: Jellyfin can access Mounted NFS but FFMPEG says no such file - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: Jellyfin can access Mounted NFS but FFMPEG says no such file (/t-solved-jellyfin-can-access-mounted-nfs-but-ffmpeg-says-no-such-file) Pages:
1
2
|
Jellyfin can access Mounted NFS but FFMPEG says no such file - CountParadox - 2023-11-19 Hi guys; I have JF installed in a windows VM. The service runs as a user account, I can login as that user account, and I have a mounted smb share, with full permissions and everything correct (im fairly sure at least...) JF has no issues indexing the media and can see and modify it (eg delete files) no issues. But attempting to playback any content, does not work. JF says that there is a problem with the file, and checking the logs shows FFMPEG saying the file does not exist. eg: Code: /videos/945e1f21-ef0e-736c-3285-055dc688f67e/hls1/main/0.ts While the file is indeed, exactly there. I have googled around but the info I am finding does not seem relevant. Anybody have any ideas ? RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - TheDreadPirate - 2023-11-20 Did you install Jellyfin as a basic install or service install? RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - CountParadox - 2023-11-20 (2023-11-20, 12:25 AM)TheDreadPirate Wrote: Did you install Jellyfin as a basic install or service install? I installed it as a service, the service runs as the same user; if I stop the service, then run jellyfin.exe manually it does not work either, I am unable to access the web UI this way. RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - TheDreadPirate - 2023-11-20 Are you able to tell if the ffmpeg process is being run as the user you set the service to run as? Monitor task manager and trigger a transcode. RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - CountParadox - 2023-11-20 (2023-11-20, 01:51 AM)TheDreadPirate Wrote: Are you able to tell if the ffmpeg process is being run as the user you set the service to run as? yes it appears to be running as the correct user RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - CountParadox - 2023-11-20 I resolved this by mounting the shares in jellyfin as \\192.168.1.X\Media\Movies etc. vs using the windows mounted drive letter of M:\Movies RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - alike - 2024-10-13 I have the same issue i think. It started suddenly today. Only thing i changed recently here was that i changed how jellyfin and other apps startet up with windows. But i changed that back to see if that fixed the issue. I could have updated some vcredits files or something else working as shared files, as i have installed jellyseerr earlier today. Sometimes jellyfin doesnt even start, i get this error: [2024-10-13 20:13:28.431 +02:00] [FTL] [1] Main: Error while starting server Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery() at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText) at Emby.Server.Implementations.Data.ManagedConnection.Execute(String commandText) at Emby.Server.Implementations.Data.BaseSqliteRepository.Initialize() at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize() at Emby.Server.Implementations.ApplicationHost.InitializeServices() at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig) Trying to play video files give me these errors: {"Protocol":0,"Id":"776940faf42645cb010726521e921e7a","Path":"V:\\Us.2019.1080p.BluRay.x264-GECKOS\\us.2019.1080p.bluray.x264-geckos.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":8527394104,"Name":"us.2019.1080p.bluray.x264-geckos","IsRemote":false,"ETag":"918a2bfea041e2c6ae531a984bc782f7","RunTimeTicks":69876800000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"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,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":9762775,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":808,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","CodecTag":null,"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,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"Engelsk - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"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}],"MediaAttachments":[],"Formats":[],"Bitrate":10402775,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} ffmpeg -analyzeduration 200M -probesize 1G -ss 00:00:03.000 -init_hw_device cuda=cu:0 -filter_hw_device cu -noautorotate -i file:"V:\Us.2019.1080p.BluRay.x264-GECKOS\us.2019.1080p.bluray.x264-geckos.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 9762775 -maxrate 9762775 -bufsize 19525550 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,808*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,80)/2)*2,format=yuv420p" -codec:a:0 ac3 -ac 2 -ab 256000 -ar 48000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 1 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\43db66932f38852bf19c79ee361e90db%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\43db66932f38852bf19c79ee361e90db.m3u8" ffmpeg version 6.0.1-Jellyfin Copyright © 2000-2023 the FFmpeg developers built with gcc 13-win32 (GCC) configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --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-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-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 file:V:\Us.2019.1080p.BluRay.x264-GECKOS\\us.2019.1080p.bluray.x264-geckos.mkv: No such file or directory The files are there! FFMPEG.exe is running with same user as expected. I tried updating my ffmpeg set from https://github.com/jellyfin/jellyfin-ffmpeg But i cant seem to jellyfin to start at all now, so i cant test the change. Im very close to beat my head against the wall here. Edit: I found out the issue with jellyfin server not starting: It was due to lack of admin rights on the startup app. Fixed now and starting again. However, still same issue with playing all video files. RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - TheDreadPirate - 2024-10-13 Do you have the playback reporting plugin installed? RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - alike - 2024-10-14 Yes. It looks like activity even yesterday, but the playcount is probably just movies that does'nt actually play. Or was is something else you had in mind? RE: Jellyfin can access Mounted NFS but FFMPEG says no such file - alike - 2024-10-14 Just a few screenshots from the error on client side. |