You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am bringing up the device-usb-camera service on the EdgeX, pretty much using https://github.com/edgexfoundry/device-usb-camera/blob/main/docs/guides/SimpleStartupGuide.md
but just that I am not using the docker here for EDGEX, I have it
running in my local machine. All goes well and I am able to detect the
Integrated camera and I am able to fetch all the camera information and
metadata.
Once the device usb camera service is up, I give the curl command:
error writing DeviceResourece StartStreaming for Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera -\\u003e the video streaming process for device Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera has stopped, error: Failed Finish FFMPEG ([-nostats -loglevel 0 -y -r 30 -s 640x360 -input_format yuyv422 -i /dev/video0 -qscale 5 -vcodec h264 -f rtsp -hls_list_size 0 rtsp://localhost:8554/stream/Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera]) with exit status 1 message
I am however able to independently stream the camera input to an rtsp server using the command:
ffmpeg -f v4l2 -input_format yuyv422 -framerate 30 -video_size 640x360 -i /dev/video0 -c:v libx264 -vf format=yuv420p -f rtsp rtsp://localhost:8554/live.stream
Failed Finish in FFMPEG is indicative of what error in transcoder? I tried with different input and output formats too. Any help is greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I am bringing up the device-usb-camera service on the EdgeX, pretty much using https://github.com/edgexfoundry/device-usb-camera/blob/main/docs/guides/SimpleStartupGuide.md
but just that I am not using the docker here for EDGEX, I have it
running in my local machine. All goes well and I am able to detect the
Integrated camera and I am able to fetch all the camera information and
metadata.
Once the device usb camera service is up, I give the curl command:
curl -X PUT -d '{ "StartStreaming": { "InputPixelFormat": "yuyv422", "InputFps": "30", "InputImageSize": "640x360", "OutputVideoQuality": "5", "OutputVideoCodec": "h264" } }' http://localhost:59882/api/v2/device/name/Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera/StartStreamingI however get the error
error writing DeviceResourece StartStreaming for Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera -\\u003e the video streaming process for device Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera has stopped, error: Failed Finish FFMPEG ([-nostats -loglevel 0 -y -r 30 -s 640x360 -input_format yuyv422 -i /dev/video0 -qscale 5 -vcodec h264 -f rtsp -hls_list_size 0 rtsp://localhost:8554/stream/Integrated_Camera_Integrated_C-SunplusIT_Inc_Integrated_Camera]) with exit status 1 messageI am however able to independently stream the camera input to an rtsp server using the command:
ffmpeg -f v4l2 -input_format yuyv422 -framerate 30 -video_size 640x360 -i /dev/video0 -c:v libx264 -vf format=yuv420p -f rtsp rtsp://localhost:8554/live.streamFailed Finish in FFMPEG is indicative of what error in transcoder? I tried with different input and output formats too. Any help is greatly appreciated.
Many Thanks in advance,
Soumya
Beta Was this translation helpful? Give feedback.
All reactions