I am using MJPG-streamer to stream the video from Raspberry PI. I am using PHP for the same. I complete code is running in PHP using Apache2 on default port 80. MJPG-streamer runs on port 8080. I am facing two issue
1.) If I put PHP code in /usr/local/www/, then http://localipaddess:8080/test.php tells 404: Not Found!
MIME-TYPE not known.
2.) if run mjpg_streamer -i "input_file.so -f /tmp/mjpg -n test.jpg" -o "output_http.so -w /usr/local/www 80, then streamig do not happen.
My requirement is to run PHP on 8080 or streaming on 80. i.e I want only one port either 8080 or 80 for both. Any help will great.
Regards
Cloudscope
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am using MJPG-streamer to stream the video from Raspberry PI. I am using PHP for the same. I complete code is running in PHP using Apache2 on default port 80. MJPG-streamer runs on port 8080. I am facing two issue
MIME-TYPE not known.
2.) if run mjpg_streamer -i "input_file.so -f /tmp/mjpg -n test.jpg" -o "output_http.so -w /usr/local/www 80, then streamig do not happen.
My requirement is to run PHP on 8080 or streaming on 80. i.e I want only one port either 8080 or 80 for both. Any help will great.
Regards
Cloudscope
Hi,
I have checked your post detail and can help you
To discuss further email me deepvyas71@gmail.com
Share your server details
Best Regards,
Deep
Hi,
I have gone through the details and can surely assist you with your requirement.
Sent you PM.
Regards,
AJ