Part Number:AM5708
Tool/software: Linux
Dear All,
I am trying to below command to save the encoded video of vivid but got an error as below.
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480' ! queue ! vpe num-input-buffers=8 ! 'video/x-raw,format=(string)NV12,width=1280,height=720' ! ducatih264enc ! queue ! h264parse ! qtmux ! filesink location=test.mov
Setting pipeline to PAUSED ...
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0: Could not initialize supporting library.
Additional debug info:
../../../../gst-plugins-base-1.8.3/gst-libs/gst/video/gstvideoencoder.c(1541): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0:
Failed to start encoder
../git/libdce.c:416: dce_ipc_init ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479: Engine_open ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Setting pipeline to NULL ...
Freeing pipeline ...
I tested below command and it's working fine.
root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480' ! queue ! vpe num-input-buffers=8 ! kmssink
Setting pipeline to PAUSED ...
A pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:24.999316471
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Please help me to solve this issue as soon as possible because I am stuck due to this issue.