Giter Club home page Giter Club logo

Comments (5)

taos-ci avatar taos-ci commented on June 18, 2024

:octocat: cibot: Thank you for posting issue #61. The person in charge will reply soon.

from nnstreamer-example.

wooksong avatar wooksong commented on June 18, 2024
gst-inspect-1.0 typefind

from nnstreamer-example.

wooksong avatar wooksong commented on June 18, 2024

@niklasjang

$ GST_DEBUG=4 gst-launch-1.0 filesrc location=~/Downloads/flower.jpg ! typefind ! fakesink

...omission...
0:00:00.012980978 32169 0x5564093471e0 INFO               GST_EVENT gstevent.c:814:gst_event_new_caps: creating caps event image/jpeg, width=(int)499, height=(int)340, sof-marker=(int)0
0:00:00.012995973 32169 0x5564093471e0 INFO                typefind gsttypefindelement.c:181:gst_type_find_element_have_type:<typefindelement0> found caps image/jpeg, width=(int)499, height=(int)340, sof-marker=(int)0, probability=100
0:00:00.013013514 32169 0x5564093471e0 INFO               GST_EVENT gstevent.c:895:gst_event_new_segment: creating segment event bytes segment start=0, offset=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration -1

...omission...

In the native code, you can simply attach a signal handler to the typefind handler to get possible caps.

from nnstreamer-example.

myungjoo avatar myungjoo commented on June 18, 2024

To change framerate, add videorate to your pipeline; then you'll get 10/1 framerate. (5.)

With jpegdec, it worked because it does not need to change framerate. It has created video (video/xraw) from images (jpeg) with the given framerate (10 or 30.

With decodebin , you are making video/xraw from video/xraw of decodebin, which requires you to change framerate.

ps. you'd better handle and tweak with queue and synchronization mechanisms than tweaking framerate of input. Your hardware may have different performance.

from nnstreamer-example.

niklasjang avatar niklasjang commented on June 18, 2024

It helps me a lot. Thank you very much.

I'm closing this.

from nnstreamer-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.