Skip to content

Problem with multipart boundaries in gstreamer applications. #807

@rvbglas

Description

@rvbglas
  1. Reviewed guide and contributing documents? (Yes/No): Yes
  2. version [x.y.z, hash, other]: 4.1.1
  3. installed as a package or compiled from sources [deb, rpm, git, other]: compiled from git sources
  4. standalone or part of third party [motion, MotionEyeOS, other]: standalone
  5. video stream source [V4L (card or USB), net cam (mjpeg, rtsp, other), mmal]: mjpeg + rtsp
  6. hardware [x86, ARM, other]: amd64
  7. operating system [16.04, Stretch, etc, FreeBSD, other]: Ubuntu 16.04

After migration to libmicrohttpd motion webstreams cannot be used in gstreamer apps, but still viewable in browser.

>gst-launch-1.0 -v souphttpsrc location=http://127.0.0.1:8082 ! multipartdemux ! jpegdec ! fakesinkSetting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0: Could not demultiplex stream.
Additional debug info:
multipartdemux.c(503): multipart_parse_header (): /GstPipeline:pipeline0/GstMultipartDemux:multipartdemux0:
Boundary not found in the multipart header
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

4.1 works normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions