On 9 November 2017 at 08:01, pkv.stream <pkv.str...@gmail.com> wrote:
> Le 09/11/2017 à 4:43 AM, Rostislav Pehlivanov a écrit : > >> On 18 October 2017 at 11:05, pkv.stream <pkv.str...@gmail.com> wrote: >> >> Le 02/10/2017 à 8:39 PM, Rostislav Pehlivanov a écrit : >>> >>> On 2 October 2017 at 18:43, pkv.stream <pkv.str...@gmail.com> wrote: >>>> >>>> Le 02/10/2017 à 7:23 PM, Michael Niedermayer a écrit : >>>> >>>>> On Mon, Oct 02, 2017 at 12:52:53AM +0200, pkv.stream wrote: >>>>> >>>>>> Le 02/10/2017 à 12:43 AM, Carl Eugen Hoyos a écrit : >>>>>> >>>>>>> 2017-10-02 0:40 GMT+02:00 pkv.stream <pkv.str...@gmail.com>: >>>>>>> >>>>>>>> Hi atomnuker, >>>>>>>> >>>>>>>>> got your PCE working; >>>>>>>>> >>>>>>>>> the patch you attached contains tabs, they cannot be committed >>>>>>>>> >>>>>>>> to the FFmpeg repository, please remove them. >>>>>>>> (Or one tab.) >>>>>>>> >>>>>>>> thanks for pointing out. >>>>>>>> >>>>>>> Removed the offending tab. >>>>>>> >>>>>>> Thank you, Carl Eugen >>>>>>> >>>>>>> _______________________________________________ >>>>>>>> ffmpeg-devel mailing list >>>>>>>> ffmpeg-devel@ffmpeg.org >>>>>>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>>>>>>> >>>>>>>> aacenc.h | 239 ++++++++++++++++++++++++++++++ >>>>>>>> >>>>>>> +++++++++++++++++++++++++++++++-- >>>>>>> 1 file changed, 233 insertions(+), 6 deletions(-) >>>>>>> 929275fe34af4d0048bac2be928957288cb75ddd >>>>>>> 0001-avcodec-aacenc-PCE-for-al >>>>>>> l-ffmpeg-usual-layouts.patch >>>>>>> From 647fb61708bc1279f9dc17c679052a778dce5fbb Mon Sep 17 00:00:00 >>>>>>> 2001 >>>>>>> From: pkviet <pkv.str...@gmail.com> >>>>>>> Date: Sun, 24 Sep 2017 16:11:17 +0200 >>>>>>> Subject: [PATCH] avcodec/aacenc: PCE for all ffmpeg usual layouts >>>>>>> >>>>>>> this seems not to apply cleanly here, did i miss something ? >>>>>>> >>>>>> Hi Michael >>>>>> >>>>> this needs to be applied after the initial patch by atomnuker which he >>>>> did >>>>> not apply since this required work. >>>>> What i submitted was not aimed at being pushed since there is probably >>>>> still work to do. >>>>> Depending on what he wants to do with his patch, I'll resubmit a >>>>> working >>>>> patch later, properly rebased. >>>>> Sorry about the mess. >>>>> regards >>>>> >>>>> >>>>> Applying: avcodec/aacenc: PCE for all ffmpeg usual layouts >>>>> >>>>>> error: sha1 information is lacking or useless (libavcodec/aacenc.h). >>>>>> error: could not build fake ancestor >>>>>> Patch failed at 0001 avcodec/aacenc: PCE for all ffmpeg usual layouts >>>>>> The copy of the patch that failed is found in: .git/rebase-apply/patch >>>>>> >>>>>> >>>>>> [...] >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> ffmpeg-devel mailing list >>>>>> ffmpeg-devel@ffmpeg.org >>>>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>> ffmpeg-devel mailing list >>>>> ffmpeg-devel@ffmpeg.org >>>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>>>> >>>>> >>>>> Give me a few hours and I'll test it and submit a v2 of my patch with >>>> your >>>> improvements. >>>> _______________________________________________ >>>> ffmpeg-devel mailing list >>>> ffmpeg-devel@ffmpeg.org >>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>>> >>>> Hi >>> >>> any updates ? >>> >>> regards >>> >>> >>> _______________________________________________ >>> ffmpeg-devel mailing list >>> ffmpeg-devel@ffmpeg.org >>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >>> >>> >> Hi, >> Very sorry it took me this long but I finally got motivated and got around >> to checking your patch >> >> I have to say I'm impressed, everything works perfectly, decodes fine and >> the mappings were all fine. This is a big feature which many people have >> requested and complained the encoder lacks support for. >> >> I've done some minor changes to the code on the encoder side (an INFO >> print >> instead of a warning), to the comments (just alignment) and for the >> ambisonic layouts (made them use the defines) and I've pushed it. >> >> Thanks a lot >> _______________________________________________ >> ffmpeg-devel mailing list >> ffmpeg-devel@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >> > > Hi atomnuker, > > that's wonderful; > > there are two things also: > > 1) there are changes to make to the list of channel layouts not requiring > PCE > > ==> AV_CH_LAYOUT_5POINT0 to AV_CH_LAYOUT_5POINT0_BACK since the previous > is 5.0(side) while the latter is 5.0 which is what is in spec (table 1.19 > ISO/IEC 14496-3:200X(E) or table 42 ISO/IEC 13818-7:2004(E) ) > > see patch in attachment (can't be applied directly due to rebasing issues > from your initial patch) > > Checked the spec, you're right, fixed. > 2) for everything to work I had to also apply the patch from here: > > http://ffmpeg.org/pipermail/ffmpeg-devel/2017-October/217357.html > > If you ffmpeg -loglevel debug , you will see that on non-default channel > layouts, there is an auto insertion of a resampler filter : the > channel_layout option is not passed correctly in the chain. > > for instance: ffmpeg -channel_layout octagonal -i input.wav -c:a aac > -channel_layout octagonal out.mkv will matrix the input from octagonal to > 7.1 before the encoding. > > Check ticket 6706 for details of the issue. > > I am not knowledgeable enough to be sure my fix is correct; it's working > for sure, but I've had very few feedback (only Michael and Moritz about > styling issues). > Pining Michael to take a look at it. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel