Skip to content

Live TV is transcoded for no reson(?) #668

@sprtm

Description

@sprtm

Describe the bug

  1. Go to Settings -> Experimental -> check Live TV (Alpha)
  2. Play any channel

Every mpeg2video stream is transcoded, but should play direct with vlckit — if I'm not mistaken? Enabling 'Live TV Force Direct Play' produces a black screen only.

[2023-01-02 19:25:19.309 +01:00] [INF] [48] TVHeadEnd.AccessTicketHandler: [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#"6") created for "channelId"="2091000146"
[2023-01-02 19:25:19.309 +01:00] [INF] [48] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "USER". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-01-02 19:25:19.310 +01:00] [INF] [48] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="http://10.0.1.14:9981/stream/channelid/2091000146?ticket=B22ABBE3C73319B8860D4CC9C87DE896FBBC8EA7", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/4f7aafea-0c33-f2fd-38ea-12ee538acb67/master.m3u8?MediaSourceId=2091000146&VideoCodec=hevc,h264,mpeg4&AudioCodec=aac,mp3,wav,ac3,eac3,flac,opus&AudioStreamIndex=-1&VideoBitrate=359360000&AudioBitrate=640000&api_key=<token>&TranscodingMaxAudioChannels=6&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=VideoCodecNotSupported"
[2023-01-02 19:25:19.931 +01:00] [INF] [61] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2023-01-02 19:25:21.506 +01:00] [INF] [49] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/local/bin/ffmpeg" "-analyzeduration 200M -autorotate 0 -i \"http://10.0.1.14:9981/stream/channelid/2091000146?ticket=B22ABBE3C73319B8860D4CC9C87DE896FBBC8EA7\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx265 -tag:v:0 hvc1 -preset superfast -crf 28 -maxrate 215616000 -bufsize 431232000 -x265-params:0 no-info=1 -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -bf 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=yuv420p\" -flags -global_header -codec:a:0 aac -ac 6 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/6139c0acdde86b334fcb1397d9f1797c/\" -hls_segment_filename \"/Users/USER/.local/share/jellyfin/transcodes/6139c0acdde86b334fcb1397d9f1797c%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/Users/USER/.local/share/jellyfin/transcodes/6139c0acdde86b334fcb1397d9f1797c.m3u8\""
[2023-01-02 19:25:31.916 +01:00] [WRN] [46] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://10.0.1.4:8096/videos/4f7aafea-0c33-f2fd-38ea-12ee538acb67/live.m3u8?DeviceId=iOS_7852E975-2B14-41FD-9D88-F4A4DD243CF7_1672682541.790236&MediaSourceId=2091000146&VideoCodec=hevc,h264,mpeg4&AudioCodec=aac,mp3,wav,ac3,eac3,flac,opus&AudioStreamIndex=-1&VideoBitrate=359360000&AudioBitrate=640000&PlaySessionId=e712c7f1666d43daa9757775bb68c095&api_key=********&TranscodingMaxAudioChannels=6&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=VideoCodecNotSupported" to "10.0.1.243" in 0:00:11.9860473 with Status Code 200

Application version

1.0.0 (79)

Where did you install the app from?

App Store

Device information

iPhone 14

OS version

iOS 16.2

Jellyfin server version

10.8.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackThis item is related to content playback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions