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

Support reading/writing WAV file from stdin #684

Open
gavv opened this issue Jan 30, 2024 · 0 comments
Open

Support reading/writing WAV file from stdin #684

gavv opened this issue Jan 30, 2024 · 0 comments
Labels
easy hacks The solution is expected to be straightforward even if you are new to the project enhancement help wanted An important and awaited task but we have no human resources for it yet sound io Audio I/O

Comments

@gavv
Copy link
Member

gavv commented Jan 30, 2024

This is a small follow-up issue for #576.

In roc-recv and roc-send, we have special syntax -o file:- and -i file:- which means read or write from/to stdin. See details here and here.

This feature is supported by sox backend, but wav sink and wav source are missing support.

Testing:

roc-send -vv -s rtp+rs8m://localhost:10001 -r rs8m://localhost:10002 -c rtcp://localhost:10003 \
    -i file:- --input-format wav < input.wav
roc-recv -vv -s rtp+rs8m://localhost:10001 -r rs8m://localhost:10002 -c rtcp://localhost:10003 \
    -o file:- --output-format wav > output.wav
@gavv gavv added enhancement help wanted An important and awaited task but we have no human resources for it yet easy hacks The solution is expected to be straightforward even if you are new to the project sound io Audio I/O labels Jan 30, 2024
@gavv gavv changed the title Support reading/write WAV file from stdin Support reading/writing WAV file from stdin Jan 30, 2024
@gavv gavv added this to Roc Toolkit Jul 6, 2024
@gavv gavv moved this to Help wanted in Roc Toolkit Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy hacks The solution is expected to be straightforward even if you are new to the project enhancement help wanted An important and awaited task but we have no human resources for it yet sound io Audio I/O
Projects
Status: Help wanted
Development

No branches or pull requests

1 participant