• 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 Media Scanning & Identification Jellyfin showing wrong video duration & cutting video off

     
    • 0 Vote(s) - 0 Average

    Jellyfin showing wrong video duration & cutting video off

    Weird jellyfin behaviour with video duration
    Ghostly_Ghost
    Offline

    Junior Member

    Posts: 8
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #1
    2024-09-12, 08:28 PM
    Hi guys,

    I've got a really odd problem with one video on my jellyfin, and it's driving me bananas.

    The episode is actually 48mins long - but jellyfin's description only lists it as 32mins.  When I play the video via jellyfin (web/android app/roku app) it does indeed end after 32mins.  If I play the video in vlc, it's 48mins long.  jellyfin is configured to pull metadata off tvdb and the episode duration is correctly listed on their website.

    Anyone any ideas at all?  I'm scratching my head with this one, utterly baffled 😩
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-12, 08:43 PM
    What is the output of ffprobe when you run it against that file?
    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]
    Ghostly_Ghost
    Offline

    Junior Member

    Posts: 8
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #3
    2024-09-14, 11:48 AM
    Hi, sorry haven't been near my pc for a couple of days.

    ffprobe:

    ffprobe version 4.2.7-0ubuntu0.1 Copyright © 2007-2022 the FFmpeg developers
    built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
    configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
    WARNING: library configuration mismatch
    avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
    libavutil 56. 31.100 / 56. 31.100
    libavcodec 58. 54.100 / 58. 54.100
    libavformat 58. 29.100 / 58. 29.100
    libavdevice 58. 8.100 / 58. 8.100
    libavfilter 7. 57.100 / 7. 57.100
    libavresample 4. 0. 0 / 4. 0. 0
    libswscale 5. 5.100 / 5. 5.100
    libswresample 3. 5.100 / 3. 5.100
    libpostproc 55. 5.100 / 55. 5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S06E09.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2mp41
    title : 'Revenge'
    artist : ''
    date : '1982'
    encoder : Lavf58.76.100
    comment : ''
    description : 'Petrie falls under suspicion when someone he was squabbling with is murdered. Chris finds out a reporter she's dating isn't just interested in her romantically.'
    show : 'Cagney & Lacey'
    episode_id : '9'
    season_number : 6
    Duration: 00:32:41.34, start: 0.000000, bitrate: 459 kb/s
    Stream #0:0(und): Video: hevc (Main) (hev1 / 0x3176656Nerd-face, yuv420p(tv, bt709, progressive), 720x576 [SAR 16:15 DAR 4:3], 326 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 23.98 tbc (default)
    Metadata:
    handler_name : USP Video Handler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
    handler_name : USP Sound Handler
    gnattu
    Offline

    Team Member

    Posts: 336
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #4
    2024-09-14, 12:43 PM
    Well ffmpeg only recognizes it as 32 minute long and that this why. You need to figure out a way to fix that file
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #5
    2024-09-14, 01:24 PM
    This is just a guess since it plays the full 48 minutes with VLC.

    Are you using a video with ordered chapters?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,035
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #6
    2024-09-14, 01:56 PM
    This happened to me once before and it did perplex me for a while. I figured out that the audio track was shorter than the video track. I remuxed audio in from a different file with the correct length and then the video played the "correct" length.
    Ghostly_Ghost
    Offline

    Junior Member

    Posts: 8
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #7
    2024-09-15, 07:11 AM
    Ooh, the plot thickens and I don't think it's a jellyfin issue, but it's really screwy.

    I have the video on a usb stick - play it and vlc shows 48mins length. If I copy the video to my desktop or my media server, it suddenly becomes 32mins. How is that even possible?!
    Ghostly_Ghost
    Offline

    Junior Member

    Posts: 8
    Threads: 3
    Joined: 2023 Aug
    Reputation: 0
    Country:United Kingdom
    #8
    2024-09-17, 01:23 PM
    I eventually gave up and re-downloaded the video again - it's now showing as 48mins. No idea what was wrong with the version on the USB stick.
    « 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