|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
@fuzzy/stuckless:
Got that thumbnail thing fixed by manually installing libfaad.so under /usr/local/lib. Playback on P8 Light/Android 6 still does not work. Are there logfiles on android? @evilpenguin: The version for fireTV works great on my stick. However, the miniclient does not show up under Home>Recent. To start it, I always have to go into Settings>Applications>Installed Apps>SageTV>Start. Is there a way to let it show up under Home>Recent ? |
#22
|
||||
|
||||
There no log files... but, if you were to connect to it using the Android development environment, you could read the logs. I suspect that this device simply won't work. I've tested this on lots of physical devices, but I've never encountered a case where nothing would show up or play... I could always get something to play. I'm guessing that the P8 doesn't have the decoders images or video... which seems odd. The primary goal of the MiniClient is for Android TV units. It's considered a plus if it can run on some phones or tablets... but that's not the primary goal. But, if you do happen to hook it up to adb and get some logs, I can see "why" it's failing, but, I'm not likely able to fix it
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#23
|
||||
|
||||
Odd, it shows up under both Apps and Recent for me. Is this the new stick or the old one. Also, what software version are you running (System->About)?
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#24
|
|||
|
|||
You may be right.
I have loaded sagetv-miniclient-master into my Android Studio and found the following error in the output: Code:
12-02 10:47:13.511 9940-18598/sagex.miniclient.android.tv I/tv.danmaku.ijk.media.player.IjkMediaPlayer: onSelectCodec: mime=video/mpeg2, profile=4, level=8 12-02 10:47:13.527 9940-18598/sagex.miniclient.android.tv I/tv.danmaku.ijk.media.player.IjkMediaPlayer: candidate codec: OMX.k3.video.decoder.mpeg2 rank=700 12-02 10:47:13.528 9940-18598/sagex.miniclient.android.tv I/IjkMediaCodecInfo: Unknown Profile Level 0 (0,0) 12-02 10:47:13.529 9940-18598/sagex.miniclient.android.tv I/tv.danmaku.ijk.media.player.IjkMediaPlayer: candidate codec: OMX.google.mpeg2.decoder rank=200 12-02 10:47:13.529 9940-18598/sagex.miniclient.android.tv W/VideoCapabilities: Unrecognized profile/level 0/0 for video/mpeg2 12-02 10:47:13.529 9940-18598/sagex.miniclient.android.tv W/VideoCapabilities: Unrecognized profile/level 0/2 for video/mpeg2 12-02 10:47:13.529 9940-18598/sagex.miniclient.android.tv W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 12-02 10:47:13.530 9940-18598/sagex.miniclient.android.tv I/IjkMediaCodecInfo: Baseline Profile Level 0 (1,3) 12-02 10:47:13.531 9940-18598/sagex.miniclient.android.tv I/tv.danmaku.ijk.media.player.IjkMediaPlayer: selected codec: OMX.k3.video.decoder.mpeg2 rank=700 12-02 10:47:13.555 9940-18628/sagex.miniclient.android.tv I/OMXClient: Using client-side OMX mux. 12-02 10:47:13.812 9940-18598/sagex.miniclient.android.tv E/IJKMEDIA: configure acodec:0x606 format:0x1005ea: surface:0x1005f2 12-02 10:47:13.819 9940-18627/sagex.miniclient.android.tv I/MediaCodec: [OMX.k3.video.decoder.mpeg2] setting surface generation to 10178561 12-02 10:47:13.821 9940-18628/sagex.miniclient.android.tv E/ACodec: [OMX.k3.video.decoder.mpeg2] storeMetaDataInBuffers failed w/ err -2147483648 12-02 10:47:13.822 9940-18628/sagex.miniclient.android.tv I/HwExtendedCodec: mime is [video/mpeg2] at setVideoFormat 12-02 10:47:13.894 9940-18598/sagex.miniclient.android.tv I/IJKMEDIA: reconfigure_codec_l:new acodec: 0xac549a68 12-02 10:47:13.894 9940-18598/sagex.miniclient.android.tv I/IJKMEDIA: VideoCodec: MediaCodec, OMX.k3.video.decoder.mpeg2 12-02 10:47:13.894 9940-18598/sagex.miniclient.android.tv W/IJKMEDIA: fps: 25.000000 (normal) 12-02 10:47:13.894 9940-18598/sagex.miniclient.android.tv W/IJKMEDIA: fps: 25.000000 (normal) 12-02 10:47:13.894 9940-18641/sagex.miniclient.android.tv I/IJKMEDIA: SDL_RunThread: [18641] ff_video_dec 12-02 10:47:13.910 9940-18616/sagex.miniclient.android.tv I/AudioTrack-JNI: audioTrack send start state to pg 12-02 10:47:13.911 9940-18616/sagex.miniclient.android.tv I/AudioTrack-JNI: audioTrack continuously zero data counter >= 10, send pause/stop state to pg, counter: 0 12-02 10:47:13.914 9940-18642/sagex.miniclient.android.tv I/IJKMEDIA: SDL_RunThread: [18642] amediacodec_input_thread 12-02 10:47:14.010 9940-18642/sagex.miniclient.android.tv I/IJKMEDIA: feed_input_buffer: same surface, reuse previous surface 12-02 10:47:14.013 9940-18628/sagex.miniclient.android.tv E/ACodec: [OMX.k3.video.decoder.mpeg2] ERROR(0x8000100b) 12-02 10:47:14.013 9940-18628/sagex.miniclient.android.tv E/ACodec: signalError(omxError 0x8000100b, internalError -2147483648) 12-02 10:47:14.013 9940-18627/sagex.miniclient.android.tv E/MediaCodec: Codec reported err 0x8000100b, actionCode 0, while in state 6 12-02 10:47:14.013 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateExceptionjava.lang.IllegalStateException 12-02 10:47:14.013 9940-18642/sagex.miniclient.android.tv W/System.err: at at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.013 9940-18641/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) 12-02 10:47:14.013 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.013 9940-18641/sagex.miniclient.android.tv W/System.err: android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2406) 12-02 10:47:14.013 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.014 9940-18641/sagex.miniclient.android.tv I/IJKMEDIA: SDL_AMediaCodecJava_dequeueOutputBuffer: Exception 12-02 10:47:14.016 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:14.016 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.016 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.017 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueInputBuffer(Native Method) 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:2346) 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: SDL_AMediaCodecJava_dequeueInputBuffer: dequeueInputBuffer failed 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv E/IJKMEDIA: feed_input_buffer: SDL_AMediaCodec_getInputBuffer failed 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv I/IJKMEDIA: MediaCodec: enqueue_thread_func: exit: -1 12-02 10:47:14.019 9940-18642/sagex.miniclient.android.tv I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [18642] 12-02 10:47:15.014 9940-18641/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:15.014 9940-18641/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) 12-02 10:47:15.014 9940-18641/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2406) 12-02 10:47:15.014 9940-18641/sagex.miniclient.android.tv I/IJKMEDIA: SDL_AMediaCodecJava_dequeueOutputBuffer: Exception 12-02 10:47:15.525 9940-18616/sagex.miniclient.android.tv I/AudioTrack-JNI: audioTrack send start state to pg 12-02 10:47:16.015 9940-18641/sagex.miniclient.android.tv W/System.err: java.lang.IllegalStateException 12-02 10:47:16.016 9940-18641/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method) 12-02 10:47:16.016 9940-18641/sagex.miniclient.android.tv W/System.err: at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:2406) |
#25
|
||||
|
||||
That's a good log... lots of info in there.
I suspect that VLC and other players can play the file, because they are likely blacklisting the k3 decoder, or, they might auto-select another decoder in the even that one fails... and likely they might also just default to software decoding if the hardware fails. The miniclient playback isn't that intelligent... it will use a software decoder if a hardware decoder is missing... but it won't do multiple attempts trying different configurations. There's also no blacklisting/whitelisting of decoders, so there's no way to force it to use software decoder for mpeg2. It's surprising that a phone would actually even ship with mpeg2 decoders. If you want, you can open a defect against the miniclient asking for the ability to disable codecs, and/or use a software decoder if hardware fails, etc.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#26
|
|||
|
|||
Just for your interest, this is a log info when mezzmo plays a mpeg file:
Code:
12-02 14:30:23.326 2817-2817/? I/IJKMEDIA: MediaCodec: API-23 12-02 14:30:23.395 2817-2817/? I/IJKMEDIA: av_version_info: ff2.8--ijk0.3.3--dev0.3.3--rc1 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: ===== options ===== 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : mediacodec = 1 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : mediacodec-auto-rotate = 0 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : opensles = 0 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : overlay-format = 842225234 12-02 14:30:23.400 2817-2949/? I/IJKMEDIA: SDL_RunThread: [2949] ff_msg_loop 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : framedrop = 1 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: player-opts : start-on-prepared = 0 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: format-opts : ijkinject-opaque = 2099186 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: format-opts : http-detect-range-support = 0 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: codec-opts : skip_loop_filter = 48 12-02 14:30:23.400 2817-2817/? I/IJKMEDIA: =================== 12-02 14:30:23.402 2817-2950/? I/IJKMEDIA: SDL_RunThread: [2950] ff_vout 12-02 14:30:23.404 2817-2951/? I/IJKMEDIA: SDL_RunThread: [2951] ff_read 12-02 14:30:23.473 4150-4150/? I/CastMediaRouteProvider: in onDiscoveryRequestChanged: request=DiscoveryRequest{ selector=MediaRouteSelector{ controlCategories=[com.google.android.gms.cast.CATEGORY_CAST/492B963E] }, activeScan=false, isValid=true } 12-02 14:30:23.503 2817-2951/? E/IJKMEDIA: Header missing 12-02 14:30:23.757 2484-2533/? I/[Gralloc]: alloc w[90] h[160] format[1] usage[819] 12-02 14:30:23.757 2484-2533/? I/[Gralloc]: alloc succ handle[0x5586d84f10] stride[92] 12-02 14:30:23.864 2590-2795/? I/dsp_common: dsp_common_control_algo:set device = 0 12-02 14:30:24.178 2817-2951/? I/IJKMEDIA: max_analyze_duration 5000000 reached at 5016000 microseconds st:0 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: max_frame_duration: 10.000 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: Input #0, mpeg, from 'http://192.168.178.62:8200/MediaItems/27.mpg': 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: Duration: 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: 00:19:58.80 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: , start: 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: 0.197522 12-02 14:30:24.319 2817-2951/? I/IJKMEDIA: , bitrate: 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: 3415 kb/s 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: Stream #0:0 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: [0x1c0] 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: : Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: Stream #0:1 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: [0x1e0] 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: : Video: mpeg2video (Main), 1 reference frame, yuv420p(tv, left), 720x576 [SAR 64:45 DAR 16:9], 1/50, max. 15000 kb/s 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: , 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: 25 fps, 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: 25 tbr, 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: 90k tbn, 12-02 14:30:24.320 2817-2951/? I/IJKMEDIA: 50 tbc 12-02 14:30:24.345 2817-2951/? E/IJKMEDIA: ffpipenode_create_video_decoder_from_android_mediacodec:create: not H264 12-02 14:30:24.345 2817-2951/? I/IJKMEDIA: VideoCodec: avcodec, mpeg2video 12-02 14:30:24.345 2817-2951/? W/IJKMEDIA: fps: 25.000000 (normal) 12-02 14:30:24.346 2817-2951/? W/IJKMEDIA: fps: 25.000000 (normal) 12-02 14:30:24.347 2817-2966/? I/IJKMEDIA: SDL_RunThread: [2966] ff_video_dec 12-02 14:30:24.446 2817-2955/? E/IJKMEDIA: Header missing 12-02 14:30:24.458 2590-2795/? I/TFA9895_SPK: tfa9895 spk power on! 12-02 14:30:24.474 2484-13827/? I/[Gralloc]: alloc w[720] h[576] format[2] usage[307] 12-02 14:30:24.475 2484-13827/? I/[Gralloc]: alloc succ handle[0x5586db6ea0] stride[720] 12-02 14:30:24.482 2817-2817/? I/tv.danmaku.ijk.media.player.IjkMediaPlayer: Info: MEDIA_INFO_VIDEO_RENDERING_START 12-02 14:30:24.495 2817-2859/? E/HAL: load: id=gralloc != hmi->id=gralloc 12-02 14:30:24.554 2484-3916/? I/[Gralloc]: alloc w[720] h[576] format[2] usage[307] 12-02 14:30:24.555 2484-3916/? I/[Gralloc]: alloc succ handle[0x5586dee4e0] stride[720] 12-02 14:30:24.575 2817-2859/? E/HAL: load: id=gralloc != hmi->id=gralloc |
#27
|
||||
|
||||
Not that it's apparent... but in that log it's using a software decoder (ie, ffmpeg is decoding the mpeg2 video).
Code:
VideoCodec: avcodec, mpeg2video
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#28
|
||||
|
||||
Today, I added the ability to turn off hardware codecs in the configuration settings. This will allow you to disable that hardware codec (which is likely faulty) and then another mpeg2 codec will be selected instead (or software decoder will be used). I'm going to try to push out a new release tomorrow.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#29
|
|||
|
|||
By the way, welcome back EP! It is great to see you around again.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#30
|
|||
|
|||
Quote:
|
#31
|
||||
|
||||
The update has been pushed... so you should be able to disable that mpeg2 codec and see if you have better results. You can even try disabling all hardware decoders just to test if it's a hardware decoder issue.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#32
|
|||
|
|||
It works! At least, when starting from the begining of the file. Sometimes, when resuming, there is no picture. But I'm still playing with the settings.
Thanx a lot! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
for sale 2 hd300, 1 hd100, 2 servers,3 clients, 4 placeshifters | impro | SageTV Marketplace | 16 | 07-01-2013 11:55 PM |
Psssible major rebuild of servers and clients | bbig119 | Hardware Support | 0 | 08-18-2010 09:46 AM |
Remote question for servers and clients | crarbo1 | Hardware Support | 10 | 08-24-2008 01:47 PM |
Two servers and multiple clients? | Athfar | SageTV Software | 1 | 12-07-2007 12:19 AM |
Do the clients and servers check their version numbers?! | jimbobuk | SageTV Beta Test Software | 0 | 05-31-2003 06:46 AM |