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

Command-line interface (CLI) #63

Open
jrsnen opened this issue Jul 23, 2021 · 4 comments
Open

Command-line interface (CLI) #63

jrsnen opened this issue Jul 23, 2021 · 4 comments
Labels

Comments

@jrsnen
Copy link
Member

jrsnen commented Jul 23, 2021

There has been talk that this could be a useful feature for uvgRTP. Command-line interface would mean that outside programs could call uvgrtp from the command line and perform RTP operations that way without having to create and compile a separate application.

Something like this:

uvgrtp --input cin --format hevc --destination 127.0.0.1:10000 --source 127.0.0.1:9000
or
uvgrtp --input file.hevc --destination 127.0.0.1:10000 --source 127.0.0.1:9000

Outside contribution are welcome.

@jrsnen jrsnen added the feature New feature label Jul 23, 2021
@jrsnen jrsnen added this to the Release 3.0 milestone Jul 23, 2021
@jrsnen jrsnen changed the title CLI Command-line interface (CLI) Aug 27, 2021
@jrsnen jrsnen removed this from the Release 3.0 milestone Sep 22, 2021
@jrsnen
Copy link
Member Author

jrsnen commented Oct 16, 2021

Worth checking out: https://github.com/empirical-soft/command-interface

@db-tech
Copy link

db-tech commented Oct 19, 2021

Not sure for what purpose you really want to add this but this pattern most of the time just makes code harder to maintain.

@jrsnen
Copy link
Member Author

jrsnen commented Oct 20, 2021

Here I was talking about creating a separate executable that can be run from the command line using command line parameters. Something like this:

uvgrtp --input cin --format hevc --destination 127.0.0.1:10000 --source 127.0.0.1:9000
or
uvgrtp --input file.hevc --destination 127.0.0.1:10000 --source 127.0.0.1:9000

In essence, this would enable using uvgRTP in simple situations without having to create a separate program. This would be really cool with our hevc encoder (which already has a command line interface), so one could take raw input and pipe it to kvazaar and then uvgRTP and the receiving uvgRTP would save it to a file on another computer! (I will update the description)

This feature would not affect the existing code much, but would be an addition to it.

That link was just something I found on HN, not sure if it is relevant or not.

@db-tech
Copy link

db-tech commented Oct 20, 2021

Ah k, then I misunderstood your intention.. yeah, would be a nice thing to have...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants