Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app crash with 0.18 #4254

Open
Zachwang007 opened this issue Dec 1, 2024 · 0 comments
Open

app crash with 0.18 #4254

Zachwang007 opened this issue Dec 1, 2024 · 0 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@Zachwang007
Copy link

Describe the bug

when play a media with ass ,and multi-audio
select with ass and play the media by transcoding, the media play normally
but during playing the media and switch to another audio , the app crashed .

Logs


client: Jellyfin for Android TV
client_version: 0.18.0
client_repository: https://github.com/jellyfin/jellyfin-androidtv
type: crash_report
format: markdown

Logs

Stack Trace:

java.lang.NullPointerException: Parameter specified as non-null is null: method org.jellyfin.androidtv.util.apiclient.ReportingHelper.reportProgress, parameter streamInfo
	at org.jellyfin.androidtv.util.apiclient.ReportingHelper.reportProgress(Unknown Source:25)
	at org.jellyfin.androidtv.ui.playback.PlaybackController.startReportLoop(PlaybackController.java:1004)
	at org.jellyfin.androidtv.ui.playback.PlaybackController.seek(PlaybackController.java:946)
	at org.jellyfin.androidtv.ui.playback.PlaybackControllerHelperKt$addSkipAction$1$1.invokeSuspend(PlaybackControllerHelper.kt:181)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:236)
	at android.app.ActivityThread.main(ActivityThread.java:7683)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@95544e, Dispatchers.Main]

Logcat:

12-01 18:36:31.861 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.856 W/ExoPlayer:Playb(19043): type=1400 audit(0.0:52333487): avc: denied { read } for name="u:object_r:vendor_xiaomi_default_prop:s0" dev="tmpfs" ino=8894 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:vendor_xiaomi_default_prop:s0 tclass=file permissive=0 app=org.jellyfin.androidtv
12-01 18:36:31.862 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.863 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.864 I/chatty  (19043): uid=10080(org.jellyfin.androidtv) ExoPlayer:Playb identical 2 lines
12-01 18:36:31.864 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.860 W/ExoPlayer:Playb(19043): type=1400 audit(0.0:52333488): avc: denied { read } for name="u:object_r:vendor_xiaomi_default_prop:s0" dev="tmpfs" ino=8894 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:vendor_xiaomi_default_prop:s0 tclass=file permissive=0 app=org.jellyfin.androidtv
12-01 18:36:31.866 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.869 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.860 W/ExoPlayer:Playb(19043): type=1400 audit(0.0:52333489): avc: denied { read } for name="u:object_r:vendor_xiaomi_default_prop:s0" dev="tmpfs" ino=8894 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:vendor_xiaomi_default_prop:s0 tclass=file permissive=0 app=org.jellyfin.androidtv
12-01 18:36:31.872 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.872 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.872 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.860 W/ExoPlayer:Playb(19043): type=1400 audit(0.0:52333490): avc: denied { read } for name="u:object_r:vendor_xiaomi_default_prop:s0" dev="tmpfs" ino=8894 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:vendor_xiaomi_default_prop:s0 tclass=file permissive=0 app=org.jellyfin.androidtv
12-01 18:36:31.874 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.874 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.860 W/ExoPlayer:Playb(19043): type=1400 audit(0.0:52333491): avc: denied { read } for name="u:object_r:vendor_xiaomi_default_prop:s0" dev="tmpfs" ino=8894 scontext=u:r:untrusted_app:s0:c80,c256,c512,c768 tcontext=u:object_r:vendor_xiaomi_default_prop:s0 tclass=file permissive=0 app=org.jellyfin.androidtv
12-01 18:36:31.875 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.875 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.876 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.876 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.876 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.877 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.878 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.878 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.878 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.879 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.879 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.879 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.879 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.880 I/gralloc4(19043): mali_gralloc_select_format: req_format=0x00000015, usage=0x60002900, req_base_format=0x100, alloc_format=0x100, internal_format=0x100
12-01 18:36:31.894 D/EventLogger(19043): videoSize [eventTime=136.11, mediaPos=0.00, window=0, period=0, 1440, 1080]
12-01 18:36:31.894 D/EventLogger(19043): renderedFirstFrame [eventTime=136.11, mediaPos=0.00, window=0, period=0, Surface(name=null)/@0x420d6dd]
12-01 18:36:31.899 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.899 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.903 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.904 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.907 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.911 I/chatty  (19043): uid=10080(org.jellyfin.androidtv) ExoPlayer:Playb identical 4 lines
12-01 18:36:31.911 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.912 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.912 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.915 I/AudioTrack(19043): [XIAOMI]{ 4105}[start][731] start(1559): prior state:STATE_STOPPED
12-01 18:36:31.919 D/EventLogger(19043): state [eventTime=136.13, mediaPos=0.12, window=0, period=0, READY]
12-01 18:36:31.919 D/EventLogger(19043): isPlaying [eventTime=136.13, mediaPos=0.12, window=0, period=0, true]
12-01 18:36:31.920 D/ReportingHelper$reportProgress(19043): Reporting 强敌出现了 playback progress at 1867960000
12-01 18:36:31.920 I/org.jellyfin.sdk.api.ktor.KtorClient(19043): POST http://192.168.101.3:8096/Sessions/Playing/Progress
12-01 18:36:31.922 V/io.ktor.client.plugins.HttpPlainText(19043): Adding Accept-Charset=UTF-8 to http://192.168.101.3:8096/Sessions/Playing/Progress
12-01 18:36:31.923 V/io.ktor.client.plugins.defaultTransformers(19043): Transformed with default transformers request body for http://192.168.101.3:8096/Sessions/Playing/Progress from class io.ktor.http.content.TextContent (Kotlin reflection is not available)
12-01 18:36:31.924 I/PlaybackController(19043): Play method: Trans
12-01 18:36:31.925 I/PlaybackControllerHelperKt(19043): Switching subtitles from index 3 to 3
12-01 18:36:31.925 I/PlaybackControllerHelperKt(19043): Restarting playback for subtitle baking
12-01 18:36:31.926 D/PlaybackController(19043): stop called at 186796
12-01 18:36:31.926 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.927 E/libc    (19043): Access denied finding property "media.audio.debug"
12-01 18:36:31.927 I/ReportingHelper$reportStopped(19043): Reporting 强敌出现了 playback stopped at 1867960000
12-01 18:36:31.928 I/org.jellyfin.sdk.api.ktor.KtorClient(19043): POST http://192.168.101.3:8096/Sessions/Playing/Stopped
12-01 18:36:31.929 V/io.ktor.client.plugins.HttpPlainText(19043): Adding Accept-Charset=UTF-8 to http://192.168.101.3:8096/Sessions/Playing/Stopped
12-01 18:36:31.929 V/io.ktor.client.plugins.defaultTransformers(19043): Transformed with default transformers request body for http://192.168.101.3:8096/Sessions/Playing/Stopped from class io.ktor.http.content.TextContent (Kotlin reflection is not available)
12-01 18:36:31.931 I/PlaybackController(19043): Play called from state: IDLE with pos: 186796 and sub index: 3
12-01 18:36:31.931 D/PlaybackController(19043): Max bitrate is: 100000000
12-01 18:36:31.935 D/jellyfin-apiclient(19043): Adding request to queue: http://192.168.101.3:8096/Items/c5c881b3-b899-adf5-477c-7c7be1c32b94/PlaybackInfo?format=json
12-01 18:36:31.938 D/EventLogger(19043): state [eventTime=136.15, mediaPos=0.12, window=0, period=0, IDLE]
12-01 18:36:31.938 D/EventLogger(19043): isPlaying [eventTime=136.15, mediaPos=0.12, window=0, period=0, false]
12-01 18:36:31.940 D/PlaybackController(19043): Trying to seek from 0 to 106325
12-01 18:36:31.940 D/PlaybackController(19043): Container: unknown
12-01 18:36:31.941 D/VideoManager(19043): current media item is seekable
12-01 18:36:31.941 I/VideoManager(19043): Exo length in seek is: 1479957
12-01 18:36:31.942 D/EventLogger(19043): positionDiscontinuity [eventTime=136.16, mediaPos=106.32, window=0, period=0, reason=SEEK, PositionInfo:old [mediaItem=0, period=0, pos=125], PositionInfo:new [mediaItem=0, period=0, pos=106325]]
12-01 18:36:31.943 I/AudioTrack(19043): [XIAOMI]{ 4105}[pause][979] pause(1559): prior state:STATE_ACTIVE
12-01 18:36:31.947 I/AudioTrack(19043): [XIAOMI]{ 4105}[flush][938] flush(1559): prior state:STATE_PAUSED
12-01 18:36:31.947 I/AudioTrack(19043): [XIAOMI]{ 4105}[stop][878] stop(1559): prior state:STATE_FLUSHED
12-01 18:36:31.947 E/ACRA    (19043): ACRA caught a NullPointerException for org.jellyfin.androidtv
12-01 18:36:31.947 E/ACRA    (19043): java.lang.NullPointerException: Parameter specified as non-null is null: method org.jellyfin.androidtv.util.apiclient.ReportingHelper.reportProgress, parameter streamInfo
12-01 18:36:31.947 E/ACRA    (19043): 	at org.jellyfin.androidtv.util.apiclient.ReportingHelper.reportProgress(Unknown Source:25)
12-01 18:36:31.947 E/ACRA    (19043): 	at org.jellyfin.androidtv.ui.playback.PlaybackController.startReportLoop(PlaybackController.java:1004)
12-01 18:36:31.947 E/ACRA    (19043): 	at org.jellyfin.androidtv.ui.playback.PlaybackController.seek(PlaybackController.java:946)
12-01 18:36:31.947 E/ACRA    (19043): 	at org.jellyfin.androidtv.ui.playback.PlaybackControllerHelperKt$addSkipAction$1$1.invokeSuspend(PlaybackControllerHelper.kt:181)
12-01 18:36:31.947 E/ACRA    (19043): 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
12-01 18:36:31.947 E/ACRA    (19043): 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
12-01 18:36:31.947 E/ACRA    (19043): 	at android.os.Handler.handleCallback(Handler.java:938)
12-01 18:36:31.947 E/ACRA    (19043): 	at android.os.Handler.dispatchMessage(Handler.java:99)
12-01 18:36:31.947 E/ACRA    (19043): 	at android.os.Looper.loop(Looper.java:236)
12-01 18:36:31.947 E/ACRA    (19043): 	at android.app.ActivityThread.main(ActivityThread.java:7683)
12-01 18:36:31.947 E/ACRA    (19043): 	at java.lang.reflect.Method.invoke(Native Method)
12-01 18:36:31.947 E/ACRA    (19043): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
12-01 18:36:31.947 E/ACRA    (19043): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
12-01 18:36:31.947 E/ACRA    (19043): 	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@95544e, Dispatchers.Main]
12-01 18:36:31.947 D/ACRA    (19043): Building report
12-01 18:36:31.948 I/AudioTrack(19043): [XIAOMI]{ 4105}[~AudioTrack][339] release session id 4105
12-01 18:36:31.949 D/ACRA    (19043): Starting collectors with priority FIRST
12-01 18:36:31.951 D/ACRA    (19043): Calling collector org.acra.collector.StacktraceCollector
12-01 18:36:31.951 D/ACRA    (19043): Calling collector org.acra.collector.DropBoxCollector
12-01 18:36:31.951 D/ACRA    (19043): Calling collector org.acra.collector.LogCatCollector
12-01 18:36:31.952 D/ACRA    (19043): Collector org.acra.collector.DropBoxCollector completed
12-01 18:36:31.952 D/ACRA    (19043): Collector org.acra.collector.StacktraceCollector completed
12-01 18:36:31.953 I/AudioTrack(19043): [XIAOMI]{ 4105}[stop][878] stop(1559): prior state:STATE_FLUSHED
12-01 18:36:31.954 I/AudioTrack(19043): [XIAOMI]{ 4105}[~AudioTrack][376] ~AudioTrack(1559), releasing session id 4105 from 19043 on behalf of 19043
12-01 18:36:31.959 D/ACRA    (19043): Retrieving logcat output (buffer:default)...

App information

App version: 0.18.0 (180099)
Package name: org.jellyfin.androidtv
Build:

{"BOARD":"freeguy","BOOTLOADER":"01.01.240705","BRAND":"xiaomi","CPU_ABI":"armeabi-v7a","CPU_ABI2":"armeabi","DEVICE":"freeguy","DISPLAY":"V816.0.26.0.RFTMATV","FINGERPRINT":"xiaomi\/freeguy\/freeguy:11\/RP1A.200720.011\/V816.0.26.0.RFTMATV:user\/release-keys","HARDWARE":"mt9653","HOST":"pangu-build-component-system-114668-n1cfn-z7mgn-pp8nr","ID":"RP1A.200720.011","IS_DEBUGGABLE":false,"IS_EMULATOR":false,"MANUFACTURER":"xiaomi","MODEL":"MiTV-MFTR0","PERMISSIONS_REVIEW_REQUIRED":true,"PRODUCT":"freeguy","RADIO":"unknown","SUPPORTED_32_BIT_ABIS":["armeabi-v7a","armeabi"],"SUPPORTED_64_BIT_ABIS":[],"SUPPORTED_ABIS":["armeabi-v7a","armeabi"],"TAGS":"release-keys","TIME":1720141720000,"TYPE":"user","UNKNOWN":"unknown","USER":"builder","VERSION":{"ACTIVE_CODENAMES":[],"BASE_OS":"","CODENAME":"REL","INCREMENTAL":"V816.0.26.0.RFTMATV","PREVIEW_SDK_FINGERPRINT":"REL","PREVIEW_SDK_INT":0,"RELEASE":"11","RELEASE_OR_CODENAME":"11","SDK":"30","SDK_INT":30,"SECURITY_PATCH":"2023-02-05"}}

Build config:

{"APPLICATION_ID":"org.jellyfin.androidtv","BUILD_TYPE":"release","DEBUG":false,"DEVELOPMENT":false,"VERSION_CODE":180099,"VERSION_NAME":"0.18.0"}

Device information

Android version: 11
Device brand: xiaomi
Device product: freeguy
Device model: MiTV-MFTR0

Crash information

Start time: 2024-12-01T17:46:24.953+08:00
Crash time: 2024-12-01T18:36:32.110+08:00

FFmpeg logs

{"Protocol":0,"Id":"c5c881b3b899adf5477c7c7be1c32b94","Path":"/mnt/addons/CloudNAS/115/\u6BCF\u65E5\u66F4\u65B0/\u5267\u96C6/\u9F99\u73E0 (1986)/Season 1/\u30C9\u30E9\u30B4\u30F3\u30DC\u30FC\u30EB - S01E23 - \u7B2C 23 \u96C6.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":2229832338,"Name":"\u30C9\u30E9\u30B4\u30F3\u30DC\u30FC\u30EB - S01E23 - \u7B2C 23 \u96C6","IsRemote":false,"ETag":"8ae6c46a5e5a49583cb41cc6c9552885","RunTimeTicks":14799570000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":12053497,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1440,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"ReferenceFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"4:3","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":50,"IsAnamorphic":false},{"Codec":"aac","CodecTag":null,"Language":"jpn","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"\u65E5\u8BED","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"\u9ED8\u8BA4","LocalizedForced":null,"LocalizedExternal":"\u5916\u90E8","LocalizedHearingImpaired":null,"DisplayTitle":"\u65E5\u8BED - Japanese - AAC - Stereo - \u9ED8\u8BA4","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":113124,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":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},{"Codec":"aac","CodecTag":null,"Language":"chi","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"\u8FBD\u827A\u56FD\u8BED","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"\u9ED8\u8BA4","LocalizedForced":null,"LocalizedExternal":"\u5916\u90E8","LocalizedHearingImpaired":null,"DisplayTitle":"\u8FBD\u827A\u56FD\u8BED - Chi - AAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":138362,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":96000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","CodecTag":null,"Language":"chi","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"\u4E2D\u6587","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"\u672A\u5B9A\u4E49","LocalizedDefault":"\u9ED8\u8BA4","LocalizedForced":"\u5F3A\u5236\u7684","LocalizedExternal":"\u5916\u90E8","LocalizedHearingImpaired":"\u542C\u529B\u969C\u788D","DisplayTitle":"\u4E2D\u6587 - Chi - \u9ED8\u8BA4 - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":4,"FileName":"Designosaur-Italic.otf","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":5,"FileName":"Designosaur-Italic.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"Designosaur-Regular.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"go3v2.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null}],"Formats":[],"Bitrate":12304983,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":true}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/mnt/addons/CloudNAS/115/每日更新/剧集/龙珠 (1986)/Season 1/ドラゴンボール - S01E23 - 第 23 集.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:2 -map -0:0 -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 12053497 -maxrate 12053497 -bufsize 24106994 -profile:v:0 main -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1440x1080:r=23.976025:start='0',format=bgra,subtitles=f='/config/data/subtitles/2/2168621a-b1a2-2838-6af6-a0f1a02a74b9.ass':alpha=1:sub2video=1:fontsdir='/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94',hwupload=derive_device=qsv:extra_hw_frames=64[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv[main];[main][sub]overlay_qsv=eof_action=pass:repeatlast=0:w=1440:h=1080" -start_at_zero -codec:a:0 copy -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_segment_filename "/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f36%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f36.m3u8"


ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[Parsed_subtitles_2 @ 0x56368c9bc180] libass API version: 0x1703000
[Parsed_subtitles_2 @ 0x56368c9bc180] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[Parsed_subtitles_2 @ 0x56368c9bc180] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 10.0.1 (COMPLEX)
[Parsed_subtitles_2 @ 0x56368c9bc180] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Italic.otf'
[Parsed_subtitles_2 @ 0x56368c9bc180] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Italic.ttf'
[Parsed_subtitles_2 @ 0x56368c9bc180] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Regular.ttf'
[Parsed_subtitles_2 @ 0x56368c9bc180] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/go3v2.ttf'
[Parsed_subtitles_2 @ 0x56368c9bc180] Using font provider fontconfig
Input #0, matroska,webm, from 'file:/mnt/addons/CloudNAS/115/每日更新/剧集/龙珠 (1986)/Season 1/ドラゴンボール - S01E23 - 第 23 集.mkv':
  Metadata:
    encoder         : libebml v1.4.4 + libmatroska v1.7.1
    creation_time   : 2023-01-01T09:07:23.000000Z
  Duration: 00:24:39.96, start: 0.000000, bitrate: 12053 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 108.608500
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 108.608500, end 727.560167
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 727.560167, end 1351.850500
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1351.850500, end 1448.947500
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1448.947500, end 1479.311167
      Metadata:
        title           : Chapter 05
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1440x1080 [SAR 1:1 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        BPS             : 11802441
        DURATION        : 00:24:39.145000000
        NUMBER_OF_FRAMES: 35464
        NUMBER_OF_BYTES : 2182190260
        _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-01-01 09:07:23
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
      Metadata:
        title           : 日语
        BPS             : 113124
        DURATION        : 00:24:39.039000000
        NUMBER_OF_FRAMES: 69330
        NUMBER_OF_BYTES : 20914380
        _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-01-01 09:07:23
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(chi): Audio: aac (LC), 96000 Hz, stereo, fltp
      Metadata:
        title           : 辽艺国语
        BPS             : 138362
        DURATION        : 00:24:39.957000000
        NUMBER_OF_FRAMES: 69373
        NUMBER_OF_BYTES : 25596262
        _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-01-01 09:07:23
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(chi): Subtitle: ass (ssa) (default)
      Metadata:
        title           : 中文
        BPS             : 80
        DURATION        : 00:23:59.330000000
        NUMBER_OF_FRAMES: 300
        NUMBER_OF_BYTES : 14452
        _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-01-01 09:07:23
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4: Attachment: otf
      Metadata:
        filename        : Designosaur-Italic.otf
        mimetype        : application/vnd.ms-opentype
  Stream #0:5: Attachment: ttf
      Metadata:
        filename        : Designosaur-Italic.ttf
        mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
      Metadata:
        filename        : Designosaur-Regular.ttf
        mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
      Metadata:
        filename        : go3v2.ttf
        mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 (h264) -> setparams:default
  overlay_qsv:default -> Stream #0:0 (hevc_qsv)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[Parsed_subtitles_2 @ 0x153dfc007500] libass API version: 0x1703000
[Parsed_subtitles_2 @ 0x153dfc007500] libass source: commit: 0.17.3-0-ge46aedea0a0d17da4c4ef49d84b94a7994664ab5
[Parsed_subtitles_2 @ 0x153dfc007500] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 10.0.1 (COMPLEX)
[Parsed_subtitles_2 @ 0x153dfc007500] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Italic.otf'
[Parsed_subtitles_2 @ 0x153dfc007500] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Italic.ttf'
[Parsed_subtitles_2 @ 0x153dfc007500] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/Designosaur-Regular.ttf'
[Parsed_subtitles_2 @ 0x153dfc007500] Loading font file '/cache/attachments/c5c881b3b899adf5477c7c7be1c32b94/go3v2.ttf'
[Parsed_subtitles_2 @ 0x153dfc007500] Using font provider fontconfig
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[Parsed_subtitles_2 @ 0x153dfc007500] Glyph 0x827A not found, selecting one more font for (微软雅黑, 400, 0)
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc, 0, NotoSansCJKjp-Regular
Output #0, hls, to '/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f36.m3u8':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Video: hevc (hvc1 / 0x31637668), qsv(tv, bt709, progressive), 1440x1080 [SAR 1:1 DAR 4:3], q=2-31, 12053 kb/s, 23.98 fps, 90k tbn
      Metadata:
        encoder         : Lavc61.3.100 hevc_qsv
      Side data:
        cpb: bitrate max/min/avg: 12053497/0/12053497 buffer size: 24106994 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC), 96000 Hz, stereo, fltp
frame=   42 fps=0.0 q=-0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[hls @ 0x56368ca45b40] Opening '/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f360.ts' for writing
frame=  105 fps=105 q=-0.0 size=N/A time=00:00:02.62 bitrate=N/A speed=2.63x    
[hls @ 0x56368ca45b40] Opening '/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f361.ts' for writing
frame=  166 fps=111 q=-0.0 size=N/A time=00:00:05.17 bitrate=N/A speed=3.45x    
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (幼圆, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (幼圆, 700, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf, 0, DejaVuSans-Bold
[Parsed_subtitles_2 @ 0x153dfc007500] Glyph 0x9F99 not found, selecting one more font for (幼圆, 700, 0)
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (幼圆, 700, 0) -> /usr/share/fonts/opentype/noto/NotoSansCJK-Bold.ttc, 0, NotoSansCJKjp-Bold
[hls @ 0x56368ca45b40] Opening '/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f362.ts' for writing


[q] command received. Exiting.

[Parsed_subtitles_2 @ 0x153dfc007500] Glyph 0x6293 not found, selecting one more font for (幼圆, 400, 0)
[Parsed_subtitles_2 @ 0x153dfc007500] fontselect: (幼圆, 400, 0) -> /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc, 0, NotoSansCJKjp-Regular
[hls @ 0x56368ca45b40] Opening '/cache/transcodes/c6ad0e97f0c9b0f0a0a4a15478dc9f363.ts' for writing
[out#0/hls @ 0x56368d2f0340] video:15225KiB audio:216KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=  256 fps=114 q=-0.0 Lsize=N/A time=00:00:08.92 bitrate=N/A dup=5 drop=0 speed=3.96x

Media info of the file

ドラゴンボール - S01E23 - 第 23 集
容器mkv
路径/mnt/addons/CloudNAS/115/每日更新/剧集/龙珠 (1986)/Season 1/ドラゴンボール - S01E23 - 第 23 集.mkv
大小2127 MB
视频
标题1080p H264 SDR
编码H264
AVCYes
配置High
等级50
分辨率1440x1080
长宽比4:3
畸形No
隔行扫描No
帧率23.976025
比特率12053 kbps
位深度8 bit
动态范围SDR
动态范围类型SDR
色彩空间bt709
色彩转换bt709
色彩初选bt709
像素格式yuv420p
参考帧1
NAL4
音频
标题日语 - Japanese - AAC - Stereo - 默认
语言jpn
编码AAC
AVCNo
配置LC
布局stereo
声道2 ch
比特率113 kbps
采样率48000 Hz
默认Yes
强制No
外部No
字幕
标题中文 - Chi - 默认 - ASS
语言chi
编码ASS
AVCNo
默认Yes
强制No
外部No
音频
标题辽艺国语 - Chi - AAC - Stereo
语言chi
编码AAC
AVCNo
配置LC
布局stereo
声道2 ch
比特率138 kbps
采样率96000 Hz
默认No
强制No
外部No

Application version

0.18

Device information

xiaomi s pro

Android version

android 11

Jellyfin server version

10.10.3

@Zachwang007 Zachwang007 added bug Something isn't working playback Issue related to media playback labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests

1 participant