Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only partially decoding from pipe, but completely from .raw file (reproducible) #197

Open
ivansieder opened this issue Aug 23, 2022 · 0 comments

Comments

@ivansieder
Copy link

@EliasOenal first of all: thank you a lot for multimon-ng!

I've got a strange behaviour where multimon-ng is only partially decoding when piping directly from rtl_fm but decoding completely when i store that file as a .raw file and feed it back into multimon-ng afterwards. To me it seems to be somehow related to buffering. I've tried the unix buffer program, but that only helps partially.

Commands used for piping and recording (outputs only 2 decoded lines):
rtl_fm -f xxxxx -M fm -s 22050 -g 35 -l 20 -F 9 -A std - | tee >(sox -t raw -b 16 -e signed-integer -r 22050 - -t raw -b 16 -e signed-integer -r 22050 out.raw) | multimon-ng -q -c -a POCSAG1200 -C DE -f alpha -t raw -e --timestamp -

Commands used for feeding the .raw file directly (outputs all 3 lines as expected):
multimon-ng -q -c -a POCSAG1200 -C DE -f alpha -t raw -e --timestamp out.raw

In between those two I've placed a tee command to pipe the output to a .raw file and then pass it on to multimon-ng without interfering.

I've got the .raw file so that it's reproducible, but would prefer not to share that here publicly. So if you would be able to look into this, feel free to write me at sorrels.skating0w@icloud.com (dynamic email from Apple, will be forwarded to mine afterwards)

@ivansieder ivansieder changed the title Only partially decoding from pipe Only partially decoding from pipe, but completely from .raw file (reproducible) Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant