[FFmpeg-user] AC-3 Dolby Digital 5.1 Encoding
Chase Patterson
chapatt at gmail.com
Sun May 27 17:36:00 CEST 2012
> It's in the metadata (channel labelling). In most cases, set top boxes and receivers will treat them the same, but by specifying mode 63, you've forced the metadata to match the standard Dolby metadata for an ITU 5.1 program stream.
>
> I did notice that you utilized -24 as the dialnorm value, which was in my example, but isn't necessarily correct for your program. I would encourage you to measure the long term LEqA (Dolby) or ITU-R BS1770 loudness of your program in order to determine the actual loudness value in order to be presenting valid metadata and be in compliance.
>
> Also, I provided a downmix value of 2, which causes the program stream to suggest (note: not necessarily enforce) a preferred downmix mode of Lo/Ro, which entails a simple folddown of the content to stereo. This is as opposed to Lt/Rt (which would be option 1) which causes a 90 degree phase shift to the surround channels prior to performing the folddown, and is designed to improve later upmixing should the end consumer's receiver be in Dolby ProLogic mode, but can cause other interesting artifacts due to the phase shift.
>
> Yes, as odd as it sounds to hear that folks would take a stereo output of a device (which is actually a downmix of a true 5.1 program) and then run it through an upmixer afterwards, it happens more often than you'd think.
>
> I won't argue that one mode is better than the other. It tends to be highly content sensitive. I would suggest you encode in both modes and compare the stereo mixdown output to see which provides a better experience. I tend to lean towards Lo/Ro for most of the mixing I do, especially if there is a great degree of discretely mixed 5.1 music as part of the program, but I'd encourage you to listen to both so you can understand the results and ensure the greatest portability of your final mix.
>
> Take care,
> Josh
Oh, I see. I've been reading through the myriad of ffmpeg arguments
that just set certain metadata options. I'll keep the -dialnorm option
in mind when I'm actually encoding the audio for a dvd/blu ray burn.
I guess you really have to guess what downmix option you want to use,
as I know my stereo surround sound system I use with my TV has tons of
options, e.g. Dolby Digital (not downmixed), Dolby Pro Logic, Stereo
Surround (downmixes to stereo, then mirrors R and Rs, mirrors L and
Ls, and combines both for C), and many more.
Thanks,
Chase
More information about the ffmpeg-user
mailing list