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

BTW any advice to use dvb-ip-mpe2ts multiple time? #49

Open
picatchoof opened this issue Sep 12, 2022 · 4 comments
Open

BTW any advice to use dvb-ip-mpe2ts multiple time? #49

picatchoof opened this issue Sep 12, 2022 · 4 comments

Comments

@picatchoof
Copy link

Hello again.
Sorry if I bather you.
I'm not well skilled in development and Linux scripting.
I have one OUTPUT ts file either as fifo ts or even as nc output file.
This TS content has 10 or maybe more streams under DVB-MPE encapsulation.

I can easily extract one stream.

I need to apply the dvb-ip-mpe2ts 10 times on the source file in order to extract the 10 streams in it. And save them either as fifo or stream them over the LAN.

Any advice about the best approach (Piping, tee, source code customization....)

Best regards

@andimik
Copy link
Collaborator

andimik commented Sep 12, 2022

What about a shell script?

@picatchoof
Copy link
Author

Yes it may be a solution but what to put as list of CLI that includes dvb-ip-mpe2ts and his options.
The issue is that all the ten command must be run in order to do live streaming from the source to the other side.

Can you please give an idea about what can be the SH script file?

BR

@andimik
Copy link
Collaborator

andimik commented Sep 12, 2022

Have you tried to use all 10 commands line per line in the sh file?

@picatchoof
Copy link
Author

picatchoof commented Sep 12, 2022

Yes it can be a solution to put 10 lines dvb-ip-mpe2ts command lines.
But the issue is that.

  1. If the input of the first is the FIFO that comes from other application the other dvb-ip-mpe2ts won't be able to get information from the input since it will be emptied by the first line also the file will be locked by the first dvb-ip-mpe2ts.

  2. If the input comes from nc so the listening port will be locked by the first dvb-ip-mpe2ts and the others won't be able to use it.

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

2 participants