Comments (5)
cibot: Thank you for posting issue #61. The person in charge will reply soon.
from nnstreamer-example.
gst-inspect-1.0 typefind
from nnstreamer-example.
$ 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.
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.
It helps me a lot. Thank you very much.
I'm closing this.
from nnstreamer-example.
Related Issues (20)
- nnstreamer_example_speech_command_tflite failed on ubuntu 18 HOT 2
- How can I input the lidar sensor data in jni file? HOT 1
- 안드로이드 예제 관련해서 질문 드립니다. HOT 6
- Update the license! HOT 1
- Errors during 'gradlew build' HOT 7
- [native] port example_sink to Python HOT 1
- Converting the C example sources to python3 HOT 1
- Use shellcheck to verify shell scripts? HOT 2
- [contributhon][team-2] example with multiple camera/sensor inputs on Raspberry Pi HOT 5
- [Contributhon] updating available languages in "example_text_classification" HOT 3
- Move example Wiki to the source tree HOT 2
- [PPA] arm64 build failure HOT 16
- [tizen_iot_text_classification] libnnstreamer_protobuf.so: cannot open shared object file: No such file or directory. HOT 9
- tensor_filter_subplugin example is not registered correctly HOT 2
- initiate android service application HOT 3
- New nnstreamer-examples are not included after build HOT 2
- Need example for depth HOT 3
- PLEASE WRITE ISSUES AT github.com/nnstreamer/nnstreamer HOT 1
- [tflite2] example of object detection with quantized SSD model. HOT 4
- (gst-launch-1.0:31): GStreamer-CRITICAL **: 05:24:58.650: gst_mini_object_unref: assertion 'mini_object != NULL' failed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nnstreamer-example.