Closed martialgallorini closed 10 years ago
example. I launch this command line :
sudo ./bmd-streamer -k 10000 -P main | avconv -re -i - -vcodec copy -acodec copy -f mpegts udp://239.255.1.1:1234
stream is ok.
when i use the argument "-K 10000" instead of "-k 10000" i get the error :
"H56 Error. Restarting device."
Yes, the encoder chip is sensitive to the initialization. I have no datasheet for it, so I cannot write proper parameter validation. Not sure how this could improved.
so the switch -k (average bitrate) doesn't work ?
It works. But I suspect -K needs to match it (be same or larger). I could add that as a parameter validation.
i am not sure to understand. you suggest to use -k 10000 -K 10000 at the same time ?
Yes, or with some higher -K value.
ok works nice. thanks
I compiled bmd-tools under Debian Jessie 64 bits. when i first launch bmd-streamer it seems ok. But when i stop it and launch again it can be a pain to make it work again. Seem to launch but nothing happens. I often have to unplug from USB and power supply to make it work again... like there were some memory effect or cache.