Go to advanced search

by robyncatterall
Fri Feb 19, 2016 10:48 am
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Re: Running RPi Streaming command in Java

Replce String command = "raspivid -o - -t 0 | cvlc -v stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264"; with String[] command = { "/bin/sh", "-c", "raspivid -o - -t 0 | cvlc -v stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264" }; This...
by robyncatterall
Tue Feb 09, 2016 11:35 am
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Re: Running RPi Streaming command in Java

Thank you very much, that worked.

Although the recording and streaming freezes after a few minutes.
by robyncatterall
Mon Feb 08, 2016 3:31 pm
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Re: Running RPi Streaming command in Java

This is the code I used, and I get the error "Invalid command line option (|)" with process exit value of 64 try{ String command = "raspivid -o - -t 0 | cvlc -v stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264"; Runtime rt = Runtime.getRuntime(); Process proc = rt.exe...
by robyncatterall
Mon Feb 01, 2016 10:42 am
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Re: Running RPi Streaming command in Java

Thanks for the advice, The process doesn't even start, no recording begins using this command in the java file. I have tried using File.separator for the forward slashes but results are the same. I created a script file that contains the raspivid command and I simply start the script file on the jav...
by robyncatterall
Mon Jan 25, 2016 12:32 pm
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Re: Running RPi Streaming command in Java

I don't think the slashes are the problem, post the actual error message please. In the java code the second half of the command looks commented out, however here is the code and the error I receive. Runtime rt = Runtime.getRuntime(); proc = rt.exec("raspivid -o - -t 0 | cvlc -v stream:///dev/stdin...
by robyncatterall
Mon Jan 18, 2016 4:16 pm
Forum: Troubleshooting
Topic: Running RPi Streaming command in Java
Replies: 9
Views: 1747

Running RPi Streaming command in Java

Hello, I am creating an application that will allow me to start streaming from a Java file, I have the following line of code in a Java file on the Pi: Runtime.getRuntime().exec("raspivid -o - -t 0 | cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dts=:8090' :demux=h264"); Because...
by robyncatterall
Thu Dec 10, 2015 11:33 am
Forum: Other programming languages
Topic: HTML Video Streaming
Replies: 1
Views: 2327

HTML Video Streaming

Hello, I have been using raspivid and cvlc to stream video to a html web page. However, the NPAPI plugin has been removed from Chrome, which also means my android studio project will not load the vlc plugin in a web view. Currently on the RPi I use the command: raspivid -o - -t 99999999999 -w 800 -h...
by robyncatterall
Wed Sep 09, 2015 10:39 am
Forum: Troubleshooting
Topic: Bluetooth Network Access Point
Replies: 0
Views: 371

Bluetooth Network Access Point

Hello, I am trying to set up my smart phone as a network access point in bluetooth manager. The device is in the bluetooth manager and I am able to send file to and from the the RPi and my smart phone. In Bluetooth Manager I right click on my smart phone device and click Network Access Point and get...

Go to advanced search