lisamelton / other_video_transcoding

Other tools to transcode videos.
MIT License
540 stars 24 forks source link

What am I doing wrong in this surround to stereo mp4 attempt? #169

Closed loshlee closed 1 year ago

loshlee commented 1 year ago

I've tried many versions of this command on my Silicon Mac. What's the simplest way to alter it so that it will give me .mp4 output? I can get .mkv, no problem, but I'm hoping for .mp4. Thanks!

other-transcode --debug --copy-video --mp4 --main-audio 1=stereo inputsurroundmovie.mp4

Here's the pertinent part of the error message appearing in Terminal when I try it: "other-transcode: output file already exists: inputsurroundmovie.mp4" It appears that the issue might be solved by providing an output filename so that it differs from the input filename. How can I do it? Thanks again!

ttyS0 commented 1 year ago

You need to put your source in a different directory. For example,

mkdir src
mv inputsurroundmovie.mp4 src/
other-transcode --debug --copy-video --mp4 --main-audio 1=stereo src/inputsurroundmovie.mp4

The transcoded output will be in your current working directory. This pattern is by design. Talking about an --output option makes Don's eye twitch. We like Don, and we like him even more when his eye's not twitching. 😎

loshlee commented 1 year ago

Thanks. I kept getting in deeper with my tries, so I guess I needed a break. I thought I had ruled that out already, but no. It is the solution. In my case, I can also get the desired result by renaming the input to m4v, but that's not always workable Thanks again.

lisamelton commented 1 year ago

@ttyS0 Thanks! 👍