After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764010 - ios play local mp4 no video arm64
ios play local mp4 no video arm64
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.7.91
Other Mac OS
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-22 03:20 UTC by zhoujielun
Modified: 2016-05-22 17:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zhoujielun 2016-03-22 03:20:06 UTC
16-03-22 09:57:39.698 GstPlay[29566:5270510] unexpected nil window in _UIApplicationHandleEventFromQueueEvent, _windowServerHitTestWindow: <UIClassicWindow: 0x7f896be2f4a0; frame = (0 0; 375 667); userInteractionEnabled = NO; gestureRecognizers = <NSArray: 0x7f896bd04800>; layer = <UIWindowLayer: 0x7f896be2fd80>>
GstPlay was compiled with optimization - stepping may behave oddly; variables may not be available.
0:00:06.654636000 [335m29566[00m 0x7f896d099370 [31;01mERROR  [00m [00;04m             default video-frame.c:161:gboolean gst_video_frame_map_id(GstVideoFrame *, GstVideoInfo *, GstBuffer *, gint, GstMapFlags):[00m invalid buffer size 1166400 < 1382400
0:00:06.654789000 [335m29566[00m 0x7f896d919000 [31;01mERROR  [00m [00m          gst-player gstplayer.c:957:emit_warning:<player0>[00m Warning: Warning from element /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv: Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstvideofilter.c(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv:
invalid video buffer received (gst-player-error-quark, 0)
0:00:06.655573000 [335m29566[00m 0x7f896d099370 [31;01mERROR  [00m [00;04m             default video-frame.c:161:gboolean gst_video_frame_map_id(GstVideoFrame *, GstVideoInfo *, GstBuffer *, gint, GstMapFlags):[00m invalid buffer size 1166400 < 1382400
0:00:06.655689000 [335m29566[00m 0x7f896d919000 [31;01mERROR  [00m [00m          gst-player gstplayer.c:957:emit_warning:<player0>[00m Warning: Warning from element /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv: Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstvideofilter.c(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv:
invalid video buffer received (gst-player-error-quark, 0)
0:00:06.656106000 [335m29566[00m 0x7f896d099370 [31;01mERROR  [00m [00;04m             default video-frame.c:161:gboolean gst_video_frame_map_id(GstVideoFrame *, GstVideoInfo *, GstBuffer *, gint, GstMapFlags):[00m invalid buffer size 1166400 < 1382400
0:00:06.656200000 [335m29566[00m 0x7f896d919000 [31;01mERROR  [00m [00m          gst-player gstplayer.c:957:emit_warning:<player0>[00m Warning: Warning from element /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv: Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstvideofilter.c(292): GstFlowReturn gst_video_filter_transform(GstBaseTransform *, GstBuffer *, GstBuffer *) (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv:
invalid video buffer received (gst-player-error-quark, 0)
0:00:06.915043000 [335m29566[00m 0x7f896d099370 [31;01mERROR  [00m [00;04m             default video-frame.c:161:gboolean gst_video_frame_map_id(GstVideoFrame *, GstVideoInfo *, GstBuffer *, gint, GstMapFlags):[00m invalid buffer size 1166400 < 1382400
0:00:06.915190000 [335m29566[00m 0x7f896d919000 [31;01mERROR  [00m [00m          gst-player gstplayer.c:957:emit_warning:<player0>[00m Warning: Warning from element /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv: Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Comment 1 zhoujielun 2016-03-22 03:27:03 UTC
i think may be tablib error
Comment 2 Sebastian Dröge (slomo) 2016-03-22 07:52:29 UTC
The problem here is "invalid buffer size 1166400 < 1382400", unrelated to taglib or anything.

Can you get a full debug log with gst_debug_set_default_threshold(GST_LEVEL_LOG)? Also which decoder is used here and what kind of media is it?
Comment 3 zhoujielun 2016-03-22 10:20:37 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> The problem here is "invalid buffer size 1166400 < 1382400", unrelated to
> taglib or anything.
> 
> Can you get a full debug log with
> gst_debug_set_default_threshold(GST_LEVEL_LOG)? Also which decoder is used
> here and what kind of media is it?

OH,ios limit?
Comment 4 Sebastian Dröge (slomo) 2016-03-22 12:17:11 UTC
What?
Comment 5 Sebastian Dröge (slomo) 2016-03-22 12:18:24 UTC
Oh you mean the size thing? No that's not because there's a limit in size on iOS. It is because something is creating raw video frames that are smaller than they should be according to the width, height and pixel format.
Comment 6 zhoujielun 2016-03-22 12:25:08 UTC
1280*720 mp4...
Comment 7 Sebastian Dröge (slomo) 2016-03-22 12:56:35 UTC
Please provide debug logs
Comment 8 zhoujielun 2016-03-23 04:16:57 UTC
ps=(GstCaps)"video/x-raw\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ framerate\=\(fraction\)6551241/262144\,\ format\=\(string\)NV12\,\ interlace-mode\=\(string\)progressive", size=(uint)1382400, min-buffers=(uint)0, max-buffers=(uint)0, allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL, options=(string)< GstBufferPoolOptionGLSyncMeta, GstBufferPoolOptionGLTextureTarget2D >;

0:00:49.406623000 [332m33295[00m 0x7fdf8c8351e0 [37mDEBUG  [00m [00;01;35m      GST_SCHEDULING gstpad.c:4159:GstFlowReturn gst_pad_chain_data_unchecked(GstPad *, GstPadProbeType, void *):<inputselector0:sink_0>[00m called chainfunction &gst_selector_pad_chain with buffer 0x7fdf8b9b07d0, returned ok

 0:00:49.406753000 [332m33295[00m 0x7fdf8c8351e0 [37mDEBUG  [00m [00;01;35m      GST_SCHEDULING gstpad.c:4159:GstFlowReturn gst_pad_chain_data_unchecked(GstPad *, GstPadProbeType, void *):<src_0:proxypad0>[00m called chainfunction &gst_proxy_pad_chain_default with buffer 0x7fdf8b9b07d0, returned ok

----------------------------------------
0:00:49.414764000 [332m33295[00m 0x7fdf8c8351e0 [37mDEBUG  [00m [00;01;35m      GST_SCHEDULING gstpad.c:4153:GstFlowReturn gst_pad_chain_data_unchecked(GstPad *, GstPadProbeType, void *):<src_0:proxypad0>[00m calling chainfunction &gst_proxy_pad_chain_default with buffer buffer: 0x7fdf8b9b05b0, pts 0:00:00.809795918, dts 99:99:99.999999999, dur 0:00:00.023219954, size 8192, offset none, offset_end none, flags 0x4000

0:00:49.414772000 [332m33295[00m 0x7fdf8c835050 [37mDEBUG  [00m [00;01;31;41m            GST_PADS gstpad.c:3765:gboolean push_sticky(GstPad *, PadEvent *, gpointer):<vdconv:src>[00m event segment marked received


0:00:49.416218000 [332m33295[00m 0x7fdf8c835050 [37mDEBUG  [00m [00;01;35m      GST_SCHEDULING gstpad.c:4153:GstFlowReturn gst_pad_chain_data_unchecked(GstPad *, GstPadProbeType, void *):<src_1:proxypad1>[00m calling chainfunction &gst_proxy_pad_chain_default with buffer buffer: 0x7fdf8d104850, pts 0:00:00.000000000, dts 99:99:99.999999999, dur 99:99:99.999999999, size 1166400, offset none, offset_end none, flags 0x0
Comment 9 Sebastian Dröge (slomo) 2016-03-23 07:05:56 UTC
The full log as an attachment please, not just some random part from the middle of the log
Comment 10 zhoujielun 2016-03-23 09:09:33 UTC
https://github.com/sdroege/gst-player

log is to large........
Comment 11 Sebastian Dröge (slomo) 2016-03-23 09:14:51 UTC
Compress it and/or upload it to e.g. dropbox
Comment 12 zhoujielun 2016-03-23 15:24:31 UTC
hi .you kan use  https://github.com/sdroege/gst-player
play 720p. 



(In reply to Sebastian Dröge (slomo) from comment #11)
> Compress it and/or upload it to e.g. dropbox
Comment 13 Sebastian Dröge (slomo) 2016-03-23 15:39:24 UTC
If I had a arm64 capable iOS device, yes. And it would require additional time to set up everything and reproduce it, while you just uploading a log from your application that already fails would be a matter of a few minutes.
Comment 14 zhoujielun 2016-03-23 17:28:35 UTC
Ok, I will upload tomorrow morning.I now also does not have a MAC, I now in the home to see look at the source.These problems only appear in the IOS
Gldisplay gstgldisplay. C: 217: gst_gl_display_new: [00 m Could not create the display. This is also a problem.
And I found that if the call to stop play, and then continue to play, the video is no render, but the sound is normal.
Comment 15 zhoujielun 2016-03-23 17:34:04 UTC
I calculated the,
If (frame - > map [0]. Size < info - > the size)
Goto invalid_size;
1024 * 720 * 1.5 info - > size is 1280 * 720 * 1.5
I guess where did the limit.
Comment 16 zhoujielun 2016-03-23 17:59:15 UTC
max-size-bytes ?
Comment 17 Sebastian Dröge (slomo) 2016-03-24 08:28:36 UTC
There is no limit. The problem is that something creates frames with the wrong number of bytes. Just provide a log, that should give some idea where this happens at least.
Comment 18 Tim-Philipp Müller 2016-05-22 17:37:40 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!