Ошибка Gstream holaduo-pc VCEB
Evenly7
Пункты: 587
Регистрация: 25.12.2016
HolaDuo-PC + VCEB
Камера на dev/video0
Собрали по мануалам buildroot в соседней теме
При старте скриптов из /root/
Конкретно
cv4.sh
vcv4.sh
rtsp4.sh
Вываливается ошибка.
# let W=$(fbset | grep geometry | awk '{ print $2 }')/2
# let H=$(fbset | grep geometry | awk '{ print $3 }')/2
# gst-launch-1.0 imxv4l2videosrc device=/dev/video0 queue-size=16 ! tee name=t ! queue2 ! i
mxg2dvideosink force-aspect-ratio=0 window-x-coord=0 window-y-coord=0 window-width=$W windo
w-height=$H t. ! queue2 ! imxipuvideotransform ! queue2 ! imxvpuenc_h264 bitrate=2000 ! que
ue2 ! h264parse ! matroskamux ! filesink location=cv0.mkv
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[INFO] ringBufferEnable 0, chromaInterleave 1, mapType 0, linear2TiledEnable 1
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2VideoSrc:imxv4l2videosrc0:
streaming task paused, reason error (-5)
Execution ended after 0:00:10.102968001
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
sasamy
Пункты: 83552
Регистрация: 14.08.2009
Цитата
При старте скриптов из /root/
Конкретно
cv4.sh
vcv4.sh
rtsp4.sh
Вываливается ошибка.
Это примеры для 4 каналов (tw6869) вам надо переделать их на 1 канал для VCEB. Проверить работоспособность VCEB можно
./v1.sh 0
Evenly7
Пункты: 587
Регистрация: 25.12.2016
Не получилось сделать все по азам.
Скачал я вот это и в архиве там есть rootfs уже подготовленный.
При запуске скрипта videoadc_plug_Stream
падает ошибка
Код
# ./videoadc_plug_stream
(gst-plugin-scanner:244): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg4aspdec.so': lib_MPEG4ASP_dec_arm11_elinux.so.1: cannot open shared object file: No such file or directory
MAX resolution 1920x1080
(gst-plugin-scanner:244): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg2dec.so': lib_mpeg2_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory
(gst-plugin-scanner:244): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_h264dec.so': lib_H264_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory
MFW_GST_tvsrc_PLUGIN 3.0.9 build on May 8 2015 13:02:06.
MFW_GST_V4LSINK_PLUGIN 3.0.9 build on May 8 2015 13:01:38.
Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX6Q/D/S
vpuenc versions :)
plugin: 3.0.9
wrapper: 1.0.40(VPUWRAPPER_ARM_LINUX Build on May 8 2015 12:57:40)
vpulib: 5.4.18
firmware: 2.3.10.40778
sensor chip is adv7180_decoder
should set the input to 1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/MFWGstTVSRC:mfwgsttvsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstTVSRC:mfwgsttvsrc0:
streaming task paused, reason error (-5)
Execution ended after 9996961667 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Total rendered:0
Freeing pipeline ...
[--->FINALIZE v4l_sink