2024-01-16, 09:42 PM
Jellyfin:
Version: 10.8.13
Operating System: Linux
Architecture: X64
Issue: I was able to log in to Jellyfin and see the media I want to play on every device I own: Roku, Amazon Firestick, and browsers. However, I can only play media I'd like to play when using browsers such as Chrome, Firefox, or Safari on my phone or pc. When I try to play such media, I get a loading screen, and then it exits the media and showcases the home screen of the Jellyfin app.
Logs:
/videos/ac31f054-5bf7-862d-42f2-bd2996262e85/hls1/main/1.ts
{"Protocol":0,"Id":"ac31f0545bf7862d42f2bd2996262e85","Path":"/media/myfiles/movies/Ratatouille.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":5644717568,"Name":"Ratatouille","IsRemote":false,"ETag":"593551f2b326e13b6432894c09a05227","RunTimeTicks":66643841024,"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":"mpeg2video","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"smpte170m","ColorTransfer":"smpte170m","ColorPrimaries":"smpte170m","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":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"480p MPEG2VIDEO SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":6775981,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":480,"Width":720,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"Main","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":8,"IsAnamorphic":null},{"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":"Surround 5.1","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Surround 5.1 - English - Dolby Digital - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":448000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":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},{"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":"Stereo","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Stereo - English - Dolby Digital","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"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},{"Codec":"DVDSUB","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English - Default - DVDSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":7415981,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -ss 00:00:03.000 -init_hw_device vaapi=vadev/dri/renderD128,driver=i965 -filter_hw_device va -autorotate 0 -i file:"/media/myfiles/movies/Ratatouille.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_vaapi -tag:v:0 hvc1 -rc_mode CBR -b:v 6775981 -maxrate 6775981 -bufsize 13551962 -force_key_frames:0 "expr:gte(t,3+n_forced*3)" -filter_complex "[0:3]scale=s=720x480:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(720\,480*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(720/a\,480))/2)*2,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi" -start_at_zero -codec:a:0 libfdk_aac -ac 6 -ab 640000 -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 "/var/lib/jellyfin/transcodes/9238297c8129694d842daf58d197c769%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/9238297c8129694d842daf58d197c769.m3u8"
ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, matroska,webm, from 'filemedia/myfiles/movies/Ratatouille.mkv':
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-01-15T18:25:03.000000Z
Duration: 01:51:04.38, start: 0.000000, bitrate: 6775 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 76.242833
Metadata:
title : Chapter 01
Chapter #0:1: start 76.242833, end 389.422367
Metadata:
title : Chapter 02
Chapter #0:2: start 389.422367, end 562.895667
Metadata:
title : Chapter 03
Chapter #0:3: start 562.895667, end 658.190867
Metadata:
title : Chapter 04
Chapter #0:4: start 658.190867, end 810.976833
Metadata:
title : Chapter 05
Chapter #0:5: start 810.976833, end 1060.225833
Metadata:
title : Chapter 06
Chapter #0:6: start 1060.225833, end 1177.543033
Metadata:
title : Chapter 07
Chapter #0:7: start 1177.543033, end 1488.320167
Metadata:
title : Chapter 08
Chapter #0:8: start 1488.320167, end 1735.233500
Metadata:
title : Chapter 09
Chapter #0:9: start 1735.233500, end 1985.183200
Metadata:
title : Chapter 10
Chapter #0:10: start 1985.183200, end 2293.624667
Metadata:
title : Chapter 11
Chapter #0:11: start 2293.624667, end 2433.130700
Metadata:
title : Chapter 12
Chapter #0:12: start 2433.130700, end 2651.348700
Metadata:
title : Chapter 13
Chapter #0:13: start 2651.348700, end 2819.316500
Metadata:
title : Chapter 14
Chapter #0:14: start 2819.316500, end 3087.784700
Metadata:
title : Chapter 15
Chapter #0:15: start 3087.784700, end 3422.285533
Metadata:
title : Chapter 16
Chapter #0:16: start 3422.285533, end 3572.435533
Metadata:
title : Chapter 17
Chapter #0:17: start 3572.435533, end 3653.516533
Metadata:
title : Chapter 18
Chapter #0:18: start 3653.516533, end 4039.735700
Metadata:
title : Chapter 19
Chapter #0:19: start 4039.735700, end 4285.648033
Metadata:
title : Chapter 20
Chapter #0:20: start 4285.648033, end 4528.223700
Metadata:
title : Chapter 21
Chapter #0:21: start 4528.223700, end 4765.093667
Metadata:
title : Chapter 22
Chapter #0:22: start 4765.093667, end 5010.338667
Metadata:
title : Chapter 23
Chapter #0:23: start 5010.338667, end 5134.462667
Metadata:
title : Chapter 24
Chapter #0:24: start 5134.462667, end 5298.326367
Metadata:
title : Chapter 25
Chapter #0:25: start 5298.326367, end 5559.220333
Metadata:
title : Chapter 26
Chapter #0:26: start 5559.220333, end 5741.435700
Metadata:
title : Chapter 27
Chapter #0:27: start 5741.435700, end 5929.924000
Metadata:
title : Chapter 28
Chapter #0:28: start 5929.924000, end 6054.715333
Metadata:
title : Chapter 29
Chapter #0:29: start 6054.715333, end 6179.006167
Metadata:
title : Chapter 30
Chapter #0:30: start 6179.006167, end 6664.384000
Metadata:
title : Chapter 31
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, smpte170m, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 6126213
DURATION-eng : 01:51:04.357700000
NUMBER_OF_FRAMES-eng: 159785
NUMBER_OF_BYTES-eng: 5103409384
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 01:51:04.416000000
NUMBER_OF_FRAMES-eng: 208263
NUMBER_OF_BYTES-eng: 373207296
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:51:04.416000000
NUMBER_OF_FRAMES-eng: 208263
NUMBER_OF_BYTES-eng: 159945984
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 3950
DURATION-eng : 01:50:33.015788888
NUMBER_OF_FRAMES-eng: 1664
NUMBER_OF_BYTES-eng: 3275716
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Subtitle: subrip
Metadata:
BPS-eng : 122
DURATION-eng : 01:42:01.863200000
NUMBER_OF_FRAMES-eng: 1679
NUMBER_OF_BYTES-eng: 93377
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream mapping:
Stream #0:0 (mpeg2video) -> setparams:default (graph 0)
Stream #0:3 (dvdsub) -> scale:default (graph 0)
hwupload_vaapi:default (graph 0) -> Stream #0:0 (hevc_vaapi)
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[matroska,webm @ 0x55b0aabb9a00] sub2video: using 720x480 canvas
[hevc_vaapi @ 0x55b0aacbae40] No usable encoding profile found.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x55b0aacca340] 2 frames left in the queue on closing
Conversion failed!
Version: 10.8.13
Operating System: Linux
Architecture: X64
Issue: I was able to log in to Jellyfin and see the media I want to play on every device I own: Roku, Amazon Firestick, and browsers. However, I can only play media I'd like to play when using browsers such as Chrome, Firefox, or Safari on my phone or pc. When I try to play such media, I get a loading screen, and then it exits the media and showcases the home screen of the Jellyfin app.
Logs:
/videos/ac31f054-5bf7-862d-42f2-bd2996262e85/hls1/main/1.ts
{"Protocol":0,"Id":"ac31f0545bf7862d42f2bd2996262e85","Path":"/media/myfiles/movies/Ratatouille.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":5644717568,"Name":"Ratatouille","IsRemote":false,"ETag":"593551f2b326e13b6432894c09a05227","RunTimeTicks":66643841024,"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":"mpeg2video","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":"smpte170m","ColorTransfer":"smpte170m","ColorPrimaries":"smpte170m","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":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"480p MPEG2VIDEO SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":6775981,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":480,"Width":720,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"Main","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":8,"IsAnamorphic":null},{"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":"Surround 5.1","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Surround 5.1 - English - Dolby Digital - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":448000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":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},{"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":"Stereo","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Stereo - English - Dolby Digital","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"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},{"Codec":"DVDSUB","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English - Default - DVDSUB","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","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":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":7415981,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -ss 00:00:03.000 -init_hw_device vaapi=vadev/dri/renderD128,driver=i965 -filter_hw_device va -autorotate 0 -i file:"/media/myfiles/movies/Ratatouille.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_vaapi -tag:v:0 hvc1 -rc_mode CBR -b:v 6775981 -maxrate 6775981 -bufsize 13551962 -force_key_frames:0 "expr:gte(t,3+n_forced*3)" -filter_complex "[0:3]scale=s=720x480:flags=fast_bilinear[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(720\,480*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(720/a\,480))/2)*2,format=nv12[main];[main][sub]overlay=eof_action=pass:shortest=1:repeatlast=0,hwupload_vaapi" -start_at_zero -codec:a:0 libfdk_aac -ac 6 -ab 640000 -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 "/var/lib/jellyfin/transcodes/9238297c8129694d842daf58d197c769%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/9238297c8129694d842daf58d197c769.m3u8"
ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, matroska,webm, from 'filemedia/myfiles/movies/Ratatouille.mkv':
Metadata:
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) win(x64-release)
creation_time : 2024-01-15T18:25:03.000000Z
Duration: 01:51:04.38, start: 0.000000, bitrate: 6775 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 76.242833
Metadata:
title : Chapter 01
Chapter #0:1: start 76.242833, end 389.422367
Metadata:
title : Chapter 02
Chapter #0:2: start 389.422367, end 562.895667
Metadata:
title : Chapter 03
Chapter #0:3: start 562.895667, end 658.190867
Metadata:
title : Chapter 04
Chapter #0:4: start 658.190867, end 810.976833
Metadata:
title : Chapter 05
Chapter #0:5: start 810.976833, end 1060.225833
Metadata:
title : Chapter 06
Chapter #0:6: start 1060.225833, end 1177.543033
Metadata:
title : Chapter 07
Chapter #0:7: start 1177.543033, end 1488.320167
Metadata:
title : Chapter 08
Chapter #0:8: start 1488.320167, end 1735.233500
Metadata:
title : Chapter 09
Chapter #0:9: start 1735.233500, end 1985.183200
Metadata:
title : Chapter 10
Chapter #0:10: start 1985.183200, end 2293.624667
Metadata:
title : Chapter 11
Chapter #0:11: start 2293.624667, end 2433.130700
Metadata:
title : Chapter 12
Chapter #0:12: start 2433.130700, end 2651.348700
Metadata:
title : Chapter 13
Chapter #0:13: start 2651.348700, end 2819.316500
Metadata:
title : Chapter 14
Chapter #0:14: start 2819.316500, end 3087.784700
Metadata:
title : Chapter 15
Chapter #0:15: start 3087.784700, end 3422.285533
Metadata:
title : Chapter 16
Chapter #0:16: start 3422.285533, end 3572.435533
Metadata:
title : Chapter 17
Chapter #0:17: start 3572.435533, end 3653.516533
Metadata:
title : Chapter 18
Chapter #0:18: start 3653.516533, end 4039.735700
Metadata:
title : Chapter 19
Chapter #0:19: start 4039.735700, end 4285.648033
Metadata:
title : Chapter 20
Chapter #0:20: start 4285.648033, end 4528.223700
Metadata:
title : Chapter 21
Chapter #0:21: start 4528.223700, end 4765.093667
Metadata:
title : Chapter 22
Chapter #0:22: start 4765.093667, end 5010.338667
Metadata:
title : Chapter 23
Chapter #0:23: start 5010.338667, end 5134.462667
Metadata:
title : Chapter 24
Chapter #0:24: start 5134.462667, end 5298.326367
Metadata:
title : Chapter 25
Chapter #0:25: start 5298.326367, end 5559.220333
Metadata:
title : Chapter 26
Chapter #0:26: start 5559.220333, end 5741.435700
Metadata:
title : Chapter 27
Chapter #0:27: start 5741.435700, end 5929.924000
Metadata:
title : Chapter 28
Chapter #0:28: start 5929.924000, end 6054.715333
Metadata:
title : Chapter 29
Chapter #0:29: start 6054.715333, end 6179.006167
Metadata:
title : Chapter 30
Chapter #0:30: start 6179.006167, end 6664.384000
Metadata:
title : Chapter 31
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, smpte170m, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 29.97 fps, 29.97 tbr, 1k tbn
Metadata:
BPS-eng : 6126213
DURATION-eng : 01:51:04.357700000
NUMBER_OF_FRAMES-eng: 159785
NUMBER_OF_BYTES-eng: 5103409384
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 01:51:04.416000000
NUMBER_OF_FRAMES-eng: 208263
NUMBER_OF_BYTES-eng: 373207296
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:51:04.416000000
NUMBER_OF_FRAMES-eng: 208263
NUMBER_OF_BYTES-eng: 159945984
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 3950
DURATION-eng : 01:50:33.015788888
NUMBER_OF_FRAMES-eng: 1664
NUMBER_OF_BYTES-eng: 3275716
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Subtitle: subrip
Metadata:
BPS-eng : 122
DURATION-eng : 01:42:01.863200000
NUMBER_OF_FRAMES-eng: 1679
NUMBER_OF_BYTES-eng: 93377
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2024-01-15 18:25:03
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream mapping:
Stream #0:0 (mpeg2video) -> setparams:default (graph 0)
Stream #0:3 (dvdsub) -> scale:default (graph 0)
hwupload_vaapi:default (graph 0) -> Stream #0:0 (hevc_vaapi)
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[matroska,webm @ 0x55b0aabb9a00] sub2video: using 720x480 canvas
[hevc_vaapi @ 0x55b0aacbae40] No usable encoding profile found.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x55b0aacca340] 2 frames left in the queue on closing
Conversion failed!