Skip to content

Saving output to file instead of display device (DevBoard) #9

Open
@acirulis

Description

@acirulis

I am new to GStreamer, and cannot find a correct way to save output to file instead of display device on Coral DevBoard. While using Raspberry Pi and USB Accelerator I managed to save output file successfully but have no luck with DevBoard and OpenGL elements in the pipeline:

I modified output queue from:

        PIPELINE += """ ! decodebin ! glupload ! tee name=t
            t. ! queue ! glfilterbin filter=glbox name=glbox ! {sink_caps} ! {sink_element}
            t. ! queue ! glsvgoverlaysink name=overlaysink
        """

to

        PIPELINE += """ ! decodebin ! glupload ! tee name=t
            t. ! queue ! glfilterbin filter=glbox name=glbox ! {sink_caps} ! {sink_element}
            t. ! queue ! gldownload ! videoconvert ! x264enc ! mp4mux ! filesink location=output.mp4
        """

but am now receiving error and video is not recorded:

** (detect.py:8003): CRITICAL **: 20:08:07.765: gst_video_frame_map_id: assertion 'info->finfo->format == meta->format' failed

Appreciate any advice.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions