1, the project needs to use FFmpeg push rtmp stream to Crtmpserver, and then live./usr/bin/ffmpeg-re-loop 1-i tmp/234.jpg-r 10-f flv rtmp://127.0.0.1:8085/live/phone-2342, download Crtmpserver source code, official website (http://www.rtmpd.com/) often not go, to GitHub downloadHttps://github.com/j0sh/crtmpserver3, need to install CMake and then compile.Yum Insta
://master:9000/testfile/","Spark", text,intwritable);System. out. println(wordcounts. Count());Jssc. Start(); System. out. println(wordcounts. Count());//Start the computationJssc. Awaittermination(); Wait for the computation to terminate}}So there is the port has been monitoring your directory, as long as it has a file generation, it will immediately read the contents of it, you can run the program, and then manually add a file to the first directory, you can see the outputCode word is not easy
Previous open-Source Videocore improvements: 1) added a beauty filter; 2) added the librtmp to replace the original too simple rtmpclient;Later listen to friends said, in Videocore above OpenGL modification, add new filter More trouble, iOS filter best to calculate gpuimage.I decided to the multi-filter open-source gpuimage to achieve the rtmp live streaming push;Implementation of the scenario:1,gpuimagemoviewriter the output of the RGBA video data.By
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.