Dear support team,
We wanted to stream a video to the server using FFMPEG command
-
We could able to stream saved video from the sdcard to the server using ffmpeg command.
-
When we are trying to stream live video to the server through ffmpeg command, we are getting issues.
Command:-
-re -rtsp_transport tcp -t 60 -i /dev/video0 -c copy -f rtsp -rtsp_transport tcp rtsp://
Error messages:-
[video4linux2,v4l2 @ 0xb8df2d80]
cannot open video device /dev/video0: Device or resource busy
type=1400 audit(0.0:171): avc: denied { open } for path="/dev/video0" dev=“tmpfs” ino=1304 scontext=u:r:system_app:s0 tcontext=u:object_r:video_device:s0 tclass=chr_file permissive=1
/dev/video0: Device or resource busy
-
We are not able to access the camera using ffmpeg command.
-
Please let us know how to access camera for streaming live video using ffmpeg command. Do we need to assign camera device to any other path. If yes please help us in which file we need to change the path.
Thanks and Regards,
Thippeswamy H U