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
Reconsidering audio #254
Comments
@samhutchins I love this idea! More power to the art of noodling! :) And I had never thought about it that way before but, you're right, the The This definitely makes Also, what do you think about just deprecating You've also snuck in our favorite behavior as the default, Do you want to start a patch with this or do you want me to try a stab at it? |
@samhutchins BTW, this is much smarter than how I was thinking about solving this problem. Thanks! |
Adding I'd be fine with Here's the thing about the default audio width: I'm mostly fine with the default the way it is. The one caveat I have is that having the stereo track be dpl2 seems pointless if you have a 5.1 track with the same audio. Given that, I think the default should either be: I haven't given a great deal of thought to the implementation to be honest. If I get time this Sunday I'll have a look. I think that whether I submit a pull request for this or not, you'll be writing a lot of the code ;-). I'm still not overly familiar with Ruby, so I'm sure I'll miss some Ruby idioms as I implement it. I'll try and have a crack on Sunday though, and I'll let you know how I get on |
@donmelton Although if you get to implementing this before I do, you'll hear no complaints from me. Don't wait on me if you get the itch. |
@samhutchins Yeah, leaving the existing Oh, I agree that if you have a 5.1 AC-3 track then a Pro Logic II AAC track is pointless for MKV output, but it might still be desirable for MP4 output since the AAC track comes first. I think we should ask more users about that. But I can easily be convinced that you're right. The main reason I would prefer a single audio track is saving space. In a way, I don't care whether that's a single AAC or AC-3 track. Obviously you get a lot more savings with AAC for a small loss in fidelity. I'm also thinking ahead to when the compatibility problems are solved with multitrack AAC. That's already happened on Android. Now Apple and Roku need to get their shit together on it. :) As to the implementation, we'll figure it out. I may take a look myself later tonight. I'll let you know, sir. |
Lol, that container-dependent track ordering is possibly another thing to reconsider... I'd forgotten about that |
Something occurred to me today, what if someone wants to pass through audio when possible, but specify the fallback encoder? I've assumed that, for surround input, if it can't be passed it should be AC3. I wonder if we should think about allowing users to specify a fallback encoder, as well as forcing a particular format. Not sure how that would look though |
@samhutchins Agreed, specifying the fallback encoder would be useful if, for example, other discrete surround tracks were in E-AC-3 format instead of AC-3. Maybe we can just infer it from any choice with the |
I'm struggling with this because I'm not sure how to express it, so let me just ask in plain English. What if the audio options were abstracted? So, for my use case, it would always look like this: --audio-track-to-convert=1 --audio0-order=HD,AC3 --audio0-fallback=AAC So essentially, that would tell it "Hey, I want two audio tracks. Check audio 1 and passthrough if it is anything in this list. Failing that, give me my first track as AAC it is! Second track should be track 1 also, passthrough if it meets criteria, otherwise, make it AAC." |
@samhutchins Although |
@khaosx Your comment arrived just before I posted mine to @samhutchins! :) Yeah, I'm not crazy about your syntax (especially adding the index to the option name itself), but that's the idea I was going for. |
@khaosx But, to be clear, I meant a single option and argument list specifying a single or set of tracks and multiple attributes for that specification. Lemme noodle on it a bit and I bet I can come up with something. I'll probably dread writing the parser for that argument list though. :) |
@khaosx @samhutchins And if we implement this generic option for audio, we should also consider doing something similar for subtitles. I do like this idea but it's like pulling on a string after awhile. :) |
Hi Don (& Sam), As always, thanks for maintaining and improving these amazing tools! :-) Quick question: if you rip a BluRay with 5.1/7.1 FLAC audio, why would the default behaviour want to return a stereo option? Perhaps I've misunderstood the intention of the new defaults but isn't the two-track 5.1/2.0 default more in-line with the normal expectations? One file with both 5.1 + 2.0 making it multi-device compliant? Just making stereo the default seems like a regression especially for new users or those who don't tweak defaults. I understand why a stereo default might be popular (for mobile and many home set-ups) but would it not be better to have 5.1/2.0 remain default with something simple like ' |
@rhapsodians Good question, Joe! A two-channel stereo track can still contain surround sound information. That's exactly what Dolby Pro Logic II format is. While such surround channels might not be discrete, matrix encoding allows them to be reconstructed with amazing fidelity. Now, when you use This is exactly how I transcode all of my audio. Why? Simply put, it still sounds great on my 5.1 home theater system and my stereo headphones at the same time. More importantly, It makes the output a shitload smaller than transcoding an extra 640 Kbps AC-3 track. :) But, like you, I am also cautious about changing the default configuration. Either to make audio output a single track or even to change the AAC track to a stereo-only mix. As I always say, let's not be hasty. :) But if we do make a change, we'll make it easy to go back to the current behavior. |
It’s probably a can of worms and a ton of work, but have you ever
considered creating defaults based on target payback device? I.e an iPad
Pro, nvidia shield, Plex on a tv, etc? Along the lines of the handbrake
presets.
On Thu, 14 Feb 2019 at 21:32, Don Melton ***@***.***> wrote:
@rhapsodians <https://github.com/rhapsodians> Good question, Joe! A
two-channel stereo track can still contain surround sound information.
That's exactly what Dolby Pro Logic II format is. While such surround
channels might not be discrete, matrix encoding allows them to be
reconstructed with amazing fidelity.
Now, when you use --audio-width main=stereo and your input track is
multi-channel, that's exactly what happens. You get a two-channel
matrix-encoded Dolby Pro Logic II 128 Kbps AAC format stereo track in the
output.
This is exactly how I transcode *all* of my audio. Why? Simply put, it
sounds still sounds great on my 5.1 home theater system and my stereo
headphones at the same time. More importantly, It makes the output a
shitload smaller than transcoding an extra 640 Kbps AC-3 track. :)
But, like you, I am also cautious about changing the default
configuration. Either to make audio output a single track or even to change
the AAC track to a stereo-only mix.
As I always say, let's not be hasty. :)
But if we do make a change, we'll make it easy to go back to the current
behavior.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYJDX2VCLE_pIWQVTdME_F0Yjp4wtu6ks5vNdXSgaJpZM4a6UAF>
.
--
Kind regards,
Dave
|
I wasn't aware about reconstructing the Pro Logic II formats ... I must read up on this :-) Research time over the weekend! I think whatever is decided, then flexibility to cover all the bases is key whether it's a two-channel 128kbit AAC stereo or 640kbps AC-3+128 stereo. Many people like customisation which is provided in bucket-loads via the options. You can still make the change and for most people, so long as the impact/functionality is understood then it will just work out ok. But maybe it's time to rethink some of the help sections. I'm guessing most people will be transcoding BluRay and DVD for the most part with 4k/UHD being the next area (for those with iMac Pros or lots of patience listening to whirring fans!). So why not have a new table of examples covering some basics? For example (better viewed in a table): 2 Audio tracks (5.1 AC-3 plus 2.0 AAC stereo) 3 Audio tracks (5.1 AC-3 plus 2.0 AAC stereo plus Director's Summary) If something like this were available in tabular format, I suspect people would not only understand the audio defaults more easily but also experiment more. In theory you could also do something similar with video options (from --avbr to --target big --quick etc.) Best wishes, |
@damorrison Another good question, David! I should add this to the FAQ: I definitely do not want to ever do this. :) Forgive my cheekiness, sir, but I feel it is one of the great weaknesses of HandBrake having all those presets and one of the great strengths of To this day, one of my big frustrations when helping folks who use the HandBrake app, because they can't quite handle the command line, is explaining all those mother forking presets to them and helping them choose which one to use. Because it's not as obvious as you would think. The fact that you still need to choose different presets for Blu-ray rips as opposed to DVD rips just boggles my mind. This is a problem I solved with the very first version of And there's no reason that you can't configure MKV or MP4 output to work correctly and beautifully on Apple, Android, Roku, etc. devices at the same time. That's what Sorry, that answer was a little longer and harsher than I intended. :) Please keep questions like this coming! |
@rhapsodians Hmmmm, adding something like this, in tabular format as you say, to the README is a damn good idea. And this is really making me think that we should expand the project to have a Wiki so we can really elaborate on stuff like this. Plus, we can effectively (sort of) do presets, as @damorrison suggests, by documenting recipes in a Wiki. I don't want to build them into the tool, but the concept is still useful for tuning and understanding the options. |
BTW, let me just add here how much I enjoy all the contributors and commenters who participate on this project. I am so honored to have you all even pay attention to what goes on here. Thank you all, so much! |
I think the idea of Wiki recipes (i.e. worked examples) is a great one. Everyone will have their own 'presets' or like to make their own. But simple recipes for common scenarios like default, 5.1 AC-3 only, 5.1 AC-3 + Stereo, 5.1 AC-3 + Stereo + Director's Commentary (with notes) would be great. I know I've set up my own aliases in .profile to deal with all these and even have a preset ( Might be worth a trial as I think many of us would be happy to contribute to ease the workload and to trim it down to cover the most useful recipes/preset examples. |
@rhapsodians Agreed. And those would be useful contributions. I can even add a "how to" on my own hack that automatically adds commentary tracks (spoiler: I look for audio tracks in the rip with "Commentary" in the title :). The key thing is getting the structure right for a Wiki. Obviously you want it to grow organically but you need to start with some sort of organization. Maybe just offloading sections of my massive README is a good way to think about it. I'll noodle on this during the next few days and when I get back from the Sierras (I'm presently at my cabin), maybe I can launch it in the next week or so. |
Nice one Don ... and I'm off to bed as it's getting late here in the UK. Just hoping I drop off to sleep and not start thinking about Wiki examples before the baby wakes up! Enjoy the Sierras! :-) |
Perhaps extend the examples to include some of the scripts everyone
probably has lying around too.
On Thu, 14 Feb 2019 at 23:54, Joe Hurley ***@***.***> wrote:
Nice one Don ... and I'm off to bed as it's getting late here in the UK.
Just hoping I drop off to sleep and not start thinking about Wiki examples
before the baby wakes up! Enjoy the Sierras! :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYJDXx7b9KOvMrVJbvsPb9lcoY0pIvWks5vNfcggaJpZM4a6UAF>
.
--
Kind regards,
Dave
|
@damorrison Indeed! I think a Wiki would be a good repository for such scripts and explainers for how they work. The goal would not only be utility but education. |
@samhutchins OK, I got the itch. :) At least to write the
...and this small modification to an existing option (the fallback part of the description):
To summarize what this means:
What do you think? Also, as much as I like the idea by @khaosx for generic and flexible per-track audio options, I can't come up with a succinct syntax for that yet. Not that I won't stop trying! I think one way to do this might some sort of specialized version of |
@samhutchins D'oh! I forgot to list in that summary:
|
@donmelton No, this is a better implementation than my idea. Mine was too complex, and likely would result in a huge mess. Ironically, I've got no dog in this hunt. If I'm reading this right, my current "--copy-audio 1 --audio-width all=double" won't need to change. I still want to passthrough lossless audio, with a non-theater-receiver secondary track. |
@samhutchins Yeah, it does sound funny and not in the amusing way. But basically that would only keep AC-3 stereo format tracks in surround widths and not affect stereo widths. Maybe I should have included Obviously the nomenclature I suggested sucks mightily so I'm open to ideas for how to explain that better. :) BTW, this scoping behavior I'm suggesting is not hard at all to implement. Just really damn hard to describe. |
@donmelton Well, it seems that the scoping thing is a bitrate thing? Could the argument be a maximum bitrate to pass? |
@samhutchins That could work but in my example scenario I really only want the behavior in the main track, no matter what the input bitrate is. |
@samhutchins OK, I've decided that it's not worth worrying about modifying the But, before I pull the trigger on this very audio-focused release, do we want to also consider changing the default mixdown for stereo tracks from In fact, I think it's inevitable that we phase out DPL2 with the adoption of smaller and better (at least smaller and better than AC-3) discrete surround formats like E-AC-3 and multichannel AAC. Hell, I'm even open to making the default surround format E-AC-3 eventually. :) Obviously I still love DPL2 for its size and portability, but 384 Kbps E-AC-3 is only twice the size, sounds much better and portability keeps improving every day. So, do we pull the bandaid off and switch the mixdown default now? I mean, Sam, the way you designed the code it's a freakin' one-line change so it's pretty easy. :) |
@samhutchins @dkoenig01 Or, do we wait on changing the mixdown default before we get more feedback? Again, I think it is inevitable but maybe we shouldn't be hasty until a lot more of us get a say about it. |
@donmelton Depends on what you want the default audio width to be. If it's double, I'd change the stereo mixdown to On the other hand, I guess the more conservative thing to do is make the default mixdown for stereo |
@samhutchins So, you are of two minds about it as well. :) Yes, setting the stereo track in a double width to a true Then there's the problem of changing the mixdown if we defaulted it to some hybrid configuration like that. Do we introduce a new So it's complicated. :) Then there's the other problem that now, after prodding by @dkoenig01, I'm beginning to hear some of the imaging and panning problems that folks have been complaining about with DPL2 as I rigorously review my own transcodings. And, sadly, these are noticeable when listening with surround or stereo systems. Certainly these issues and artifacts don't happen all the time but it's now impossible to un-hear them. I blame @dkoenig01 for this. :) Anyway, I agree that the conservative and safe thing to do is change the default mixdown to |
@samhutchins OK, I decided not to change the Just Thanks again for the new features, Sam! And thanks to @khaosx, @rhapsodians, @damorrison, @vr8hub, @dkoenig01, @klogg416 and everyone else I forgot to mention for all your feedback on this one! Y'all rock! |
I'm closing this issue since the feature has been released but feel free to keep commenting here until we open some new audio issues to cover all the other cans of worms we opened. :) |
Well, having just said that I'd not come across anything that sounded funny with dpl2 in the wild, I've just come across something that sounds funny. Opening sequence to Baby Driver is really far right in my dpl2 stereo track when using headphones |
@samhutchins Ouch! Sorry if ruined DPL2 for you. I don't have "Baby Driver (2017)" but I've noticed that shift of rear channel audio (I think) to the right when listening with stereo headphones on too damn many other titles now. It's really obvious (and annoying AF!) on "Annihilation (2018)" at the beginning. Worse is when audio effects sometimes shift back and forth in rapid succession between right and left. Because I can notice that listening both on stereo headphones and with my 5.1 surround system. Again, you can't un-hear any of this. So I'm in the process of re-transcoding all of my titles again. You could do the same and give yourself an even better excuse for switching to Seriously, I think we really do need to switch the default for I'll also open separate issues proposing an expanded syntax for I really am re-transcoding all my main title audio to E-AC-3 at 384 Kbps because:
So, if you do decide to redo your library (again) then I would recommend it. |
While I genuinely love my
Sonos it does make me shake my fist at its support for new audio formats.
It’s a 5.1 ac3 only for me as nothing else will work (well dpl2 is
supported but I want a discreet 5.1). With all the recent changes to audio,
I’ve been following along to see if I need to change anything and so far
not. But the proposed change to eac3 would as sonos will say nooo.
We’ve discussed how dlp2 sounds on a 5.1, but are there views on if you
only have 5.1 and listen to it in just stero? Use case is listening to a
movie with a Dolby digital 5.1 on an iPad.
On Mon, 25 Feb 2019 at 19:51, Don Melton ***@***.***> wrote:
@samhutchins <https://github.com/samhutchins> Ouch! Sorry if ruined DPL2
for you.
I don't have "Baby Driver (2017)" but I've notice that shift of rear
channel audio (I think) to the right when listening with stereo headphones
on too damn many other titles now. It's really obvious (and annoying AF!)
on "Annihilation (2018)" at the beginning.
Worse is when audio effects sometimes shift back and forth in rapid
succession between right and left. Because I can notice that listening both
on stereo headphones *and* with my 5.1 surround system.
Again, you can't un-hear any of this.
So I'm in the process of re-transcoding all of my titles again. You could
do the same and give yourself an even better excuse for switching to
--avbr. :)
Seriously, I think we really do need to switch the default for --mixdown
now. I'll open an issue soon proposing that, probably today.
I'll also open separate issues proposing an expanded syntax for --mixdown
and another proposing we change the the default encoder and bitrate for
surround tracks to eac3, i.e. Dolby Digital Plus or E-AC-3, at 384 Kbps.
I really am re-transcoding all my main title audio to E-AC-3 at 384 Kbps
because:
- It solves the DPL2 problems we're hearing.
- Using Plex on the Roku attached to my big 5.1 surround system passes
it through unchanged.
- Plex dynamically mixing it down and transcoding it to stereo on my
other systems still sounds great.
- Plex dynamically transcoding it to 5.1 AC-3 still sounds really damn
good (essentially transparent) because it's doing that at 640 Kbps.
- Roku and Apple both consider that even E-AC-3 at 192 Kbps sufficient
for multichannel 5.1 audio so 384 Kbps is probably overkill and just good
insurance.
- 384 Kbps is still only a little over twice the size of two-channel
AAC so it takes just 5-6% the size of your output instead of 10% or more
like 640 Kbps.
- Roku and Apple both consider E-AC-3 just as good as AC-3 at half the
bitrate and after a lot of testing this weekend, I would have to agree.
- E-AC-3 is getting hardware adoption a LOT faster than multichannel
AAC.
So, if you *do* decide to redo your library (again) then I would
recommend it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYJDdF-sc1B8BvrQ1wzzQDiNJo9BeDUks5vRD7FgaJpZM4a6UAF>
.
--
Kind regards,
Dave
|
I distinctly remember someone recently telling me "take the defaults, they're all you need". If only I could remember who that was…
|
@damorrison Great feedback and thanks! While I'll open a proposal about moving to E-AC-3 as the default for surround, I doubt we actually do that right away. I just want to get feedback, like yours, on this early so we can weigh the risks.
Good question! If you use a versatile player like Infuse.app or VLC.app which can decode many multichannel audio formats, you'll just get a nice, smart stereo mixdown of that audio without transcoding it. If you use TV.app, or whatever the native Apple-supplied player is, then you'll get the same behavior, like the other players, but limited to AC-3 and E-AC-3 formats. But keep in mind that if you use wireless earphones, such as AirPods like I do, then it's possible that audio, any audio really, might be transcoded behind your back (or, technically, your ear. :) ). |
@vr8hub ...
Well played, sir. Well played. :) OK, on to your great questions:
Anything else? |
Well, I think I am going to re-do the library. Which sucks, because I don't have the hard drive space anywhere to keep the originals (well, I could fill the NAS but I'd rather not). Plus a lot of my library came from DVDs at my parents house, and re-ripping all those would suck... In any case, I can't trust my AAC track any more, so a do-over is inevitable. See you on the other side |
I just read one of Plex's support documents on audio. They spent a lot of time saying, "Don't use passthrough". Which, even after reading it, doesn't make much sense to me. I don't want Plex determining what my audio is, I want to determine what my audio is. I'm going to a lot of trouble to get the audio right in the file. Why on earth wouldn't I want Plex to leave it alone? (Rhetorical question; this is not a Plex forum. Just an example of why poking myself in the eye with a stick might be less painful than trying to figure out all of this transcoding audio stuff.) |
One more thing! My set-up at home can't handle E-AC3 or (AFAIK) 5.1 AAC, so it's 640kbps AC3 for me for the forseeable future |
@samhutchins ...
The other side of madness, right? :)
Yeah, a lot of users have similar setups so I doubt very seriously that we'll change the surround default soon. I just want to start getting feedback now. @vr8hub ...
Which document? Because I'm pretty sure that's not the correct interpretation. :) Plex usually refers to the equivalent of "passthrough" with terms like "direct play" and such. And they've always been helpful about how to avoid dynamic transcoding. |
@donmelton I'm certainly confused, but I'm confused because I read what you wrote, not because I didn't read it. :) I know the options are different. My (perhaps mis-stated) question was to clarify how they interract with each other and with the input. Let me ask differently — what is the difference between the two? How are the two choosing what they're processing? To what kind of input do the two options apply? (Hence my "what if input is FLAC" question.) I either convert the input audio to an output format, or I passthrough the input audio to an output format. I don't understand how (or why) I do both, which is what your statement sounded like what was happening. (But I'm confused, so that might not be what was meant at all.) |
@vr8hub Oh! My bad. I misunderstood your question. Sorry about that. The The
Yes, and normally you don't need to screw around with the rules for when passthrough happens. Just trust That recommendation for @samhutchins to try was about modifying the default conversion behavior (i.e. using those Did that clear things up any? |
@vr8hub BTW, here's the Plex support article describing the difference between "Direct Play," "Direct Stream" and "Transcode" and what those terms mean in their world: |
@donmelton So, And from your statement above, the # on (Forgot to mention, the Plex article was this one.) |
@vr8hub Sorry, it was dog and dinner time there for awhile. You know how it is. Anyway...
Yes, you've got it! And that's actually a simpler way to put it than I did. Thanks! I will steal that verbatim, sir, for another support answer. :) Seriously, you're on a roll.
Great question! And the answer is... uh... not exactly. :) The default format for surround output is AC-3 so the The default format for stereo output is AAC so the And this silly option is necessary because on Windows and Linux, sometime folks don't want the FFmpeg AAC encoder. On macOS, it's a really bad idea to ever change the AAC encoder because the default, Anyway, that's not the only complication. Remember the new
Unless you add But let's say you do add Confusing? You bet your ass it is. :) But imagine what it's like to code this stuff.
Ah. OK, no wonder you got confused. :) That's the guide for the player, not the server. |
Right, I understood that (some things are so simple even I can get them). Without that option, eac3 would be transcoded to ac3. And with that option, ac3 is transcoded to eac3. (And the --aac-encoder was a dumb question, even for me; I was not paying attention.)
Right, I also understood that (I know, twice in one day, it's kind of shocking to me, too). My question was that if the bitrate was higher than whatever was specified (or defaulted) on the And a hearty thank you for your patience. I actually (somewhat) understand all of the various audios out here in the real world. (IOW, I know the difference between TrueHD and DTS and AC3, etc. as it comes to a receivers, Blu-ray, etc.) What I have no grasp at all of is how all of this is handled and transcoded and used and abused in the transcode world. In my Handbrake GUI days, I avoided the audio tab; it had something about AC-3 and something about passthrough, but I didn't understand it and left it alone. I maybe should leave it alone now, too (although again with all of the wonderful options), but I'm no longer content with not understanding it. |
@vr8hub ...
Actually, AC-3 will not be transcoded to E-AC-3 unless it's above the passthrough bitrate. And since the default passthrough bitrate is 640 Kbps, that never happens, by default. Why is that? Basically because anything that can play E-AC-3 can also play AC-3 so there's no reason to re-transcode it. (Actually there is one "ooops" device out there that can play E-AC-3 but stupidly not AC-3. However, the manufacturer is trying to kill it. So we will not speak of it again. :) )
D'oh! Sorry, I misunderstood. That happens a lot, unfortunately. It uses the setting for the
And a hearty "you're welcome" to you sir! No worries. Answering questions like this just comes with the job of being the lone insane autocratic project leader of a small-ass utility. :) And thank god you understand the differences between the formats! Many of our users struggle with that because, as you well know, it's forking complicated out there. But you're asking all the right questions to understand how it's handled. And, like I said, I don't mind. If anything, it clarifies my own thinking about it. So, since now is the winter of your discontent, keep asking. :) |
You should rectify that, for the opening 10 minutes if nothing else |
@samhutchins OK, now you have me curious. :) |
As promised, I've been noodling on audio options all week:
As it currently stands, the
--audio-width
option feels a little overloaded, as it combines a decision about track layout with a decision about audio formatI propose changing the
--audio-width
option (and consequently the default behaviour) in such a way that the format is not directly implied by the chosen layout i.e., try harder to pass audio if it matches the chosen track layout.I also propose adding an option for choosing the format for particular track layouts:
--audio-format stereo|surround=ARG
, where ARG can beac3
,e-ac3
, oraac
Other side effects:
We should probably deprecate
--prefer-ac3
We could use this as an opportunity to re-think the default track layout and make it stereo
Here's a table of the behaviour I'd expect by default, for the inputs I've seen ripping Blu-Rays and DVDs recently. It has the input at the top, and the layout option on the left. I've marked the behaviours that are different to now in italics
width=stereo
(default)width=surround
width=double
In other words: by default pass audio if it's AC3 or AAC below certain bitrates, if it matches the requested track layout. When transcoding audio is required, default to AC3 for surround and AAC for stereo, unless otherwise specified. This way the user can ensure stereo and surround tracks are in either AC3 or AAC (if their target playback device supports it).
The motivating use-case for me is that I've been ripping TV shows from DVD recently, and some shows have a 5.1 track and some don't, but they're all AC3. I don't want my TV shows in 5.1, so what I want to do is add
--audio-width main=stereo
to my command line, but that will transcode the 2.0 AC3 tracks to AAC which I don't want.The text was updated successfully, but these errors were encountered: