2024-09-05, 06:51 PM
(This post was last modified: 2024-09-06, 06:23 AM by Kiwa. Edited 10 times in total.)
Hi!
Using the unstable version 10.10.0
I'm experimenting with converting h264 files to AV1.
The file plays correctly using the Jellyfin media player from Windows.
However, it does not work in Google Chrome, Edge, Mozilla or Android APP. It only plays 1 second of the video and then stops completely. Tested with some PC's and outside the network.
Using original quality or transcoding to 720 and lower.
I saw that issue in April and marked as resolved, however it continues to cause problems with this version: https://github.com/jellyfin/jellyfin-web/issues/5364
Edit: Ok, I've made it play 47 seconds longer by disabling the 2 options "Limit transcodes" and "Do not allow any", but still crashing.
Hugs!
The Log:
Using the unstable version 10.10.0
I'm experimenting with converting h264 files to AV1.
The file plays correctly using the Jellyfin media player from Windows.
However, it does not work in Google Chrome, Edge, Mozilla or Android APP. It only plays 1 second of the video and then stops completely. Tested with some PC's and outside the network.
Using original quality or transcoding to 720 and lower.
I saw that issue in April and marked as resolved, however it continues to cause problems with this version: https://github.com/jellyfin/jellyfin-web/issues/5364
Edit: Ok, I've made it play 47 seconds longer by disabling the 2 options "Limit transcodes" and "Do not allow any", but still crashing.
Hugs!
The Log:
Code:
{"Protocol":0,"Id":"c46d7ae0788e3ac5a6f31f8b85e336bb","Path":"/mnt/hddblack1tb/peliculas animadas/The Road to El Dorado (2000)/La ruta hacia El Dorado (2000) [BDRemux 1080p AVC DTS 5.1 - DTS-HD MA 5.1 - Subs] [AV1 Kiwa].mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":6105085797,"Name":"La ruta hacia El Dorado (2000) [BDRemux 1080p AVC DTS 5.1 - DTS-HD MA 5.1 - Subs] [AV1 Kiwa]","IsRemote":false,"ETag":"3890989c75a2b24684406aad70ff58f0","RunTimeTicks":53891520000,"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":"av1","CodecTag":null,"Language":null,"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":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p AV1 SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":9062777,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1082,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"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":14,"IsAnamorphic":false},{"Codec":"dts","CodecTag":null,"Language":"spa","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":"Castellano DTS 5.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Predeterminado","LocalizedForced":null,"LocalizedExternal":"Externo","LocalizedHearingImpaired":null,"DisplayTitle":"Castellano DTS 5.1 - Spanish - Predeterminado","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":768000,"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":"DTS","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":"spa","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":"Castellano AC3 5.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Predeterminado","LocalizedForced":null,"LocalizedExternal":"Externo","LocalizedHearingImpaired":null,"DisplayTitle":"Castellano AC3 5.1 - Spanish - Dolby Digital","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":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":"dts","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,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Ingl\u00E9s DTS-HD MA 5.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Predeterminado","LocalizedForced":null,"LocalizedExternal":"Externo","LocalizedHearingImpaired":null,"DisplayTitle":"Ingl\u00E9s DTS-HD MA 5.1 - English","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":3372057,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"DTS-HD MA","Type":0,"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":"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,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Ingl\u00E9s AC3 5.1","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Predeterminado","LocalizedForced":null,"LocalizedExternal":"Externo","LocalizedHearingImpaired":null,"DisplayTitle":"Ingl\u00E9s AC3 5.1 - English - Dolby Digital","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":4,"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":14482834,"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 -fflags +genpts -i file:"/mnt/hddblack1tb/peliculas animadas/The Road to El Dorado (2000)/La ruta hacia El Dorado (2000) [BDRemux 1080p AVC DTS 5.1 - DTS-HD MA 5.1 - Subs] [AV1 Kiwa].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -vbr:a 5 -af "pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3,volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type fmp4 -hls_fmp4_init_filename "c6411a8ea0a96f68c3383a0e4407a41a-1.mp4" -start_number 0 -hls_segment_filename "/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a.m3u8"
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 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 --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-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=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --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
[libdav1d @ 0x55e4b5e69b40] libdav1d 1.4.3-0-ge9986de
Input #0, matroska,webm, from 'file:/mnt/hddblack1tb/peliculas animadas/The Road to El Dorado (2000)/La ruta hacia El Dorado (2000) [BDRemux 1080p AVC DTS 5.1 - DTS-HD MA 5.1 - Subs] [AV1 Kiwa].mkv':
Metadata:
ENCODER : Lavf61.1.100
Duration: 01:29:49.15, start: 0.000000, bitrate: 9062 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 120.120000
Metadata:
title : Capítulo 01
Chapter #0:1: start 120.120000, end 537.245000
Metadata:
title : Capítulo 02
Chapter #0:2: start 537.245000, end 868.117000
Metadata:
title : Capítulo 03
Chapter #0:3: start 868.117000, end 1249.373000
Metadata:
title : Capítulo 04
Chapter #0:4: start 1249.373000, end 1544.334000
Metadata:
title : Capítulo 05
Chapter #0:5: start 1544.334000, end 1773.772000
Metadata:
title : Capítulo 06
Chapter #0:6: start 1773.772000, end 2109.232000
Metadata:
title : Capítulo 07
Chapter #0:7: start 2109.232000, end 2267.015000
Metadata:
title : Capítulo 08
Chapter #0:8: start 2267.015000, end 2511.300000
Metadata:
title : Capítulo 09
Chapter #0:9: start 2511.300000, end 2814.395000
Metadata:
title : Capítulo 10
Chapter #0:10: start 2814.395000, end 3039.620000
Metadata:
title : Capítulo 11
Chapter #0:11: start 3039.620000, end 3195.567000
Metadata:
title : Capítulo 12
Chapter #0:12: start 3195.567000, end 3635.131000
Metadata:
title : Capítulo 13
Chapter #0:13: start 3635.131000, end 3940.103000
Metadata:
title : Capítulo 14
Chapter #0:14: start 3940.103000, end 4255.001000
Metadata:
title : Capítulo 15
Chapter #0:15: start 4255.001000, end 4604.225000
Metadata:
title : Capítulo 16
Chapter #0:16: start 4604.225000, end 4975.387000
Metadata:
title : Capítulo 17
Chapter #0:17: start 4975.387000, end 5389.152000
Metadata:
title : Capítulo 18
Stream #0:0: Video: av1 (Main), yuv420p(tv, progressive), 1920x1082, 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
DURATION : 01:29:49.134000000
Stream #0:1(spa): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
Metadata:
title : Castellano DTS 5.1
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS-eng : 767999
DURATION-eng : 01:29:49.142000000
NUMBER_OF_FRAMES-eng: 505232
NUMBER_OF_BYTES-eng: 517357568
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-04 12:33:18
HANDLER : Castellano DTS 5.1
DURATION : 01:29:49.140000000
Stream #0:2(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Castellano AC3 5.1
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS-eng : 640000
DURATION-eng : 01:29:49.152000000
NUMBER_OF_FRAMES-eng: 168411
NUMBER_OF_BYTES-eng: 431132160
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-04 12:33:18
HANDLER : Castellano AC3 5.1
DURATION : 01:29:49.152000000
Stream #0:3(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit)
Metadata:
title : Inglés DTS-HD MA 5.1
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS-eng : 3372057
DURATION-eng : 01:29:49.142000000
NUMBER_OF_FRAMES-eng: 505232
NUMBER_OF_BYTES-eng: 2271562264
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-04 12:33:18
HANDLER : Inglés DTS-HD MA 5.1
DURATION : 01:29:49.140000000
Stream #0:4(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Inglés AC3 5.1
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
BPS-eng : 640000
DURATION-eng : 01:29:49.152000000
NUMBER_OF_FRAMES-eng: 168411
NUMBER_OF_BYTES-eng: 431132160
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2021-05-04 12:33:18
HANDLER : Inglés AC3 5.1
DURATION : 01:29:49.152000000
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (dts (dca) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x55e4b5ec45c0] Note, the VBR setting is unsupported and only works with some parameter combinations
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a-1.mp4' for writing
Output #0, hls, to '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a.m3u8':
Metadata:
encoder : Lavf60.3.100
Stream #0:0: Video: av1 (Main), yuv420p(tv, progressive), 1920x1082, q=2-31, 23.98 fps, 23.98 tbr, 24k tbn (default)
Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 (default)
Metadata:
encoder : Lavc60.3.100 libfdk_aac
frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a0.mp4' for writing
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a1.mp4' for writing
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a2.mp4' for writing
[mp4 @ 0x55e4b5e7f9c0] Packet duration: -16 / dts: 1441776 is out of range
frame= 942 fps=0.0 q=-1.0 size=N/A time=-00:00:00.03 bitrate=N/A speed=N/A
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a3.mp4' for writing
[mp4 @ 0x55e4b5e7f9c0] Packet duration: -16 / dts: 1922016 is out of range
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a4.mp4' for writing
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a5.mp4' for writing
[q] command received. Exiting.
[hls @ 0x55e4b5ec3500] Opening '/mnt/dietpi_userdata/jellyfin/transcodes/c6411a8ea0a96f68c3383a0e4407a41a6.mp4' for writing
frame= 1445 fps=0.0 q=-1.0 Lsize=N/A time=00:00:20.99 bitrate=N/A speed=26.1x
video:27439kB audio:1492kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown