SOLVED: Unstable: Firefox/Chromium not playing AV1 - 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: Unstable: Firefox/Chromium not playing AV1 (/t-solved-unstable-firefox-chromium-not-playing-av1) |
Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-05 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: 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} RE: Unstable: Firefox/Chromium not playing AV1 - gnattu - 2024-09-05 Cannot reproduce. From your ffmpeg log the browser aborts playing before the server remux finished, which means it is either the web player is not happy with your video or something else happened. RE: Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-05 (2024-09-05, 09:51 PM)gnattu Wrote: Cannot reproduce. From your ffmpeg log the browser aborts playing before the server remux finished, which means it is either the web player is not happy with your video or something else happened. I'm going to convert another video to AV1 with other parameters and check if this is not the cause, but it doesn't make sense because it doesn't give any problems with Jellyfin Media Player. RE: Unstable: Firefox/Chromium not playing AV1 - TheDreadPirate - 2024-09-05 What tool did you use to create your AV1 videos? If ffmpeg, what is the ffmpeg command you used? RE: Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-06 (2024-09-05, 10:46 PM)TheDreadPirate Wrote: What tool did you use to create your AV1 videos? If ffmpeg, what is the ffmpeg command you used? The software I'm using is "FastFlix" with AV1 (VCEEncC) for AMD GPU. I know practically nothing about conversion parameters, I'm still learning. I use the default options and change them to get the best quality/size. Code: "D:\Kiwa\Desktop\convertidor av1\VCEEncC_8.23_x64\VCEEncC64.exe" --avsw --device 0 -i "D:\Kiwa\Downloads\El gigante de hierro (1999) [BDRemux 1080p AVC Dual AC3 5.1 - DTS-MA 5.1 Subs].mkv" --video-metadata clear --metadata clear --chapter-copy -c av1 --vbr 4000 --preset slower --level auto --chromaloc auto --colorrange auto --colormatrix auto --transfer auto --colorprim auto --output-depth 8 --motion-est q-pel --vbaq --pe --pa sc=medium,ss=high,activity-type=y,caq-strength=medium,ltr=true,fskip-maxqp=35,paq=none,motion-quality=none --avsync cfr --audio-copy 1,2,3 --audio-metadata 1?language=spa --audio-metadata 1?title="Castellano AC-3 5.1" --audio-metadata 1?handler="Castellano AC-3 5.1" --audio-disposition 1?default --audio-metadata 2?language=eng --audio-metadata 2?title="Inglés DTS-HD MA 5.1" --audio-metadata 2?handler="Inglés DTS-HD MA 5.1" --audio-disposition 2?unset --audio-metadata 3?language=eng --audio-metadata 3?title="Inglés AC-3 5.1" --audio-metadata 3?handler="Inglés AC-3 5.1" --audio-disposition 3?unset -m default_mode:infer_no_subs -o "D:\Kiwa\Downloads\El gigante de hierro (1999) [BDRemux 1080p AVC Dual AC3 5.1 - DTS-MA 5.1 Subs]-fastflix-55fe.mkv" RE: Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-06 I'm using a debian distro called DietPie, since I have an Intel Arc gpu I had to update the lastet kernel "6.10.6+bpo-amd64" to make it work. All x264 transcoding works without any problem. I've been monitoring the GPU usage when I watch a video in AV1 with Jellyfin Media Player (which is where it works). If the video is displayed in original quality the GPU usage is 0% (obviously). When I reduce the quality the GPU starts working randomly, that is, it uses it intermittently, making it appear and disappear from the monitor (screenshots). But when it's x264 the GPU usage is constant. This causes the video to stutter, jump, or freeze while the audio continues to play. Do you think it's too early to use AV1? RE: Unstable: Firefox/Chromium not playing AV1 - TheDreadPirate - 2024-09-06 (2024-09-06, 11:01 AM)Kiwa Wrote: I'm using a debian distro called DietPie, since I have an Intel Arc gpu I had to update the lastet kernel "6.10.6+bpo-amd64" to make it work. I encode all my media in AV1 with ffmpeg. And for my media still in HEVC, MPEG2, and older codecs, they get transcoded to AV1 no problem. No stuttering. Most of my devices can direct play it, including Chrome/Chromium. I spun up my 10.10 unstable container and I also wasn't able to reproduce your problem. Both for direct streaming (video direct played, audio transcoded), full direct play, and full transcodes. I'm not familiar with Fastflix. I've always used Handbrake on Windows. Maybe Fastflix is doing something during encoding that is breaking the video? Give Handbrake a try. RE: Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-07 (2024-09-06, 01:48 PM)TheDreadPirate Wrote: I encode all my media in AV1 with ffmpeg. And for my media still in HEVC, MPEG2, and older codecs, they get transcoded to AV1 no problem. No stuttering. Most of my devices can direct play it, including Chrome/Chromium. Using Handbrake I'm having the same issue with different parameters and media. I think the problem could be the virtual machine. I'll keep testing and tell u all something when I get it. RE: Unstable: Firefox/Chromium not playing AV1 - Kiwa - 2024-09-10 I've switched my entire system from Dietpi to clean Debian and so far there are no stutters when playing AV1 videos. It may have been a driver issue or an overload of applications on the VM. Thanks all for the help, I'll keep transcoding my videos to AV1. |