Jump to content

I was following this tutorial on how to livestream video from pi and i got stuck at this part: http://gyazo.com/705640ee1a277e84b7a7d532e67adcbdthe tutorial is: http://blog.miguelgrinberg.com/post/stream-video-from-the-raspberry-pi-camera-to-web-browsers-even-on-ios-and-android and i was using the updated version of how to build and run mjpg streamer here: http://blog.miguelgrinberg.com/post/how-to-build-and-run-mjpg-streamer-on-the-raspberry-pi\\

 

it seems to have a problem with replacing the other file

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
https://linustechtips.com/topic/324497-raspberry-pi-b-streaming-video-error/
Share on other sites

Link to post
Share on other sites

Symbolic links aren't used to replace files, it's used to create a link, a sort of "shortcut". You're not able to create this shortcut because there is already a file with that name in the folder that you want to create the link. If you type cd /usr/inlcude/linux/ and then ls you'll most likely see that videodev.h already exists, I'm not sure how the thing you're trying to do works exactly but you could change the name of the file and then create the link. 

CPU I7 - 4720HQ RAM 2 x 8GB • GPU Nvidia GTX 850M Storage 250GB 850 EVO - 1TB Seagate Hybrid
Keyboard CM Storm QuickFire Rapid-I (MX brown) & Pok3r (MX clear) • Mouse Logitech G502 • Sound Audio-Technica ATH-M50X • OS Windows 10 Pro - Linux Arch 
Storage Asustor AS7004T

Link to post
Share on other sites

Symbolic links aren't used to replace files, it's used to create a link, a sort of "shortcut". You're not able to create this shortcut because there is already a file with that name in the folder that you want to create the link. If you type cd /usr/inlcude/linux/ and then ls you'll most likely see that videodev.h already exists. 

oh... thanks! :D so what was the tutorial telling me?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to post
Share on other sites

Symbolic links aren't used to replace files, it's used to create a link, a sort of "shortcut". You're not able to create this shortcut because there is already a file with that name in the folder that you want to create the link. If you type cd /usr/inlcude/linux/ and then ls you'll most likely see that videodev.h already exists. 

one more question: will this take a picture and SAVE it??? i dont want it to save ):

 

at the setting up JPG stream: http://blog.miguelgrinberg.com/post/stream-video-from-the-raspberry-pi-camera-to-web-browsers-even-on-ios-and-android

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to post
Share on other sites

one more question: will this take a picture and SAVE it??? i dont want it to save ):

 

at the setting up JPG stream: http://blog.miguelgrinberg.com/post/stream-video-from-the-raspberry-pi-camera-to-web-browsers-even-on-ios-and-android

nvm i just read that it overwrites the same file.

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to post
Share on other sites

oh... thanks! :D so what was the tutorial telling me?

the ln -s command should have the source first and then the target but there was already a file with that name on the target path, that's why it failed. Maybe the software updated which made that step obsolete . 

CPU I7 - 4720HQ RAM 2 x 8GB • GPU Nvidia GTX 850M Storage 250GB 850 EVO - 1TB Seagate Hybrid
Keyboard CM Storm QuickFire Rapid-I (MX brown) & Pok3r (MX clear) • Mouse Logitech G502 • Sound Audio-Technica ATH-M50X • OS Windows 10 Pro - Linux Arch 
Storage Asustor AS7004T

Link to post
Share on other sites

the ln -s command should have the source first and then the target but there was already a file with that name on the target path, that's why it failed. Maybe the software updated which made that step obsolete . 

well i just ran into another problem... It wont stream onto my local network. it says that it cannot find the ./mjpg_streamer folder when i try to type LD_LIBRARY_PATH=./ ./mjpg_streamer -i "input_file.so -f /tmp/stream -n pic.jpg" -o "output_http.so -w ./www" after typing mkdir /tmp/stream

 

$ raspistill -w 640 -h 480 -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 &

 

any suggestions on what the problem might be?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×