The python file needs to be moved into the same folder that you have your ffmpeg.exe. You also need to change LINE 9 in the code to contain your RTMP key.
Example: what is currently on line 9 RTMPKEY ='put you key in these quotes'
What you need to change it to RTMPKEY ='xxxxxxxxxx-xxxxxxxxx-xxxxxxx'
Once you do that you can just run the code and not have to change anything afterwards.
You also need to install the python module ffmpy. You can do this by typing in pip install ffmpy into you command console. --if pip isn't a recognized command you can goto C:/Python27/Scripts/ to run pip in its home directory.
This script is designed to restart when you lose connection. So if the paylaod hits an jetstream your dish can track back to it and pick back up the video stream.
I will update this code where needed. Make sure to read the README.md on the github site
I went through the updating process for the video payload, (flashing the SD card, updating the firmware on the modems, and updating the modem settings) and continued to try and get the streaming to work. I have followed the steps above to start streaming and cannot get it to work. I made sure my modems are connected and that I have the correct RTMP key. I was able to access the files through bitvise, everything has worked smoothly until now.
Streaming is supposed to start if I run the ffmpeg.exe correct? When I try this nothing happens. I can't even get it to display in VLC.
I have a similar question. After doing all updates, the video will not work using the new python code but it does still work using the old copy/paste code. When I type "python ffmpy_stream.py" into command prompt, it responds with this:
Hey, I ran into the same issue again when trying to use a different laptop. This time what fixed it was creating the ad hoc network and static ip as instructed in the original video streaming document. So try checking your connection to the pi. Hope that helps...