sschueller / peertube-android

Thorium, a PeerTube Android Client
https://github.com/Chocobozzz/PeerTube
GNU Affero General Public License v3.0
344 stars 53 forks source link

Some videos play blank (no video only audio) #181

Closed sschueller closed 4 years ago

sschueller commented 4 years ago

For example: https://troll.tv/videos/watch/5280912a-b44c-461d-9fdc-5bef59d3b0a3

2020-06-21 19:24:15.040 16044-16044/net.schueller.peertube D/ViewRootImpl@7978200[VideoListActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7650 android.app.ActivityThread.callActivityOnStop:4379 android.app.ActivityThread.performStopActivityInner:4357 android.app.ActivityThread.handleStopActivity:4432 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70 
2020-06-21 19:24:15.070 16044-16097/net.schueller.peertube W/libEGL: EGLNativeWindowType 0x7bc3fb9010 disconnect failed
2020-06-21 19:24:15.070 16044-16097/net.schueller.peertube D/OpenGLRenderer: eglDestroySurface = 0x7baab0b880, 0x7bc3fb9000
2020-06-21 19:24:15.082 16044-16044/net.schueller.peertube D/ViewRootImpl@7978200[VideoListActivity]: Relayout returned: old=[0,0][720,1480] new=[0,0][720,1480] result=0x5 surface={valid=false 0} changed=false
2020-06-21 19:24:15.764 16044-16176/net.schueller.peertube I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2020-06-21 19:24:15.764 16044-16176/net.schueller.peertube I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2020-06-21 19:24:15.811 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/ac4
2020-06-21 19:24:15.814 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/x-ima
2020-06-21 19:24:15.827 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/eac3-joc
2020-06-21 19:24:15.829 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/evrc
2020-06-21 19:24:15.842 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/mpeg-L1
2020-06-21 19:24:15.843 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/mpeg-L2
2020-06-21 19:24:15.854 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/qcelp
2020-06-21 19:24:15.864 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/x-ms-wma
2020-06-21 19:24:15.880 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/evrc
2020-06-21 19:24:15.883 16044-16170/net.schueller.peertube W/AudioCapabilities: Unsupported mime audio/qcelp
2020-06-21 19:24:15.924 16044-16170/net.schueller.peertube W/VideoCapabilities: Unrecognized profile 4 for video/hevc
2020-06-21 19:24:15.931 16044-16170/net.schueller.peertube W/VideoCapabilities: Unsupported mime video/mp43
2020-06-21 19:24:15.942 16044-16170/net.schueller.peertube W/VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es
2020-06-21 19:24:15.942 16044-16170/net.schueller.peertube W/VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
2020-06-21 19:24:15.943 16044-16170/net.schueller.peertube W/VideoCapabilities: Unrecognized profile/level 32768/64 for video/mp4v-es
2020-06-21 19:24:15.946 16044-16170/net.schueller.peertube W/VideoCapabilities: Unsupported mime video/wvc1
2020-06-21 19:24:15.949 16044-16170/net.schueller.peertube W/VideoCapabilities: Unsupported mime video/wvc1
2020-06-21 19:24:15.976 16044-16170/net.schueller.peertube W/VideoCapabilities: Unsupported mime video/x-ms-wmv7
2020-06-21 19:24:15.978 16044-16170/net.schueller.peertube W/VideoCapabilities: Unsupported mime video/x-ms-wmv8
2020-06-21 19:24:16.001 16044-16170/net.schueller.peertube I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
2020-06-21 19:24:16.025 16044-16170/net.schueller.peertube I/ACodec:  [] Now uninitialized
2020-06-21 19:24:16.026 16044-16186/net.schueller.peertube I/ACodec: [] onAllocateComponent
2020-06-21 19:24:16.038 16044-16186/net.schueller.peertube I/OMXClient: IOmx service obtained
2020-06-21 19:24:16.095 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now Loaded
2020-06-21 19:24:16.099 16044-16186/net.schueller.peertube I/ACodec: codec does not support config priority (err -2147483648)
2020-06-21 19:24:16.099 16044-16186/net.schueller.peertube I/ACodec: codec does not support config operating rate (err -2147483648)
2020-06-21 19:24:16.104 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now Loaded->Idle
2020-06-21 19:24:16.133 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now Idle->Executing
2020-06-21 19:24:16.136 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now Executing
2020-06-21 19:24:16.136 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] calling emptyBuffer 1 w/ codec specific data, size : 5
2020-06-21 19:24:16.142 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now handling output port settings change
2020-06-21 19:24:16.150 16044-16186/net.schueller.peertube I/ACodec: [OMX.google.aac.decoder] Now Executing
dhk2 commented 4 years ago

The listed example is using the ISOM codec which isn't supported natively. I installed the k lite codec pack from the play store and it plays properly in Thorium

https://play.google.com/store/apps/details?id=com.kkite.mpc.hd