- 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
ffmpeg
torelease
dir -
Extract
rtsp-simple-server
andrtsp-simple-server.yml
torelease
dir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.15/linux_01.04.00.15.zip
Extract
libBambuSource.so
torelease
dir -
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.sh
mkdir 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
Modify
P1PIP
andP1PACCESSCODE
instart_rtsp_feed_p1p.sh
to the exact valuecd release-dir cp BambuNetworkEngine.conf . ./start_rtsp_feed_p1p.sh
Modify
P1PIP
andP1PACCESSCODE
instart_rtsp_feed_docker_p1p.sh
to the exact valueModify the entry of
Dockerfile
to/bambu-bin/start_rtsp_feed_docker_p1p.sh
mkdir 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.exe
torelease
dir -
Extract
rtsp-simple-server.exe
andrtsp-simple-server.yml
torelease
dir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.16/win_01.04.00.16.zip
Extract
BambuSource.dll
torelease
dir -
Get dev id and access code of the machine
bambusource2raw.exe list_dev -u <account_name> -p <password> -r <region: us cn>
-
Generate
BambuNetworkEngine.conf
bambusource2raw.exe gen_cfg -u <account_name> -p <password> -r <region: us cn> -d <dev_id>
-
Put
BambuNetworkEngine.conf
in the same folder withbambusource2raw.exe
-
Start
start
start_rtsp_feed.bat
Modify
P1PIP
andP1PACCESSCODE
instart_rtsp_feed_p1p.bat
to 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.exe
towin-build/amd64
dir -
Extract
rtsp-simple-server.exe
andrtsp-simple-server.yml
towin-build/amd64
dir -
Download https://public-cdn.bambulab.cn/upgrade/studio/plugins/01.04.00.16/win_01.04.00.16.zip
Extract
BambuSource.dll
towin-build/amd64
dir -
Copy
start_rtsp_feed.bat
towin-build/amd64
dir
If bambusource2raw fails when starting stream, try to generate a new BambuNetworkEngine.conf
.