[Bug 761014] File can't be played with hardware acceleration in Android gstreamer tutorial 5

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 28 01:47:40 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761014

--- Comment #30 from Gregoire <gregoire at gentil.com> ---
I can play local-25.fps in the photo application and it seems to use hardware
acceleration:


--------- beginning of main
01-28 01:41:00.625  6692  7069 D skia    : --- SkImageDecoder::Factory returned
null
01-28 01:41:00.626  6692  7069 D skia    : --- SkImageDecoder::Factory returned
null
01-28 01:41:00.632  6692  7071 D skia    : --- SkImageDecoder::Factory returned
null
01-28 01:41:00.632  6692  7071 D skia    : --- SkImageDecoder::Factory returned
null
01-28 01:41:00.654  1177  1177 I Keyboard.Facilitator: onFinishInput()
01-28 01:41:00.698   195  8818 D NuPlayer: onSetVideoSurface(0xb2c9b700, no
video decoder)
01-28 01:41:00.736   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(5, 1280, 1440)
01-28 01:41:00.736   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(1, 0, 0)
01-28 01:41:00.761  6692  7053 D OpenGLRenderer: endAllStagingAnimators on
0x994a8900 (RippleDrawable) with handle 0x97e5ba90
01-28 01:41:00.766  6692  6692 W Glide   : Load failed for
LocalMediaModel{signature=-205777858,
localUri=content://media/external/video/media/747} with size [50x50]
01-28 01:41:00.766  6692  6692 W Glide   : class aiw: Failed to load resource
01-28 01:41:00.766  6692  6692 W Glide   :   Cause (1 of 2): class aiw: Failed
LoadPath{AutoCloseInputStream->Bitmap->Bitmap}, LOCAL
01-28 01:41:00.766  6692  6692 W Glide   :     Cause (1 of 1): class aiw:
Failed DecodePath{AutoCloseInputStream->Bitmap->Bitmap}
01-28 01:41:00.766  6692  6692 W Glide   :   Cause (2 of 2): class aiw: Failed
LoadPath{ParcelFileDescriptorInner->Bitmap->Bitmap}, LOCAL
01-28 01:41:00.766  6692  6692 W Glide   :     Cause (1 of 1): class aiw:
Failed DecodePath{ParcelFileDescriptorInner->Bitmap->Bitmap}
01-28 01:41:00.766  6692  6692 E Glide   : class aiw: Failed to load resource
01-28 01:41:00.769  6692  6692 W Glide   : Load failed for
LocalMediaModel{signature=-205777858,
localUri=content://media/external/video/media/747} with size [313x313]
01-28 01:41:00.769  6692  6692 W Glide   : class aiw: Failed to load resource
01-28 01:41:00.769  6692  6692 W Glide   :   Cause (1 of 2): class aiw: Failed
LoadPath{AutoCloseInputStream->Bitmap->Bitmap}, LOCAL
01-28 01:41:00.769  6692  6692 W Glide   :     Cause (1 of 1): class aiw:
Failed DecodePath{AutoCloseInputStream->Bitmap->Bitmap}
01-28 01:41:00.769  6692  6692 W Glide   :   Cause (2 of 2): class aiw: Failed
LoadPath{ParcelFileDescriptorInner->Bitmap->Bitmap}, LOCAL
01-28 01:41:00.769  6692  6692 W Glide   :     Cause (1 of 1): class aiw:
Failed DecodePath{ParcelFileDescriptorInner->Bitmap->Bitmap}
01-28 01:41:00.769  6692  6692 E Glide   : class aiw: Failed to load resource
01-28 01:41:00.770  6692  6692 D MediaPlayer: setSubtitleAnchor in MediaPlayer
01-28 01:41:00.772   195  6499 D NuPlayerDriver: seekTo(0xb37335a0) 5713 ms
01-28 01:41:00.772   195  6499 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(7, 0, 0)
01-28 01:41:00.773   195  8818 I GenericSource: start
01-28 01:41:00.780   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(4, 0, 0)
01-28 01:41:00.805   195  8824 I MediaCodec: [OMX.qcom.video.decoder.avc]
setting surface generation to 199691
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: Extension:
OMX.google.android.index.storeANWBufferInMetadata not implemented
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: Extension:
OMX.google.android.index.storeMetaDataInBuffers not implemented
01-28 01:41:00.806   195  8825 E OMXNodeInstance:
getExtensionIndex(13f:qcom.decoder.avc,
OMX.google.android.index.storeMetaDataInBuffers) ERROR:
NotImplemented(0x80001006)
01-28 01:41:00.806   195  8825 E ACodec  : [OMX.qcom.video.decoder.avc]
storeMetaDataInBuffers failed w/ err -2147483648
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.806   195  8825 E OMXNodeInstance:
setConfig(13f:qcom.decoder.avc, ConfigPriority(0x6f800002)) ERROR:
NotImplemented(0x80001006)
01-28 01:41:00.806   195  8825 I ACodec  : codec does not support config
priority (err -2147483648)
01-28 01:41:00.806   195  8825 E OMXNodeInstance:
setConfig(13f:qcom.decoder.avc, ConfigOperatingRate(0x6f800003)) ERROR:
NotImplemented(0x80001006)
01-28 01:41:00.806   195  8825 I ACodec  : codec does not support config
operating rate (err -2147483648)
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.806   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.807   195  8824 I MediaCodec: MediaCodec will operate in async
mode
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.809   195  8825 D SurfaceUtils: set up nativeWindow 0xb2c9b708
for 1280x1440, color 0x7fa30c03, rotation 0, usage 0x42002900
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.809   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.816   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.816   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.816   195  8825 E OMX-VDEC-1080P: GET_MV_BUFFER_SIZE returned:
Size: 491520 and alignment: 8192
01-28 01:41:00.831   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.831   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.841   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.841   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.851   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.851   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.860   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.860   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.869   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.869   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.876   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.876   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.882   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.882   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.889   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.889   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.897   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.897   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.904   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:00.904   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:00.962   188   188 W SurfaceFlinger: couldn't log to binary event
log: overflow.
01-28 01:41:01.064   195  8826 E OMX-VDEC-1080P: 
01-28 01:41:01.064   195  8826 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.065   195  8825 D SurfaceUtils: set up nativeWindow 0xb2c9b708
for 1280x1440, color 0x7fa30c03, rotation 0, usage 0x42002900
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.065   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.087   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.087   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.087   195  8825 E OMX-VDEC-1080P: GET_MV_BUFFER_SIZE returned:
Size: 491520 and alignment: 8192
01-28 01:41:01.097   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.097   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.106   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.106   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.113   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.113   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.119   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.119   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.126   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.126   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.133   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.133   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.140   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.140   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.155   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.155   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.169   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.169   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.182   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.182   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.191   195  8826 E         : 
01-28 01:41:01.191   195  8826 E         :  not in avi mode
01-28 01:41:01.233   195  8825 E OMX-VDEC-1080P: 
01-28 01:41:01.233   195  8825 E OMX-VDEC-1080P:  No color conversion required
01-28 01:41:01.234   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(5, 1280, 1440)
01-28 01:41:03.858   635   646 I MediaFocusControl:  AudioFocus 
requestAudioFocus() from android.media.AudioManager at 58c8eajde@f5d2b89
req=1flags=0x0
01-28 01:41:03.860   195  6499 D NuPlayerDriver: start(0xb37335a0), state is 4,
eos is 0
01-28 01:41:03.863   195  8823 I NuPlayerDecoder: [OMX.qcom.video.decoder.avc]
resubmitting CSD
01-28 01:41:03.863   195  8823 I NuPlayerDecoder: [OMX.qcom.video.decoder.avc]
resubmitting CSD
01-28 01:41:03.864   195  8826 E         : 
01-28 01:41:03.864   195  8826 E         :  not in avi mode
01-28 01:41:03.865   195  8826 E         : 
01-28 01:41:03.865   195  8826 E         :  not in avi mode
01-28 01:41:03.906   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(200, 3, 0)
01-28 01:41:03.906   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(6, 0, 0)
01-28 01:41:03.906  6692  6703 W MediaPlayer: info/warning (3, 0)
01-28 01:41:05.439   195  8823 I NuPlayerDecoder: [video] saw output EOS
01-28 01:41:05.652   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(2, 0, 0)
01-28 01:41:05.653   635  1295 I MediaFocusControl:  AudioFocus 
requestAudioFocus() from android.media.AudioManager at 58c8eajde@f5d2b89
req=1flags=0x0
01-28 01:41:05.655   195  6499 D NuPlayerDriver: start(0xb37335a0), state is 6,
eos is 1
01-28 01:41:05.663   195  8823 I NuPlayerDecoder: [OMX.qcom.video.decoder.avc]
resubmitting CSD
01-28 01:41:05.663   195  8823 I NuPlayerDecoder: [OMX.qcom.video.decoder.avc]
resubmitting CSD
01-28 01:41:05.664   195  8826 E         : 
01-28 01:41:05.664   195  8826 E         :  not in avi mode
01-28 01:41:05.666   195  8826 E         : 
01-28 01:41:05.666   195  8826 E         :  not in avi mode
01-28 01:41:05.709   195  8818 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(6, 0, 0)
01-28 01:41:11.751   195   669 D NuPlayerDriver: notifyListener_l(0xb37335a0),
(7, 0, 0)
01-28 01:41:11.753   635  1278 I MediaFocusControl:  AudioFocus 
abandonAudioFocus() from android.media.AudioManager at 58c8eajde@f5d2b89

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list