recloudstream / cloudstream

Android app for streaming and downloading media.
GNU General Public License v3.0
6.71k stars 534 forks source link

No PGS/Blu-ray Subtitle Support #1379

Open hrsh2002 opened 1 week ago

hrsh2002 commented 1 week ago

Steps to reproduce

When I try to play a movie with pgs/Bluray image based subtitle, it doesn't show the subtitles in the player or I guess it doesn't support the subtitles

Expected behavior

Please fix this as I like to watch movie with the Bluray subtitles. ASAP

Actual behavior

It only support SRT files but not PGS subtitles that comes with Bluray, that is basically image based subtitle that shows in the video. The app doesn't support the PGS subtitles.

Cloudstream version and commit hash

4.4.0

Android version

Android 14

Logcat

--------- beginning of main
10-13 18:28:34.346 27327 27327 I st.cloudstream3: Using CollectorTypeCMC GC.
10-13 18:28:34.362 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10577; state: ENABLED
10-13 18:28:34.362 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 242716250; UID 10577; state: DISABLED
10-13 18:28:34.367 27327 27327 D nativeloader: Configuring clns-4 for other apk /data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/lib/arm64:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.lagradost.cloudstream3
10-13 18:28:34.371 27327 27327 V GraphicsEnvironment: Currently set values for:
10-13 18:28:34.371 27327 27327 V GraphicsEnvironment:   angle_gl_driver_selection_pkgs=[com.android.angle, com.linecorp.b612.android, com.campmobile.snow, com.google.android.apps.tachyon]
10-13 18:28:34.371 27327 27327 V GraphicsEnvironment:   angle_gl_driver_selection_values=[angle, native, native, native]
10-13 18:28:34.371 27327 27327 V GraphicsEnvironment: com.lagradost.cloudstream3 is not listed in per-application setting
10-13 18:28:34.371 27327 27327 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
10-13 18:28:34.378 27327 27327 I ACRA    : ACRA is enabled for com.lagradost.cloudstream3, initializing...
10-13 18:28:34.401 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 279646685; UID 10577; state: DISABLED
10-13 18:28:34.401 27327 27327 D WM-WrkMgrInitializer: Initializing WorkManager with default configuration.
10-13 18:28:34.403 27327 27327 W st.cloudstream3: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (max-target-o, reflection, denied)
10-13 18:28:34.403 27327 27327 W st.cloudstream3: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (max-target-o, reflection, denied)
10-13 18:28:34.403 27327 27327 W st.cloudstream3: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (max-target-o, reflection, denied)
10-13 18:28:34.405 27327 27327 D WM-PackageManagerHelper: androidx.work.impl.background.systemjob.SystemJobService enabled
10-13 18:28:34.405 27327 27327 D WM-Schedulers: Created SystemJobScheduler and enabled SystemJobService
10-13 18:28:34.415 27327 27348 D vulkan  : searching for layers in '/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/lib/arm64'
10-13 18:28:34.416 27327 27348 D vulkan  : searching for layers in '/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!/lib/arm64-v8a'
10-13 18:28:34.419 27327 27327 D AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
10-13 18:28:34.420 27327 27348 I DMABUFHEAPS: Using DMA-BUF heap named: vframe-secure
10-13 18:28:34.433 27327 27346 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10577; state: ENABLED
10-13 18:28:34.501 27327 27327 V NativeCrypto: Registering org/conscrypt/NativeCrypto's 288 native methods...
10-13 18:28:34.517 27327 27327 I DynamiteModule: Considering local module com.google.android.gms.cast.framework.dynamite:0 and remote module com.google.android.gms.cast.framework.dynamite:243934000
10-13 18:28:34.517 27327 27327 I DynamiteModule: Selected remote version of com.google.android.gms.cast.framework.dynamite, version >= 243934000
10-13 18:28:34.517 27327 27327 V DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
10-13 18:28:34.521 27327 27327 W System  : ClassLoader referenced unknown path: 
10-13 18:28:34.522 27327 27327 D nativeloader: Configuring clns-5 for other apk . target_sdk_version=34, uses_libraries=, library_path=/data/app/~~1qzDv-DTONCfEkh2_Idk1A==/com.google.android.gms-WDSbXoufktqDzqedW6zcNA==/lib/arm64:/data/app/~~1qzDv-DTONCfEkh2_Idk1A==/com.google.android.gms-WDSbXoufktqDzqedW6zcNA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
10-13 18:28:34.527 27327 27327 W st.cloudstream3: ClassLoaderContext classpath size mismatch. expected=12, found=6 (DLC[];PCL[base.apk*730869633:base.apk!classes2.dex*1334758703:base.apk!classes3.dex*3711984681:base.apk!classes4.dex*877067467:base.apk!classes5.dex*353797538:base.apk!classes6.dex*744634299:base.apk!classes7.dex*618253589:base.apk!classes8.dex*814921705:base.apk!classes9.dex*3720879112:base.apk!classes10.dex*3670415020:base.apk!classes11.dex*360877923:base.apk!classes12.dex*422997677]{PCL[/system/framework/org.apache.http.legacy.jar*1096660761]#PCL[/system/framework/com.android.media.remotedisplay.jar*3355806333]#PCL[/system/framework/com.android.location.provider.jar*2324294294]} | DLC[];PCL[/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk*3589451933:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!classes2.dex*3135665829:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!classes3.dex*2775249476:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!classes4.dex*2308496259:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!classes5.dex*3132462070:/data/app/~~-wbLrSGeae6dLtzzpnG9oQ==/com.lagradost.cloudstream3-BSDKYlSS2Fhvh7loazGlYw==/base.apk!classes6.dex*319525790])
10-13 18:28:34.534 27327 27327 I CastDynamiteModuleImpl: vu created by ClassLoader dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/app/~~1qzDv-DTONCfEkh2_Idk1A==/com.google.android.gms-WDSbXoufktqDzqedW6zcNA==/split_DynamiteModulesC_installtime.apk"],nativeLibraryDirectories=[/data/app/~~1qzDv-DTONCfEkh2_Idk1A==/com.google.android.gms-WDSbXoufktqDzqedW6zcNA==/split_DynamiteModulesC_installtime.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]].
10-13 18:28:34.541 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 183155436; UID 10577; state: ENABLED
10-13 18:28:34.548 27327 27327 V MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
10-13 18:28:34.549 27327 27327 I MediaRouter: Skip setBluetoothA2dpOn(): types=8388615, isPlaybackActive()=false, BT route=null
10-13 18:28:34.550 27327 27327 I MediaRouter: Found default route: MediaRouter.RouteInfo{ uniqueId=android/androidx.mediarouter.media.SystemMediaRouteProvider:DEFAULT_ROUTE, name=Phone, description=null, iconUri=null, enabled=true, connectionState=0, canDisconnect=false, playbackType=0, playbackStream=3, deviceType=0, volumeHandling=1, volume=15, volumeMax=25, presentationDisplayId=-1, extras=null, settingsIntent=null, providerPackageName=android }
10-13 18:28:34.550 27327 27327 I MediaRouter: Unselecting the current route because it is no longer selectable: null
10-13 18:28:34.561 27327 27370 D CompatibilityChangeReporter: Compat change id reported: 247079863; UID 10577; state: DISABLED
10-13 18:28:34.571 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10577; state: ENABLED
10-13 18:28:34.571 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 63938206; UID 10577; state: DISABLED
10-13 18:28:34.617 27327 27373 I PluginManager: Plugin update done!
10-13 18:28:34.623 27327 27375 W PluginManager: Failed to create local directories
10-13 18:28:34.632 27327 27327 I ImeTracker: com.lagradost.cloudstream3:8e18c0aa: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:34.633 27327 27327 I ImeTracker: com.lagradost.cloudstream3:8e18c0aa: onFailed at PHASE_CLIENT_VIEW_SERVED
10-13 18:28:34.636 27327 27327 I System.out: Loaded everything
10-13 18:28:34.637 27327 27327 I ImeTracker: com.lagradost.cloudstream3:79214acc: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:34.637 27327 27327 I ImeTracker: com.lagradost.cloudstream3:79214acc: onFailed at PHASE_CLIENT_VIEW_SERVED
10-13 18:28:34.637 27327 27382 D CompatibilityChangeReporter: Compat change id reported: 270306772; UID 10577; state: DISABLED
10-13 18:28:34.638 27327 27382 D CompatibilityChangeReporter: Compat change id reported: 235355681; UID 10577; state: ENABLED
10-13 18:28:34.643 27327 27391 D TrafficStats: tagSocket(128) with statsTag=0xffffffff, statsUid=-1
10-13 18:28:34.648 27327 27368 D DiscoveryListener: Discovery started: _fcast._tcp
10-13 18:28:34.671 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10577; state: ENABLED
10-13 18:28:34.679 27327 27327 I ContentCaptureHelper: Setting logging level to OFF
10-13 18:28:34.684 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10577; state: DISABLED
10-13 18:28:34.696 27327 27327 V MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
10-13 18:28:34.700 27327 27327 I SYNC_API: Local, local
10-13 18:28:34.716 27327 27402 D TrafficStats: tagSocket(132) with statsTag=0xffffffff, statsUid=-1
10-13 18:28:34.887 27327 27327 I COMPACT : showToast = Data stored
10-13 18:28:34.889 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10577; state: ENABLED
10-13 18:28:34.889 27327 27327 E Toast   : setGravity() shouldn't be called on text toasts, the values won't be used
10-13 18:28:34.890 27327 27327 I MediaRouterProxy: Set up output switcher flags: true (from module), true (from CastOptions)
10-13 18:28:34.890 27327 27327 I MediaRouterProxy: media transfer = false, session transfer = true, transfer to local = false, in-app output switcher = false
10-13 18:28:34.927 27327 27327 I ContentCaptureHelper: Setting logging level to OFF
10-13 18:28:34.940 27327 27414 D TransportRuntime.SQLiteEventStore: Storing event with priority=VERY_LOW, name=CAST_SENDER_SDK for destination cct
10-13 18:28:34.944 27327 27414 D TransportRuntime.JobInfoScheduler: Scheduling upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=1305487257 in 86400000ms(Backend next call timestamp 0). Attempt 1
10-13 18:28:34.944 27327 27414 D CompatibilityChangeReporter: Compat change id reported: 194532703; UID 10577; state: ENABLED
10-13 18:28:34.944 27327 27414 D CompatibilityChangeReporter: Compat change id reported: 253665015; UID 10577; state: DISABLED
10-13 18:28:34.944 27327 27414 D CompatibilityChangeReporter: Compat change id reported: 311402873; UID 10577; state: DISABLED
10-13 18:28:34.944 27327 27414 D CompatibilityChangeReporter: Compat change id reported: 323349338; UID 10577; state: DISABLED
10-13 18:28:36.956 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10577; state: ENABLED
10-13 18:28:36.956 27327 27327 D COMPACT : Notification permission: false
10-13 18:28:37.540 27327 27327 I ImeTracker: com.lagradost.cloudstream3:f74dce68: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:37.587 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 303326708; UID 10577; state: DISABLED
10-13 18:28:37.605 27327 27327 D AutofillManager: view not autofillable - not passing ime action check
10-13 18:28:38.765 27327 27327 I ImeTracker: com.lagradost.cloudstream3:7455b548: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:38.831 27327 27327 D CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10577; state: ENABLED
10-13 18:28:38.970 27327 27327 D AutofillManager: view not autofillable - not passing ime action check
10-13 18:28:38.970 27327 27327 D AutofillManager: view not autofillable - not passing ime action check
10-13 18:28:39.200 27327 27327 I ImeTracker: com.lagradost.cloudstream3:7e23a93b: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:40.102 27327 27426 D ProfileInstaller: Installing profile for com.lagradost.cloudstream3
10-13 18:28:40.412 27327 27327 I ImeTracker: com.lagradost.cloudstream3:8ad398d2: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
10-13 18:28:40.445 27327 27327 I ACRA    : ACRA is disabled for com.lagradost.cloudstream3
10-13 18:28:40.511 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:40.512 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:41.682 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:41.695 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:41.706 27327 27327 E st.cloudstream3: Invalid resource ID 0x00000000.
10-13 18:28:44.493 27327 27337 W st.cloudstream3: Cleared Reference was only reachable from finalizer (only reported once)
10-13 18:28:45.938 27327 27327 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Dialog$$ExternalSyntheticLambda2@ca3d5d3
10-13 18:28:45.942 27327 27348 D HWUI    : endAllActiveAnimators on 0xb4000071a20bb8d0 (RippleDrawable) with handle 0xb4000070d1f970b0

Other details

No response

Acknowledgements

hrsh2002 commented 1 week ago

Please tell me how to fix this!!!