M Michael1968 Active Member Licensed User Longtime User Nov 26, 2014 #1 Hello, I want to control my Raspberry Pi Camera with jshell. when i use raspistill with this command: shl.Initialize("shl","raspistill",Array As String( "-w","640","-h","480","-o","test.jpg")) ...it works fine. if i want to control raspimjpeg, i have to write to the pipe like this: (shell: echo "ca 1" > /path/to/pipe) pls see: https://github.com/silvanmelchior/u...ions/linux/apps/raspicam/README_RaspiMJPEG.md can someone help me pls. thx Michael
Hello, I want to control my Raspberry Pi Camera with jshell. when i use raspistill with this command: shl.Initialize("shl","raspistill",Array As String( "-w","640","-h","480","-o","test.jpg")) ...it works fine. if i want to control raspimjpeg, i have to write to the pipe like this: (shell: echo "ca 1" > /path/to/pipe) pls see: https://github.com/silvanmelchior/u...ions/linux/apps/raspicam/README_RaspiMJPEG.md can someone help me pls. thx Michael
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2014 #2 Example usage as MJPEG-streamer with video capture and status-output: raspimjpeg -w 320 -h 180 -d 5 -of /path/to/image.jpg -cf /path/to/pipe -vf /path/to/video.h264 -sf /path/to/textfile.txt Click to expand... Can't you add the above parameters? Upvote 0
Example usage as MJPEG-streamer with video capture and status-output: raspimjpeg -w 320 -h 180 -d 5 -of /path/to/image.jpg -cf /path/to/pipe -vf /path/to/video.h264 -sf /path/to/textfile.txt Click to expand... Can't you add the above parameters?
M Michael1968 Active Member Licensed User Longtime User Nov 28, 2014 #3 Erel said: Can't you add the above parameters? Click to expand... Hi Erel, i found out that "raspimjpeg" do not work with the parameters, it only works with a config file.(bug) when raspimjpeg is running, i could control it with the shell command : echo "ca 1" > /home/pi/FIFO in a Terminal session. with b4J: B4X: shl.Initialize("shl","echo",Array As String( "'ca 1'>/home/pi/FIFO")) nothing happens. best regards Michael Upvote 0
Erel said: Can't you add the above parameters? Click to expand... Hi Erel, i found out that "raspimjpeg" do not work with the parameters, it only works with a config file.(bug) when raspimjpeg is running, i could control it with the shell command : echo "ca 1" > /home/pi/FIFO in a Terminal session. with b4J: B4X: shl.Initialize("shl","echo",Array As String( "'ca 1'>/home/pi/FIFO")) nothing happens. best regards Michael
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2014 #4 You cannot send inputs to the running process after it was started. Upvote 0