• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Unstable: Firefox/Chromium not playing AV1

     
    • 0 Vote(s) - 0 Average

    SOLVED: Unstable: Firefox/Chromium not playing AV1

    From a github issue marked as solved but isn't
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #1
    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:
    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
    Go to solution
    gnattu
    Offline

    Team Member

    Posts: 336
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #2
    2024-09-05, 09:51 PM
    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.


    Attached Files Thumbnail(s)
       
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #3
    2024-09-05, 10:11 PM
    (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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-05, 10:46 PM
    What tool did you use to create your AV1 videos? If ffmpeg, what is the ffmpeg command you used?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #5
    2024-09-06, 05:54 AM (This post was last modified: 2024-09-06, 06:00 AM by Kiwa. Edited 3 times in total.)
    (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"

       
       
       
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #6
    2024-09-06, 11:01 AM
    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?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-09-06, 01:48 PM
    (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.
    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?

    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #8
    2024-09-07, 04:58 PM (This post was last modified: 2024-09-07, 04:59 PM by Kiwa. Edited 1 time in total.)
    (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.

    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.

    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.
    Kiwa
    Offline

    Junior Member

    Posts: 32
    Threads: 6
    Joined: 2024 Aug
    Reputation: 0
    #9
    2024-09-10, 05:33 AM
    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.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode