Open yashaskm11 opened 2 months ago
When transcoding, the server re-encodes the video into a more compatible format, allowing seeking to function properly. The issue could be video encoding.
Try ffmpeg -i "Filename.mkv" -c:v copy -c:a copy -movflags faststart "Output.mp4"
or ffmpeg -i "Filename.mkv" -c:v copy -c:a copy -map 0 "Output.mkv"
Same for me with hevc movies 😔, i will paste media info ASAP
Media info:
Container: mkv Path: filename.mkv Size: 1906 MB
Subtitle Title: French Forced - Par défaut - Forcé - SUBRIP Language: fre Codec: SUBRIP AVC: No Default: Yes Forced: Yes External: No
Video Title: Reencod AvALoN x265 10bits 4000k cfr 2 pass slow Dolby Vision - 4K - HEVC - HDR Codec: HEVC AVC: No Profile: Main 10 Level: 150 Resolution: 3840x2160 Aspect ratio: 16:9 Anamorphic: No Interlaced: No Framerate: 23.976025 Bitrate: 5597 kbps Bit depth: 10 bit Video range: HDR Video range type: DOVIWithHDR10 DV title: DV Profile 8.1 (HDR10) DV version major: 1 DV version minor: 0 DV profile: 8 DV level: 6 DV rpu preset flag: 1 DV el preset flag: 0 DV bl preset flag: 1 DV bl signal compatibility id: 1 Color space: bt2020nc Color transfer: smpte2084 Color primaries: bt2020 Pixel format: yuv420p10le Ref frames: 1
Audio Title: French DDP 5.1 - Dolby Digital+ - Par défaut Language: fre Codec: EAC3 AVC: No Profile: Dolby Digital Plus + Dolby Atmos Layout: 5.1 Channels: 6 ch Bitrate: 768 kbps Sample rate: 48000 Hz Default: Yes Forced: No External: No
Audio Title: English DDP 5.1 - Dolby Digital+ Language: eng Codec: EAC3 AVC: No Profile: Dolby Digital Plus + Dolby Atmos Layout: 5.1 Channels: 6 ch Bitrate: 768 kbps Sample rate: 48000 Hz Default: No Forced: No External: No
Subtitle Title: French - SUBRIP Language: fre Codec: SUBRIP AVC: No Default: No Forced: No External: No
Subtitle Title: French - Malentendants - SUBRIP Language: fre Codec: SUBRIP AVC: No Default: No Forced: No External: No
Subtitle Title: English - SUBRIP Language: eng Codec: SUBRIP AVC: No Default: No Forced: No External: No
I am experiencing the same for many videos, though I cannot discern a pattern. Transcoding is enabled for all formats - except AV1 (which I have no videos in).
Seeking works fine on the regular Android app and on Windows and in all browsers - only in the AndroidTV app seeking always causes the video to restart, no matter what. I can also confirm that the video in question is in fact being transcoded, as the web player shows "Play method: Transcoding" under "Playback info".
This issue started to happen fairly recently, but I cannot say whether it was after a Jellyfin server update or an AndroidTV Jellyfin app update.
0.17.3
Philips 43PUS8535
11, Kernel 4.9.285-ab3673
10.9.9
// edit: Interestingly, Windows Media Player is also unable to seek these videos. And both Windows Media Player and Jellyfin report the videos to be much longer than they actually are. A 50 minute long video is reported as being 1:04h long for example. MPC-BE is also having issues playing back these videos. So overall I think these are just badly encoded videos.
Describe the bug
Seeking doesn't work for a few videos, forward or rewind results in playback starting from the beginning. Resuming the video also results in the same. This behavior is only for a few files, one such file's media info is attached. When requested for a transcoded version, seeking works perfectly. Issue is only with direct play.
Logs
No response
FFmpeg logs
No response
Media info of the file
Application version
0.17.1
Device information
Amazon Firestick 4k
Android version
Fire OS 6
Jellyfin server version
10.9.7