2024-12-05, 06:24 AM
Hi,
I have Jellyfin running on a Pi 5. It plays IPTV just fine to an iPad and Mac. And it records fine except for 1 family of channels.
When I add a program to record, the logs say (my underlining):
[2024-12-05 17:15:35.336 +11:00] [INF] Beginning recording. Will record for 44.411054475 minutes.
[2024-12-05 17:15:35.336 +11:00] [INF] Writing file to: "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:35.339 +11:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-async 1 -fflags +igndts -analyzeduration 5000000 -i \"https://i.mjh.nz/.r/10-vic.m3u8\" -codec:v:0 copy -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 copy -sn -y \"/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts\""
[2024-12-05 17:15:35.365 +11:00] [INF] Triggering refresh on "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:35.366 +11:00] [INF] Refreshing recording parent "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024"
[2024-12-05 17:15:35.372 +11:00] [INF] ffmpeg recording process started for "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:36.199 +11:00] [INF] FFMpeg recording exited with code 8 for "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:36.201 +11:00] [ERR] Error recording to "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
MediaBrowser.Common.FfmpegException: Recording for /var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts failed. Exit code 8
at Jellyfin.LiveTv.IO.EncodedRecorder.RecordFromFile(MediaSourceInfo mediaSource, String inputFile, String targetFile, Action onStarted, CancellationToken cancellationToken)
at Jellyfin.LiveTv.IO.EncodedRecorder.Record(IDirectStreamProvider directStreamProvider, MediaSourceInfo mediaSource, String targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Recordings.RecordingsManager.RecordStream(ActiveRecordingInfo recordingInfo, BaseItem channel, DateTime recordingEndDate)
This channel plays fine, but just won't record.
Hoping someone can assist.
I have Jellyfin running on a Pi 5. It plays IPTV just fine to an iPad and Mac. And it records fine except for 1 family of channels.
When I add a program to record, the logs say (my underlining):
[2024-12-05 17:15:35.336 +11:00] [INF] Beginning recording. Will record for 44.411054475 minutes.
[2024-12-05 17:15:35.336 +11:00] [INF] Writing file to: "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:35.339 +11:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-async 1 -fflags +igndts -analyzeduration 5000000 -i \"https://i.mjh.nz/.r/10-vic.m3u8\" -codec:v:0 copy -fflags +genpts -map_metadata -1 -threads 0 -codec:a:0 copy -sn -y \"/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts\""
[2024-12-05 17:15:35.365 +11:00] [INF] Triggering refresh on "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:35.366 +11:00] [INF] Refreshing recording parent "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024"
[2024-12-05 17:15:35.372 +11:00] [INF] ffmpeg recording process started for "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:36.199 +11:00] [INF] FFMpeg recording exited with code 8 for "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
[2024-12-05 17:15:36.201 +11:00] [ERR] Error recording to "/var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts"
MediaBrowser.Common.FfmpegException: Recording for /var/lib/jellyfin/data/livetv/recordings/10 News First/Season 2024/10 News First S2024E243.ts failed. Exit code 8
at Jellyfin.LiveTv.IO.EncodedRecorder.RecordFromFile(MediaSourceInfo mediaSource, String inputFile, String targetFile, Action onStarted, CancellationToken cancellationToken)
at Jellyfin.LiveTv.IO.EncodedRecorder.Record(IDirectStreamProvider directStreamProvider, MediaSourceInfo mediaSource, String targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken)
at Jellyfin.LiveTv.Recordings.RecordingsManager.RecordStream(ActiveRecordingInfo recordingInfo, BaseItem channel, DateTime recordingEndDate)
This channel plays fine, but just won't record.
Hoping someone can assist.