server
server copied to clipboard
Multiple stream handling
Continuing of #812.
The current behavior is:
- If filter audio input == 1
- merge all audio streams into a single multi channel stream
- If filter video input == 1
- sort video streams by resolution
- if video streams count >= 2 and top 2 streams have same resolution
- alphamerge
This will NOT work 100% of the case, e.g. what if we have multiple quality audio streams etc...
Please help me figure out the edge cases and possible solutions.