Jellyfin Forum
SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - 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: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress (/t-swiftfin-on-appletv-4-can-t-fast-forward-doesn-t-save-progress)

Pages: 1 2


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - johanarens - 2025-01-17

Quick update; I have the same symptoms with AVI files.

Though I've look at the experimental features and tried to enable them one by one.
Direct play gives me some progress :
* With M4V files, I can see the progress bar updating while playing, I can fast forward but if I stop and leave this video and come back again, it doesn't remind where it was left.
* With AVI files, it is reminding where I left the video playing.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - johanarens - 2025-01-17

I've tried with a bunch of MKV files I owned, same behaviour.

I can see the progress bar updating while playing, I can fast forward but if I stop and leave this video and come back again, it doesn't remind where it was left.

I did convert one of my M4V files to MKV (not with the method you mentioned, I've got an error from FFMEG, I have used HandBrake to convert it.
But this is the same result.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - TheDreadPirate - 2025-01-18

Can you share the ffmpeg log with the error?

The method I provided does not involve any re-encoding. Just changing the container.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - johanarens - 2025-01-18

Sure

/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "SomeFile.m4v" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 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=auto --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-libharfbuzz --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 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SomeFile.m4v':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: mp42iso2avc1mp41
creation_time : 2024-11-09T20:18:48.000000Z
title : SomeFile_DVD_S1D1
encoder : HandBrake 1.5.1 2022030700
Duration: 01:37:06.57, start: 0.000000, bitrate: 1068 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 403.361000
Metadata:
title : Chapter 1
Chapter #0:1: start 403.361000, end 984.734000
Metadata:
title : Chapter 2
Chapter #0:2: start 984.734000, end 1597.346000
Metadata:
title : Chapter 3
Chapter #0:3: start 1597.346000, end 2303.760000
Metadata:
title : Chapter 4
Chapter #0:4: start 2303.760000, end 2920.918000
Metadata:
title : Chapter 5
Chapter #0:5: start 2920.918000, end 3506.420000
Metadata:
title : Chapter 6
Chapter #0:6: start 3506.420000, end 4210.915000
Metadata:
title : Chapter 7
Chapter #0:7: start 4210.915000, end 4818.564000
Metadata:
title : Chapter 8
Chapter #0:8: start 4818.564000, end 5355.016000
Metadata:
title : Chapter 9
Chapter #0:9: start 5355.016000, end 5754.874000
Metadata:
title : Chapter 10
Chapter #0:10: start 5754.874000, end 5826.571000
Metadata:
title : Chapter 11
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 718x480 [SAR 32:27 DAR 718:405], 611 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : Surround
vendor_id : [0][0][0][0]
Side data:
audio service type: main
Stream #0:2[0x3](eng): Subtitle: dvd_subtitle (dvdsub) (mp4s / 0x7334706D), 720x480, 3 kb/s (default)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
Metadata:
creation_time : 2024-11-09T20:18:48.000000Z
handler_name : SubtitleHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
[matroska @ 0x556e2ac34140] Only audio, video, and subtitles are supported for Matroska.
[out#0/matroska @ 0x556e2ad1b380] Could not write header (incorrect codec parameters ?): Invalid argument
Conversion failed!


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - TheDreadPirate - 2025-01-18

It's that bin_data stream that's the problem. I think this should still copy it without tripping up ffmpeg.

Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "SomeFile.m4v" -codec copy -map 0:v -map 0:a -map 0:s -map 0:t? -copy_unknown -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv



RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - johanarens - 2025-01-18

Conversion worked.

But I've discovered something interesting, a good track to nail down the bug.

With the experimental / direct play feature on :
If I start a video file (any format), it plays, the progress bar works as expected.
If I stop and exit the video, the progress point is saved.

BUT :
If I resume the video by clicking on the image of the video, it starts at the beginning.
If I resume the video by clicking on the description below the image of the video, it resumes the video at the point I left it before.

Hoping that would point the devs to the bug actually.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - Boniface_Sunday - 2025-01-21

I have a similar setup as the OP. When I start a movie on Swiftfin, it appears on my dashboard as playing. After I stop watching the movie and shut down the app, it will still show as playing on my dashboard and then is marked completed after it is finished. For some reason Jellyfin thinks the movie is still playing on Swiftfin when it isn't.

I joined the forum because of this issue because Jellyfin is the only good alternative I have found to VideoStation. I noticed this particular aspect of the problem was not being addressed.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - TheDreadPirate - 2025-01-21

The Swiftfin app is currently undergoing a revamp. An iOS version has been released, but the tvOS version is still a WIP with no ETA.

Infuse is a paid alternative if you aren't able to wait for the revamped tvOS version.


RE: SwiftFin on AppleTV 4- Can't fast forward, doesn't save progress - johanarens - 2025-01-27

Hello TheDreadPirate, thanks for your reply, this is the kind of message I wanted to hear.

Just let me know if you need beta testers, whenever you'd be ready.

Thanks

J.