GStreamer-1.0 Failed to write input into the OpenMAX buffer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GStreamer-1.0 Failed to write input into the OpenMAX buffer

Lazar Todic
Hi everyone!
I am trying to receive video stream, decode it, encode it and send it back.
My pipeline:
gst-launch-1.0 udpsrc uri=udp://239.8.8.7:1234 ! tsdemux ! h264parse ! omxh264dec ! mpegtsmux ! udpsink host=239.8.8.7 port=1235

I am streaming .mpg video file.
Error I'm getting:
ERROR: from element /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0: Could not write to resource.
Additional debug info:
/dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomxvideoenc.c(2139): gst_omx_video_enc_handle_frame (): /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
Failed to write input into the OpenMAX buffer


When debugging with GST_DEBUG=3 I get:
ERROR:  tsdemux tsdemux.c:1338:gst_ts_demux_queue_data: CONTINUITY: Mismatch packet 12, stream 13
ERROR:  default video-frame.c:136:gst_video_frame_map_id: failed to map video frame plane 1
ERROR:  omxvideoenc /dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomxvideoenc.c:1861:gst_omx_video_enc_fill_buffer:<omxh264enc-omxh264enc0> Invalid input buffer size

I don't know how to resolve this issue. What could be the problem?
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer-1.0 Failed to write input into the OpenMAX buffer

Sebastian Dröge-3
On Mi, 2016-07-06 at 07:07 -0700, Lazar Todic wrote:

> Hi everyone! 
> I am trying to receive video stream, decode it, encode it and send it back.
> My pipeline:
> gst-launch-1.0 udpsrc uri=udp://239.8.8.7:1234 ! tsdemux ! h264parse !
> omxh264dec ! mpegtsmux ! udpsink host=239.8.8.7 port=1235
> [...]
> /dvs/git/dirty/git-master_linux/external/gstreamer/gst-omx/omx/gstomxvideoenc.c(2139):
> gst_omx_video_enc_handle_frame ():
> /GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0:
> Failed to write input into the OpenMAX buffer*
Your pipeline contains the decoder, your error is from the encoder.
What's the pipeline you're actually using?

Also on which hardware is this, with which version of GStreamer and
gst-omx?

--

Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer-1.0 Failed to write input into the OpenMAX buffer

Lazar Todic
This post was updated on .
I am working on Nvidia Jetson TX1 platform. This pipeline is assignment. I need to measure the latency that Jetson brings in video streaming across the local network. Thing is, I used this same pipeline in GStreamer 0.10, only with corresponding h264, h264 encoder, muxer, demuxer. And everything worked just fine. GStreamer version is 1.2.4. I don't know what is the omx version. How can I find out that?

What could be the problem?