mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
[Issue]: Cannot play .avi files #3954
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#3954
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @umbongodrink on GitHub (Jun 21, 2022).
Please describe your bug
I have an Intel NUC8i3BEH 32GB RAM running Ubuntu 20.04LTS machine, which hosts my bare-metal Jellyfin installation. I have 2 Jellyfin clients, one is installed on a nVidia Shield Pro, the other is installed on a Sony Bravia TV. Both run Jellyfin client 0.13.6 on AndroidTV.
I am trying to play .avi files. The output of MediaInfo is here:
When my Jellyfin server was running version 10.7.7, the avi file would play fine on the nVidia Shield Pro Jellyfin client, but not on the Sony Brava TV Jellyfin client.
Now I have upgraded my server to version 10.8.0 and the .avi file does not play on either the nVidia Shield Pro nor the Sony Brava TV. In both instances I receive the error message:
It is very curious as to why this file used to be able to be played, and now isn't playable at all.
I have tried changing the Preferred media player from ExoPlayer to LibVLC but this doesn't make any difference for either client. I believe when the file used to be able to be played on the nVidia Shield Pro the Preferred media player was set to LibVLC, but now neither media player will play back the file.
The file is a relatively old format, so should be easily playable by a modern piece of software such as Jellyfin I would have thought.
Jellyfin Version
10.8.0
if other:
No response
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@Shadowghost commented on GitHub (Jun 21, 2022):
Please add Jellyfin logs from the failing playback to your post.
@cskaryd commented on GitHub (Jun 23, 2022):
@Shadowghost - Not O.P., but having the same issue:
[2022-06-21 11:43:48.443 -04:00] [INF] [30] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "{redacted}". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-06-21 11:43:48.445 -04:00] [INF] [30] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="{redacted}.avi", AudioStreamIndex=1, SubtitleStreamIndex=-1 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/2a4cd7bb-0ad8-97a1-6596-b2455d43283e/master.m3u8?MediaSourceId=2a4cd7bb0ad897a16596b2455d43283e&VideoCodec=h264,mpeg2video,h265,hevc&AudioCodec=aac,ac3&AudioStreamIndex=1&VideoBitrate=139936000&AudioBitrate=64000&MaxFramerate=29.97&api_key=&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=fe5001339a00b958fb68bd0d19387f87&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&mpeg4-level=-99&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&aac-audiochannels=6&TranscodeReasons=VideoCodecNotSupported"
[2022-06-21 11:43:49.193 -04:00] [INF] [192] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "1.4.12" playing "{redacted}". Stopped at "0" ms
@umbongodrink commented on GitHub (Jun 26, 2022):
Sure, can you please direct me to what exactly you want, and where.
Also, do you only want the logs for the Jellyfin server (and not either of the clients)?
I have tailed the last 500 lines of /var/log/jellyfin/jellyfin20220626.log and attached them here.
last500lines_from_jellyfin.log.txt
@bt0070069 commented on GitHub (Oct 10, 2022):
I'm also having the same issue.
My jellyfin server is version 10.8.5 installed in a docker container on a Synology DiskStation DS220+.
An .avi file (XVID/MP3) will no longer play using Jellyfin for Android TV version 0.14.4.
The problem began when I updated my server from 10.7.x and the client to 0.14.x
I guess the newer clients have dropped support for older codecs.
Unfortunately the only fix I've found is to use handbrake to convert the .avi files (XVID/MP3) to .mp4 files (H264/AAC). Been at it for weeks now. Judging by the date of this thread, I'll be done before a solution is rolled out.
@cskaryd commented on GitHub (Oct 12, 2022):
I solved my problem above back in June by ensuring that I was using the correct version of both ffmpeg and ffprobe. While I had installed the versions from the Jellyfin repos, the standard versions from Ubuntu were also installed and being used by the service. Be sure to set the explicit path to the Jellyfin version of ffmpeg by going to the hamburger menu in the upper left, then Dashboard, then Playback, and find the FFmpeg path setting. For me that was /usr/lib/jellyfin-ffmpeg/ffmpeg rather than /usr/bin/ffmpeg
Hope that helps.
@bt0070069 commented on GitHub (Oct 12, 2022):
Unfortunately my FFmpgeg path was already /usr/lib/jellyfin-ffmpeg/ffmpeg, but thank you for your reply.
I have completed converting all my old .avi files to .mp4; at least the ones that couldn't be re-downloaded in .mp4 or .mkv containers, so this is no longer an issue for me.
@cskaryd commented on GitHub (Oct 12, 2022):
Only other thought would be permissions and owner/group. I found my problem buried in a cryptic log message.
But glad you got sorted one way or another.
@bt0070069 commented on GitHub (Oct 12, 2022):
It's got to be an issue with the Jellyfin for Android TV app, rather than the server side, as the .avi files will play on the Jellyfin for Ubuntu (flatpak) app.
@jellyfin-bot commented on GitHub (Feb 10, 2023):
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.
@gmpreussner commented on GitHub (Jul 14, 2023):
AVI playback is still broken in 10.8.10.
You guys really gotta stop auto-closing tickets if there is nobody on the team to respond to these. Too many tickets for unresolved issues are being closed, which makes it look like everything should work fine, and users will end up creating new, duplicate tickets over and over again.
@ChrizZz90 commented on GitHub (Jul 14, 2023):
yes, still broken and only the AndroidTV version has trouble
@Stuigong commented on GitHub (Jul 18, 2023):
Same here!! On Web everythong is playable... On App nothing really... I had A Nokia 8000 streaming box.. this could play avi too but not all. Shield cant play even that. Is it a codec issue in Shield?
@StoryHack commented on GitHub (Aug 25, 2023):
I'm on 10.8.10, and I get the same issue. It' won't play from the roku, and it won't play from the browser, either.
@oliverlevay commented on GitHub (Sep 21, 2023):
same, can't play older .avi movies on my tv
@Shadowghost commented on GitHub (Sep 21, 2023):
If this is only specific to some clients please report it over there. Likely it is just a problem with their device profile.
@gmpreussner commented on GitHub (Sep 23, 2023):
It's also broken in the web browser for me. Tried Chrome, Firefox, and Edge.
@gmpreussner commented on GitHub (Sep 23, 2023):
I inspected the affected videos with FFMEPG, and in my case it seems that they are all older videos recorded with handheld photo cameras. Here's some example metadata:
@Shadowghost commented on GitHub (Sep 23, 2023):
Might be fixed by https://github.com/jellyfin/jellyfin/pull/10173