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

Multychanel audio maping #857

Open
kselltrum opened this issue Nov 30, 2024 · 4 comments
Open

Multychanel audio maping #857

kselltrum opened this issue Nov 30, 2024 · 4 comments

Comments

@kselltrum
Copy link

Good day.

I send to restremer strem (by rtmp) with 6 ch AAC audio. It includes 3 languages (3 stereo pair). Can i transcode this stream to 3 independent streams (and send to YouTUBE) with stereo and chanel maping (1,2 -> stream1 , 3,4 -> stream2, 5,6 -> stream3)

Thank you for the answer

@kselltrum
Copy link
Author

I can to do this with ffmpeg
ffmpeg -i rtmp://srv/stream -map 0:v -c:v copy -filter_complex "pan=stereo|c0=c0|c1=c1" -c:a aac -ac 2 /Users/user1/Desktop/lang1.mp4
ffmpeg -i rtmp://srv/stream -map 0:v -c:v copy -filter_complex "pan=stereo|c0=c2|c1=c3" -c:a aac -ac 2 /Users/user1/Desktop/lang2.mp4

But I don't know how to add custom ffmpeg options to restreamer?

@ioppermann
Copy link
Member

Currently it's not possible to add custom ffmpeg options to Restreamer.

@kselltrum
Copy link
Author

Is it planned to add this option in the future?

@ioppermann
Copy link
Member

This feature is already on the feature request list because of issue #551

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

No branches or pull requests

2 participants