Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
401 Discussions

Gstreamer ingestor loop config error

Lucho
New Contributor I
873 Views

Hi,

 

working with EII 3.0.

 

Running Video Ingestion container with gstreamer stops execution after one loop.

 

Configuration:

"/VideoIngestion/config": {
    "cert_type": [
      "zmq"
    ],
    "encoding": {
      "level": 95,
      "type": "jpeg"
    },
    "ingestor": {
      "loop_video": true,
      "pipeline": "multifilesrc location=./test_videos/pcb_d2000.avi loop=TRUE ! decodebin ! videoconvert ! video/x-raw,format=BGR ! appsink",
      "poll_interval": 0.2,
      "queue_size": 10,
      "type": "gstreamer"
    },
    "max_workers": 4,
    "sw_trigger": {
      "init_state": "running"
    },
    "udfs": [
      {
        "n_left_px": 1000,
        "n_right_px": 1000,
        "n_total_px": 300000,
        "name": "pcb.pcb_filter",
        "scale_ratio": 4,
        "training_mode": "false",
        "type": "python"
      }
    ]
  },

 

This issue is related with this one.

 

Error:

Lucho_0-1660070750374.png

 

Ingestor configs are the only modifications to default EII 3.0 installation.

 

Any help will be aprecciated.

 

Regards,

 

Luciano

Labels (1)
0 Kudos
1 Solution
JesusE_Intel
Moderator
849 Views

Hi Luciano,


Could you try to configure the Video Ingestor as follows in the VideoIngestor/config.json file and see if the video loops?


{

 "type": "gstreamer",

 "pipeline": "multifilesrc loop=TRUE stop-index=0 location=./test_videos/pcb_d2000.avi ! h264parse ! decodebin ! videoconvert ! video/x-raw,format=BGR ! appsink"

}


Regards,

Jesus


View solution in original post

3 Replies
JesusE_Intel
Moderator
850 Views

Hi Luciano,


Could you try to configure the Video Ingestor as follows in the VideoIngestor/config.json file and see if the video loops?


{

 "type": "gstreamer",

 "pipeline": "multifilesrc loop=TRUE stop-index=0 location=./test_videos/pcb_d2000.avi ! h264parse ! decodebin ! videoconvert ! video/x-raw,format=BGR ! appsink"

}


Regards,

Jesus


Lucho
New Contributor I
824 Views

Thanks @JesusE_Intel . It works.

 

Regards,

 

Luciano

0 Kudos
JesusE_Intel
Moderator
817 Views

Great! If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply