This might be something simple for some folks but for newbie like myself, I couldn’t figure it out and wanted to ask for some help.
I am looking to run this command on boot -
gst-launch-1.0 aravissrc ! video/x-raw, format=RGB,width=640,height=480 ! videoconvert! video/x-raw,format=YUY2 ! videoconvert ! x264enc bframes=0 key-int-max=45 bitrate=512 tune=zerolatency ! h264parse ! video/x-h264,stream-format=avc,alignment=au,profile=baseline ! kvssink stream-name=" YOUR_STREAM_NAME" storage-size=512 access-key="YOUR_AWS_ID" secret-key="YOUR_AWS_SECRET_KEY: aws-region=" YOUR_AWS_REGION"
I added this command inside of a shell script and was trying to run the script using
/etc/rc.local but it hasn’t been working. I tried running the script itself, but I was getting
WARNING: erroneous pipeline: no element “aravissrc”
export environment variables, but still no luck. When I run that command on terminal, it works without any issue. Any thoughts on what I am missing?
Would appreciate any feedback!