jellyfin-ffmpeg icon indicating copy to clipboard operation
jellyfin-ffmpeg copied to clipboard

Video stopping

Open podhorsky-ksj opened this issue 1 year ago • 8 comments

Describe The Bug Multiple times during using jellyfin-ffmpeg with jellyfin, jellyfin sometimes in the middle of the movie stopped playing the video. Only workaround was to play it again and sometimes find the right position, where it stopped, because it wasn't saved. I checked the logs and compared them with the video logs, where this issue didn't happen. Nothing unusual. ffmpeg was just stopped correctly. Some errors, but it was in the correct one too. I checked the network connection, monitored the server, where jellyfin is running, but nothing

When I replaced jellyfin-ffmpeg with normal ffmpeg, I haven't noticed this issue anymore. Steps To Reproduce I used VAAPI hw acceleration (which doesn't probably done the issue) latest jellyfin and jellyfin ffmpeg then just play few videos and see what happened. It occurred more on tizen tv, but I have seen it with web jellyfin too, once for few movies

Expected Behavior Jellyfin should play video without stopping

System (please complete the following information):

  • Platform: Linux
  • Operating System: Archlinux latest
  • Virtualization: none
  • Jellyfin Version: 10.8.13
  • Jellyfin-FFmpeg Version: 6.0.1p1
  • Hardware Acceleration: VAAPI
  • CPU & GPU Model: i5-2520M

MediaInfo

Metadata:
    encoder         : libebml v1.3.1 + libmatroska v1.4.2
    creation_time   : 2019-11-14T10:11:33.000000Z
  Duration: 01:57:32.00, start: 0.000000, bitrate: 6733 kb/s
 
  Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x816, SAR 1:1 DAR 40:17, 23.98 fps, 23.98 tbr, 1k tbn (default) (forced)
    Metadata:
      BPS             : 6092154
      BPS-eng         : 6092154
      DURATION        : 01:57:31.920000000
      DURATION-eng    : 01:57:31.920000000
      NUMBER_OF_FRAMES: 169077
      NUMBER_OF_FRAMES-eng: 169077
      NUMBER_OF_BYTES : 5370173463
      NUMBER_OF_BYTES-eng: 5370173463
      _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2019-11-14 10:11:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-11-14 10:11:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(en): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default) (forced)
    Metadata:
      title           : AC3 5.1
      BPS             : 640000
      BPS-eng         : 640000
      DURATION        : 01:57:32.000000000
      DURATION-eng    : 01:57:32.000000000
      NUMBER_OF_FRAMES: 220375
      NUMBER_OF_FRAMES-eng: 220375
      NUMBER_OF_BYTES : 564160000
      NUMBER_OF_BYTES-eng: 564160000
      _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2019-11-14 10:11:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-11-14 10:11:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(en): Subtitle: subrip (default) (forced)
    Metadata:
      title           : English forced sub
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 01:37:04.151000000
      DURATION-eng    : 01:37:04.151000000
      NUMBER_OF_FRAMES: 27
      NUMBER_OF_FRAMES-eng: 27
      NUMBER_OF_BYTES : 398
      NUMBER_OF_BYTES-eng: 398
      _STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2019-11-14 10:11:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-11-14 10:11:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

FFmpeg Logs I don't have them, it occurred before I reinstalled the server, but nothing from it caused the issue, because I have seen all rows on correct played movie too.

Additional Context

podhorsky-ksj avatar Feb 02 '24 10:02 podhorsky-ksj