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
Multiple output muxers #109
Multiple output muxers #109
Conversation
…into lav_http_muxing
…s random segfaults
…into lav_http_muxing Conflicts: src/webui/lav_muxer.c
…d streaming, recording is temporarly broken.
|
Look, you ask the planet if your new design is good but did not take care to provide two real muxers, then you do not explain how the end user will be able to control what happens (and yes that's why I bring the GUI here) and furthermore give the impression, along all your comments that: So do not be surprised I do not applaud! BTW : On 6) you just pick up GUI but do not answer if your code actually does what you propose for having multiple muxers having the same containers. |
|
@EricV |
|
My pleasure :-) |
|
@EricV @john-tornblom before you two kill each other, I'm gonna wade in with my own thoughts. First a disclaimer, I AM NOT A STREAMING EXPERT (you should both already know that) so commenting on the detailed technical aspects is NOT by area (though I may stray and feel free to correct me if I do and am way of base).
Ok rant over. I'm sorry if I've glossed over, missed or duplicated some points. Hopefully I've covered most stuff though. I "think" we're all trying to reach the same end goal so let's try and work together on getting things right. If there really are serious concerns about the framework John is proposing then we do need to hear those now. Issues surrounding content/capabilities of the muxers and configuration options are valid topics but of lesser importance (other than to check/note what will be possible). Regards |
|
Do not worry I'm not even beginning to be upset ;-) When I'm upset I usually simply shut up to be sure to stay polite...
|
Adam |
|
|
........ |
…eadend into multiple_output_muxers
…, allow the source to free it
… files should end with mka, not mkv
|
this is now merged with upstream, closing |
I've been trying to figure out a way to allow the user to decide in what container the media is to be muxed into.
This PR represents a starting point of that, not be confused with a finished product intended for end users. The reason for me making a pull request is to reach out to developers and advanced users who might like to help me. There is no ETA what so ever, but the more YOU can help improving the code, the faster we can get a reliable solution into the main tree.
At this point, two muxers can be used. The built-in matroska muxer, or a simple pass-through muxer that will dump whatever container the source is in onto a file or a socket.
There is no need to point out the lack of pmt generation for the pass-through muxer, missing UI configuration or incorrect file suffixes. Although bug reports are useful, the main question here is if the approach I'm taking is a good one.
Bets way to test this is by http streaming:
mplayer "http://localhost:9981/stream/channel/ChannelName?mux=pass"
or
mplayer "http://localhost:9981/stream/channel/ChannelName?mux=matroska"
Changing the muxer for file recording should also work but require manual editing in the dvr profile config files or source editing.
And no, vlc nor any other pmt dependent media player works with mpegts pass-through at this point.