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

Multiple audio tracks are lost #70

Closed
CaptaPraelium opened this issue Mar 1, 2018 · 7 comments
Closed

Multiple audio tracks are lost #70

CaptaPraelium opened this issue Mar 1, 2018 · 7 comments

Comments

@CaptaPraelium
Copy link

I record gameplay with separate audio tracks for game, chat, mic, music, etc. When I cut with losslesscut, only the first audio track is retained.

@mifi
Copy link
Owner

mifi commented Mar 5, 2018

If anyone can figure out how to do this with ffmpeg command line, i'd be happy to consider including it

@CaptaPraelium
Copy link
Author

CaptaPraelium commented Mar 6, 2018

I'll take a shot at it ;) Is there a way to have lossless-cut tell me what ffmpeg command it is going to run, under normal operation? Or perhaps a log file that shows commands it has run previously? That way, I have something to start from...

@matdv
Copy link
Contributor

matdv commented Apr 1, 2018

I have the exact same problem and created a possible solution in #73.
I'm using ffprobe to get the number of audio streams and their identifiers.
If there are multiple streams, these identifiers are used in the ffmpeg Map-Option to include them.

@CaptaPraelium
Copy link
Author

Thanks Matdv!

@mifi
Copy link
Owner

mifi commented May 20, 2018

Hey, thanks for the implementation. But doesn't ffmpeg have built in support for this out of the box with -map 0?

And @matdv btw, to see the output ffmpeg cmd, Open the developer tools (Cmd+Alt+J).

@matdv
Copy link
Contributor

matdv commented May 21, 2018

I just reviewed the map Option and it works it out of the box, thanks!
Tested it with the latest lossless-cut version and pushed my changes.

@mifi
Copy link
Owner

mifi commented May 23, 2018

See #70 and #76

@mifi mifi closed this as completed May 23, 2018
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

3 participants