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 781559 - vp9dec: "Internal GStreamer error: code not implemented" when post-processing=true
vp9dec: "Internal GStreamer error: code not implemented" when post-processing...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-20 20:14 UTC by Florian Nierhaus
Modified: 2018-11-03 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dot graph (784.76 KB, image/png)
2017-04-27 17:29 UTC, Florian Nierhaus
Details

Description Florian Nierhaus 2017-04-20 20:14:23 UTC
Hi,

I want to enable the post-processing in vp9dec .

When I enable it then I get:

ERROR                default video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 0
WARN             videofilter gstvideofilter.c:292:gst_video_filter_transform:<videoconvert1> warning: invalid video buffer received
ERROR:root:(GLib.Error('Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.', 'gst-core-error-quark', 3), 'gstvideofilter.c(292): gst_video_filter_transform (): /GstPipeline:main-pipeline/GstVide
oConvert:videoconvert1:\ninvalid video buffer received')
(GLib.Error('Internal GStreamer error: code not implemented.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.', 'gst-core-error-quark', 3), 'gstvideofilter.c(292): gst_video_filter_transform (): /GstPipeli
ne:main-pipeline/GstVideoConvert:videoconvert1:\ninvalid video buffer received')

my pipeline works fine with post-processing disabled in vp9dec

I am using current master (v1.6.1-467-g15afee1) of libvpx and compiled it with:
--enable-vp9-postproc --enable-error-concealment --enable-postproc --enable-shared --enable-pic


Thank you and best regards,
Florian
Comment 1 Sebastian Dröge (slomo) 2017-04-21 10:46:26 UTC
Can you provide a full debug log (GST_DEBUG=6) and also explain how exactly you're running things (what pipeline, etc) to get this happening? Also does it happen on all VP9 streams or only specific ones? Which?
Comment 2 Florian Nierhaus 2017-04-27 17:29:42 UTC
Created attachment 350572 [details]
dot graph
Comment 3 Florian Nierhaus 2017-04-27 17:43:41 UTC
Hi Sebastian,

we have webrtc rtp streams going from camera/desktop -> chromium (chrome 58) -> janus -> gstreamer and compose a video stream in gstreamer which we are streaming via rtmp.

The example video stream originated from a logitech camera.

I have attached a dot graph png so you can see the pipeline.

vpxdec = Gst.ElementFactory.make("vp9dec")
# vpxdec.set_property("post-processing-flags", 0x00000003);
vpxdec.set_property("post-processing", True)

Without the post-processing it works great.

I also tried to set post-processing-flags to 0x00000003 vs. the default. Both exhibited the error.

The log file gets to big to be attached so I gzipped it and put it on my google drive:
https://drive.google.com/open?id=0BzjEGib_PPOja1p0QnJldlF0VGs

thank you,
Florian
Comment 4 Florian Nierhaus 2017-05-09 21:29:50 UTC
Hi,

I created a simpler pipeline to reproduce this issue:

gst-launch-1.0 filesrc location=desktop720p30f3.5.pcap ! pcapparse ! "application/x-rtp,media=(string)video,payload=(int)101,clock-rate=(int)90000,encoding-name=(string)VP9" ! rtpvp9depay ! vp9dec "post-processing=true" ! videoscale ! videorate ! "video/x-raw,format=I420,width=720,height=1280,framerate=30/1" ! fakesink

the pcap is at:
https://drive.google.com/file/d/0BzjEGib_PPOjYUhIaXZ3WVFHaFk/view?usp=sharing

best regards,
Florian
Comment 5 Sebastian Dröge (slomo) 2018-05-07 15:54:06 UTC
Still happening and easily reproducible with the file given in comment 4
Comment 6 GStreamer system administrator 2018-11-03 15:18:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/367.