- Download release archive of this project or just compile your own.
-
apt-get install -y libcurl4 -
Download https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
Extract
ffmpegtoreleasedir -
Extract
rtsp-simple-serverandrtsp-simple-server.ymltoreleasedir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.15/linux_01.04.00.15.zip
Extract
libBambuSource.sotoreleasedir -
Get dev id and access code of the machine
./bambusource2raw list_dev -u <account_name> -p <password> -r <region: us cn> -
Generate
BambuNetworkEngine.conf./bambusource2raw gen_cfg -u <account_name> -p <password> -r <region: us cn> -d <dev_id> -
Start
cd release-dir cp BambuNetworkEngine.conf . ./start_rtsp_feed.shmkdir bambu_cfg cp -f BambuNetworkEngine.conf bambu_cfg cd release-dir docker build -t bblrtsp:v1 . docker run --name BambuRTSP-1 -p 8554:8554 -v <FULL_PATH_OF_bambu_cfg_DIR>:/bambu-bin/cfg -d bblrtsp:v1Modify
P1PIPandP1PACCESSCODEinstart_rtsp_feed_p1p.shto the exact valuecd release-dir cp BambuNetworkEngine.conf . ./start_rtsp_feed_p1p.shModify
P1PIPandP1PACCESSCODEinstart_rtsp_feed_docker_p1p.shto the exact valueModify the entry of
Dockerfileto/bambu-bin/start_rtsp_feed_docker_p1p.shmkdir bambu_cfg cp -f BambuNetworkEngine.conf bambu_cfg cd release-dir docker build -t bblrtsp:v1 . docker run --name BambuRTSP-1 -p 8554:8554 -v <FULL_PATH_OF_bambu_cfg_DIR>:/bambu-bin/cfg -d bblrtsp:v1
-
Download https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
Extract
bin\ffmpeg.exetoreleasedir -
Extract
rtsp-simple-server.exeandrtsp-simple-server.ymltoreleasedir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.16/win_01.04.00.16.zip
Extract
BambuSource.dlltoreleasedir -
Get dev id and access code of the machine
bambusource2raw.exe list_dev -u <account_name> -p <password> -r <region: us cn> -
Generate
BambuNetworkEngine.confbambusource2raw.exe gen_cfg -u <account_name> -p <password> -r <region: us cn> -d <dev_id> -
Put
BambuNetworkEngine.confin the same folder withbambusource2raw.exe -
Start
start
start_rtsp_feed.batModify
P1PIPandP1PACCESSCODEinstart_rtsp_feed_p1p.batto the exact valuestart
start_rtsp_feed_p1p.bat
Use VLC or something else to view the live stream: rtsp://127.0.0.1:8554/bbl or rtsp://[ip of pc]:8554/bbl
apt-get install -y unzip libcurl4 libcurl4-openssl-dev
cd BambuSource2Raw
make -f Makefile.linux
-
Download and Install Windows Driver Kit Version 7.1.0 from https://www.microsoft.com/en-us/download/details.aspx?id=11800
Open 'x64 Free Build Environment'
cd /d [Project Root Dir] build -
Download https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
Extract
bin\ffmpeg.exetowin-build/amd64dir -
Extract
rtsp-simple-server.exeandrtsp-simple-server.ymltowin-build/amd64dir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.16/win_01.04.00.16.zip
Extract
BambuSource.dlltowin-build/amd64dir -
Copy
start_rtsp_feed.battowin-build/amd64dir
If bambusource2raw fails when starting stream, try to generate a new BambuNetworkEngine.conf.