![]() |
Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 - 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: Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 (/t-playback-error-strm-files-not-working-ffmpeg-exit-code-1) |
Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 - tomtom - 2024-10-26 Question: I'm encountering issues playing .strm files in Jellyfin. Attempting playback results in the following error: Playback Error: "Playback failed due to a fatal player error." Logs: Quote:[2024-10-26 15:07:32.629 +02:00] [ERR] FFmpeg exited with code 1 File Format: The .strm file only contains a URL pointing to the video (tested in VLC, where it plays without issues). Environment Details: Jellyfin Server Version: 10.9.11 Web Version: 10.9.11 Build Version: 10.9.11 ffprobe Version: 5.1.4 (Debian 12, ARM64 architecture) File Structure: Simple .strm file linking to a video URL. Additional Information: Running ffprobe on the .strm file directly (ffprobe -i Ludik\ S01E01.strm) produces: Error: Invalid data found when processing input Attempts to Troubleshoot: Checked URL and confirmed it’s playable outside Jellyfin. Verified Jellyfin and FFmpeg installation paths. Increased analyzeduration and probesize values in the Jellyfin settings. Seeking Help: Any guidance on why Jellyfin cannot play .strm files, despite the URLs working in VLC? Could this be a configuration or compatibility issue with FFmpeg on ARM64? Thank you for any insights or troubleshooting steps! RE: Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 - TheDreadPirate - 2024-10-26 We'd need to see the ffmpeg log. RE: Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 - tomtom - 2024-10-27 Hey, thanks for the reply ( masked my URL) {"Protocol":1,"Id":"3bf17d944dcf65b1c118450056eef7a0","Path":"MASKED_URL/1575636.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":2334368435,"Name":"Beverly Hills Cop 4 Axel F (2024) EDDIE MURPHY - EN","IsRemote":true,"ETag":"66043b8bc472d693255c8381a186330b","RunTimeTicks":70760000000,"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":"h264","CodecTag":"avc1","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/12288","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":2249855,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":804,"Width":1920,"AverageFrameRate":24,"RealFrameRate":24,"ReferenceFrameRate":24,"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":"aac","CodecTag":"mp4a","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/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":384000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"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}],"MediaAttachments":[],"Formats":[],"Bitrate":2639195,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false} /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -i "MASKED_URL/1575636.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_v4l2m2m -b:v 4499710 -maxrate 4499710 -bufsize 8999420 -level 41 -force_key_frames:0 "expr:gte(t,n_forced*3)" -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\,804*a))/64)*64:trunc(min(max(iw/a\,ih)\,min(1920/a\,804))/2)*2,format=yuv420p" -codec:a:0 copy -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 "965d228147a0ce81944b3ccb5ae71dd9-1.mp4" -start_number 0 -hls_segment_filename "/var/cache/jellyfin/transcodes/965d228147a0ce81944b3ccb5ae71dd9%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/965d228147a0ce81944b3ccb5ae71dd9.m3u8" ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=arm64 --cross-prefix=/usr/bin/aarch64-linux-gnu- --toolchain=hardened --enable-cross-compile --enable-rkmpp --enable-rkrga 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 'MASKED_URL/1575636.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf59.33.100 Duration: 01:57:56.00, start: 0.000000, bitrate: 2639 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x804 [SAR 1:1 DAR 160:67], 2249 kb/s, 24 fps, 24 tbr, 12288 tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] encoder : Lavc59.48.100 libx264 Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_v4l2m2m)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [h264_v4l2m2m @ 0x5555d612c510] Could not find a valid device [h264_v4l2m2m @ 0x5555d612c510] can't configure encoder [vost#0:0/h264_v4l2m2m @ 0x5555d6158d60] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height. [vf#0:0 @ 0x5555d615bc40] Error sending frames to consumers: Invalid argument [vf#0:0 @ 0x5555d615bc40] Task finished with error code: -22 (Invalid argument) [vf#0:0 @ 0x5555d615bc40] Terminating thread with return code -22 (Invalid argument) [vost#0:0/h264_v4l2m2m @ 0x5555d6158d60] Could not open encoder before EOF [vost#0:0/h264_v4l2m2m @ 0x5555d6158d60] Task finished with error code: -22 (Invalid argument) [vost#0:0/h264_v4l2m2m @ 0x5555d6158d60] Terminating thread with return code -22 (Invalid argument) [out#0/hls @ 0x5555d611d0c0] 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 RE: Playback Error: .strm Files Not Working - FFmpeg Exit Code 1 - gnattu - 2024-10-27 VL42 encoding is not working for some reason. Unfortunately you need to either use software (if that is fast enough) or use some other hardware that provides better encoding support, as we are deprecating Raspberry Pi V4L2: https://jellyfin.org/docs/general/administration/hardware-acceleration/#raspberry-pi-hardware-acceleration-support-deprecation |