We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2020-03-25 19:42:09 +0200 |
I'm trying to get a video stream from the camera of my Xperia 10 using gstreamer.
Reading the video/x-raw
source of the droidcamsrc
element works fine:
gst-launch-1.0 -v droidcamsrc mode=2 ! video/x-raw ! fakesink
However, reading the video/x-h264
or video/mpeg
sources using
gst-launch-1.0 -v droidcamsrc mode=2 ! video/mpeg ! fakesink
throws an error
ERROR: from element /GstPipeline:pipeline0/GstDroidCamSrc:droidcamsrc0: Internal data stream error.
Additional debug info:
gstdroidcamsrc.c(1231): gst_droidcamsrc_loop (): /GstPipeline:pipeline0/GstDroidCamSrc:droidcamsrc0:
stream stopped, reason not-linked
This is my first time using gstreamer. What am I doing wrong?
2 | retagged |
I'm trying to get a video stream from the camera of my Xperia 10 using gstreamer.
Reading the video/x-raw
source of the droidcamsrc
element works fine:
gst-launch-1.0 -v droidcamsrc mode=2 ! video/x-raw ! fakesink
However, reading the video/x-h264
or video/mpeg
sources using
gst-launch-1.0 -v droidcamsrc mode=2 ! video/mpeg ! fakesink
throws an error
ERROR: from element /GstPipeline:pipeline0/GstDroidCamSrc:droidcamsrc0: Internal data stream error.
Additional debug info:
gstdroidcamsrc.c(1231): gst_droidcamsrc_loop (): /GstPipeline:pipeline0/GstDroidCamSrc:droidcamsrc0:
stream stopped, reason not-linked
This is my first time using gstreamer. What am I doing wrong?