Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
acirulis opened this issue Apr 19, 2021 · 1 comment
Open

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

acirulis opened this issue Apr 19, 2021 · 1 comment
Assignees
Labels
Hardware:Dev Board Coral Dev Board issues subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue

Comments

@acirulis
Copy link

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.

@zdavatz
Copy link

zdavatz commented Apr 20, 2021

Yes, I am seeing the same problem.

@hjonnala hjonnala added Hardware:Dev Board Coral Dev Board issues subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue labels Aug 5, 2021
@hjonnala hjonnala assigned hjonnala and unassigned manoj7410 May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware:Dev Board Coral Dev Board issues subtype:Mendel Linux Mendel Linux Build/installation issues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

4 participants