mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
Apple Lossless file not correctly streamed on iOS and macOS device #1173
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#1173
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 @gnattu on GitHub (Dec 31, 2019).
Media Info of the file
Logs
FFmpeg exited with code 1 after this:
D:\Jellyfin\ffmpeg.exe -i file:"Z:\Music\AliA\realize\1-01 realize.m4a" -map_metadata -1 -map_chapters -1 -threads 0 -acodec aac -strict experimental -ac 2 -vn -f hls -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -individual_header_trailer 0 -hls_segment_type aac -start_number 0 -hls_segment_filename "D:\JellyfinData\transcoding-temp\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\c762c3564cbe81faad88399689623d9c%d.aac" -hls_playlist_type vod -hls_list_size 0 -y "D:\JellyfinData\transcoding-temp\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\transcodes\c762c3564cbe81faad88399689623d9c.m3u8"When manually invoke above command, ffmpeg is not happy with the
-hls_segment_type aacpart. It seems likeaacis not a valid type ofhls_segment_typeStats for Nerds Screenshots
Not available
Server System (please complete the following information):
Client System (please complete the following information):
Extra note
If I disable audio conversion those ALAC files actually plays in browser. This is expected as iOS natives supports ALAC files, but the browser seems not exposing the capability correctly. Conversion works fine on Chrome on PC though, but
-hls_segment_typebecamempegtson Desktop. So basically, to make the situation perfect, there are 2 parts of this problem:-hls_segment_type aacis invalid.@gnattu commented on GitHub (Jan 1, 2020):
Looks like there is something wrong with the hls container profile. As per FFmpeg Doc, HLS Segment container can only be
mpegtsorfmp4, and nothing else. It is weird that some device reports values different than this(and get recorded by jellyfin). Maybe we can workaround this by resetting anyhls_segment_typeother thanmpegtsandfmp4tompegts? As per specification, all devices supports HLS should supoorts MPEG-TS container.@anthonylavado commented on GitHub (Jan 3, 2020):
For reference to the customizations made to FFmpeg lately, tagging @JustAMan
@JustAMan commented on GitHub (Jan 10, 2020):
That is actually a (inadvertently introduced) bug which I made during transition to HLS muxer.
As soon as ffmpeg upstream accepts my segment muxer fix we can revert back to
segment(though no ETA on this, so making a workaround should be fine).@EraYaN commented on GitHub (Jan 11, 2020):
This is the last version of your patch I saw: https://patchwork.ffmpeg.org/project/ffmpeg/patch/59884611570452895@iva5-58d151f416d2.qloud-c.yandex.net/ did you end up sending in a new one (as per the comments)?
@JustAMan commented on GitHub (Jan 13, 2020):
No, as I haven't had time yet. :( I sure hope to restart the upstreaming process soon.