asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 225 forks source link

Will Not Play Video only Sound !!! #455

Open ians325 opened 6 years ago

ians325 commented 6 years ago

I'm submitting a ...

General infomration

Will Not Play Video only Sound !!! Hilsicon

Prerequisites

[Description of the bug or feature]

Steps to Reproduce

Expected behavior: Play Video

Actual behavior: [What actually happened]

Context (Environment)

Installation

Operating System

Debug log

14:11:47.317 T:18446744071988320544 NOTICE: Starting Kodi (18.0-BETA1 Git:20180815-429f771). Platform: Android ARM 32-bit 14:11:47.317 T:18446744071988320544 NOTICE: Using Debug Kodi x32 build 14:11:47.317 T:18446744071988320544 NOTICE: Kodi compiled Aug 15 2018 by Clang 5.0.300080 for Android ARM 32-bit API level 21 (API level 21) 14:11:47.317 T:18446744071988320544 NOTICE: Running on Hisilicon Z7_PLUS with Android 7.0.0 API level 24, kernel: Linux ARM 32-bit version 3.18.24_hi3798mv2x 14:11:47.317 T:18446744071988320544 NOTICE: FFmpeg version/source: 4.0.2-Kodi 14:11:47.317 T:18446744071988320544 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available 14:11:47.317 T:18446744071988320544 NOTICE: Product: unknown, Device: Hi3798MV200, Board: bigfish - Manufacturer: Hisilicon, Brand: unknown, Model: unknown, Hardware: bigfish 14:11:47.322 T:18446744071988320544 NOTICE: External storage path = /storage/emulated/0; status = ok 14:13:06.021 T:18446744071990409504 WARNING: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 3 14:13:08.893 T:2127558944 WARNING: Previous line repeats 1 times. 14:13:08.893 T:2127558944 WARNING: Attempt to use invalid handle -1 14:13:08.899 T:2127558944 NOTICE: [xbmcswift2] Request for "/movies/batch_add_to_library" matches rule for function "movies_batch_add_to_library" 14:13:09.484 T:18446744071606106400 ERROR: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) 14:13:10.402 T:18446744071988320544 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/?action=play_video&infoLabels=%7B%27rating%27%3A+0%2C+%27season%27%3A+None%2C+%27tvshowtitle%27%3A+%27%27%2C+%27mediatype%27%3A+%27movie%27%2C+%27director%27%3A+u%27Patrick+Gilmore%27%2C+%27duration%27%3A+5159%2C+%27year%27%3A+2003%2C+%27genre%27%3A+u%27Films+for+ages+5+to+7%27%2C+%27plot%27%3A+u%27The+young+pirate+sets+sail+on+a+great+adventure+to+save+a+friend.+A+magic+book%2C+a+love+test+and+a+race+against+time.%27%2C+%27episode%27%3A+%27%27%2C+%27title%27%3A+u%27Sinbad%3A+Legend+of+the+Seven+Seas%27%2C+%27mpaa%27%3A+%27BBFC-U%27%2C+%27writer%27%3A+%27%27%2C+%27cast%27%3A+%5Bu%27Dennis+Haysbert%27%2C+u%27Joseph+Fiennes%27%2C+u%27Chung+Chan%27%2C+u%27Timothy+West%27%2C+u%27Jim+Cummings%27%2C+u%27Michelle+Pfeiffer%27%2C+u%27Catherine+Zeta-Jones%27%2C+u%27Adriano+Giannini%27%2C+u%27Brad+Pitt%27%2C+u%27Raman+Hui%27%5D%7D&video_id=60029155&pin=True 14:13:10.406 T:2092955936 NOTICE: Creating InputStream 14:13:10.515 T:2092955936 ERROR: AddOnLog: InputStream Adaptive: Key system request: com.widevine.alpha 14:13:13.202 T:2092955936 NOTICE: Creating Demuxer 14:13:13.206 T:2092955936 NOTICE: Opening stream: 1 source: 256 14:13:13.366 T:2092955936 NOTICE: Creating video codec with codec id: 27 14:13:13.403 T:2092955936 NOTICE: CDVDVideoCodecAndroidMediaCodec::Open Testing codec:OMX.hisi.video.decoder.avc 14:13:13.485 T:2092955936 NOTICE: Creating video thread 14:13:13.487 T:2092955936 NOTICE: Opening stream: 2 source: 256 14:13:13.497 T:2044061984 NOTICE: running thread: video_thread 14:13:13.601 T:2092955936 NOTICE: Finding audio codec for: 86056 14:13:13.604 T:2092955936 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder eac3 14:13:13.604 T:2092955936 NOTICE: Creating audio thread 14:13:13.605 T:2092955936 NOTICE: Opening stream: 10 source: 256 14:13:13.611 T:2039576864 NOTICE: running thread: CVideoPlayerAudio::Process() 14:13:13.958 T:2039576864 NOTICE: Creating audio stream (codec id: 86056, channels: 2, sample rate: 48000, no pass-through) 14:13:13.962 T:2044061984 ERROR: CDVDVideoCodecAndroidMediaCodec::AddData error(-10000) 14:13:14.051 T:18446744071855147296 ERROR: Previous line repeats 3 times. 14:13:14.051 T:18446744071855147296 NOTICE: Trying to open: samplerate: 48000, channelMask: 12, encoding: 2 14:13:14.056 T:18446744071855147296 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_S16LE (AE) method: IEC (PT) stream-type: STREAM_TYPE_AC3 min_buffer_size: 23088 m_frames: 2886 m_frameSize: 4 channels: 2 14:13:14.061 T:18446744071856191776 NOTICE: CAEEncoderFFmpeg::Initialize - AC3 encoder ready

Other information

[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]

Screenshots

[Please add a screenshot if that helps understanding your problem]

[You can erase any parts of this template not applicable to your Issue.]

caphm commented 6 years ago

Please post a full debug log.

ians325 commented 6 years ago

https://paste.ee/p/nEVm6 with debug command Not Working Netflix

caphm commented 6 years ago

I'm stumped, it seems like the Kodi player can't handle the video data that's fed to it:

14:48:50.903 T:2090961184 ERROR: CDVDVideoCodecAndroidMediaCodec::AddData error(-10000) 14:48:50.948 T:2089916704 ERROR: Previous line repeats 2 times. ... 14:53:15.445 T:2090961184 ERROR: CDVDVideoCodecAndroidMediaCodec::GetOutputPicture unknown index(-10000) 14:53:43.025 T:18446744071797512480 ERROR: Previous line repeats 21537 times.

I have no clue about the internal workings of Kodi on Android. Maybe someone else can help out?

ians325 commented 6 years ago

https://paste.ee/p/ZlgdX with Debug Amazon VOD working, just in case there are an clues that can help

ians325 commented 6 years ago

Im trying to rule out. The Codecs Settings. Is possible to have a build that would Configure - 640x360. display: 640x360. framerate: 25.00. as this seems to work with Amazon VOD.

ians325 commented 6 years ago

h264bpl30-dash just trying force

ians325 commented 6 years ago

No luck

rvolgers commented 5 years ago

I know this is old, but for people searching for this error:

The -10000 value is the return value from AMediaCodec_dequeueOutputBuffer and this specific value is AMEDIA_ERROR_UNKNOWN, which means translate_error in NdkMediaCodec.cpp failed to translate an error from libstagefright. Luckily translate_error will write the original error code to your android log, run logcat and look for messages starting with "sf error code:". In my case the original error code was -38, which is INVALID_OPERATION (== -ENOSYS), which does not actually help me that much, but you might have a different problem and thus a different error code.

In addition I found this thread on StackOverflow which may or may not be relevant: https://stackoverflow.com/questions/57672777/amediacodec-dequeueoutputbuffer-is-slow-and-returns-10000-on-one-device