Closed justinas closed 1 year ago
Can you record some new app logs? It's kinda hard to track what's happening with those. For the new logs, please try:
Please see the attached log. androidtv.log
Compiled a debug APK of the latest master and it seems that the problem still persists (with the same error message).
Compiled a debug APK of the latest master and it seems that the problem still persists (with the same error message).
can you get some logs using that new build?
Please see attached the logs from a debug build.
It looks like the infinite loop part of your issue is resolved by the patch. Is that right?
The remaining issue is that your device either doesn't support AAC or somethings going wrong related to exoplayer enabling the correct extractor & renderer for it.
Accounting for all the possible variations of codec support isn't something the app does right now. Your best bet until then might be to:
Yes, the infinite retry is gone now.
The bizarre part is that AAC works fine (direct plays) with any local media I've tried, so the device not supporting AAC is out of question, I think. Will use libVLC as a workaround for now, and also try to bisect the issue once I have some free time.
try to bisect the issue once I have some free time
It's likely that the relevant difference between beta 4 and 5 is that beta 4 uses TS via HLS for transcodes but 5 doesn't in all cases.
In beta 5, HLS (container is TS) is only used if the server version is at least 10.8. Otherwise the old progressive MKV profile is used. I can see in your logs that it has disabled HLS since your server is 10.7.7
The media is in an incompatible file container (MKV, AVI, WMV, etc) but both the video stream and audio stream are compatible with the device. The media will be repackaged losslessly on the fly before being sent to the device.
Audio AAC LC video h264
That live tv using libVLC player, could never get exoplayer to play live tv.
Someone said Live tv was much better in 10.8 but that update is unknown.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
The media is being converted into a format that is compatible with the device that is playing the media. Framerate: 56fps
5.2 Mbps MKV H264 AAC
Reason for transcoding: The container is not supported Jellyfin FFMPEG 5.0.1
{"Protocol":1,"Id":"a9239a0b031ede2a2344","Path":"https://link.com","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"hls","Size":1407,"Name":null,"IsRemote":true,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"OpenToken":null,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56c00a87b837fb0_a9239a02a2344","BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"720p H264 SDR","NalLengthSize":"0","IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":2000000,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":576,"Width":1024,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main","Type":1,"AspectRatio":"16:9","Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false},{"Codec":"aac","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"AAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":2192000,"Timestamp":null,"RequiredHttpHeaders":{"User-Agent""},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":3000,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -user_agent "" -fflags +igndts -i "http://linkhere.com" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced5)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,iha)\,min(1024\,576a))/2)2:trunc(min(max(iw/a\,ih)\,min(1024/a\,576))/2)*2,format=yuv420p" -preset superfast -crf 23 -maxrate 5000000 -bufsize 10000000 -profile:v:0 main -level 31 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/var/lib/jellyfin/transcodes/0f6302adeed42d8323366b316cc.mkv"
Any Updates on this issue?
Having the option transcode when needed gives:
The media is being converted into a format that is compatible with the device that is playing the media. Framerate: 49fps 5.2 Mbps TS H264 AAC Reason for transcoding: There was an error starting direct playback
@mueslimak3r v0.14.0-beta.1, Live tv now works (direct steaming)
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Describe the bug
Only happens with ExoPlayer, libVLC plays the channel fine.
As a side note, this retry is so aggressive, that it is very hard to actually exit the player. You have to mash the back button many times, as once the player closes and you're back at the channel details view, the player is launched again.
This seems to be the relevant error from logcat:
Not entirely sure what "CodecPrivate" is, but some points that could be of interest:
Logs
FFmpeg logs
Media info of the file
Application version
0.13.0-beta.5
Device information
Dynalink 4K Box
Android version
Android 10
Jellyfin server version
10.7.7