[Bug]: streaming from another device
Describe the bug
if im in botwave mode i cant type ffmpeg command bu if im not in botwave mode i can type ffmpeg but i cant transmit
To Reproduce
No response
OS
Raspberry Pi OS Lite X64
Version
idk
Machine (Hardware)
rpi4
Additional context
No response
Are you following a specific tutorial ? Some commands are inteded to run on a regular shell and others on a BotWave one. If you'd wish to run a regular shell command into a BotWave one you can prepend a < to it, like this : < ffmpeg --version, but it isnt recommanded for blocking processes. Could you maybe give more details about what you're doing ?
im trying to stream from windows and im following the github tutorial
Oh, this one right ? https://github.com/dpipstudio/botwave/wiki/Live-broadcasting
For this one you'd need two shells: one with botwave, and one without. The commands in BotWave shells are shown with
botwave> [command here]
The ones that don't have botwave> are supposed to be ran into a regular shell :)
after i run the ffmpeg command i cant go into botwave shell
Yea it's a blocking command. If you're using SSH, just open a new ssh session. If you're directly on your raspberry pi, you can switch terminals (ttys) using Alt + F1,2,3,etc
now it works but the stream is delayed
Yup, that's sadly not a BotWave issue, but more of a network one. The data has to travel all over your wifi to go back to the pi, which can result in a ~5s lag :/
on ethernet?
It should be faster, but a "real time" transmission is still not possible, since there also is audio in incoding/decoding. I think that the fastest way would be using a pi zero gadget mode to transmit audio, but it's pretty hard to achieve.
It was not really meant to be a real time transmission but more of a easy way to control the broadcast on another device
also i have an antenna from a baofeng walkie talki would it be better than a wire
It would work, but don't try to go too overkill, after a certain point the pi is not powerful enough to "use" the full antenna and you'll just lose signal strenght
its small 11 cm i think
Oh, I fear that it isn't long enough. The formula is length_meters = 75/freq_mhz so the ideal length for 90MHz should be about 85cm
1 meter?
it should be fine
for all frequencies?
Yup