Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-03-31 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I see, silly me, {{{g}}} isn't a hex digit.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-03-31 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by cehoyos):

 Replying to [comment:506 klaussfreire]:
 > I could never understand those commit numbers. Which repo are they
 referencing? My checkout has no such commit hash.

 a677121cc568db7c101ebf3a797a779a983fc668: N-79177-ga677121
 a35a4a5774a196f8eefc8ef2994979a6c563e0c2: N-79171-ga35a4a5

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-03-31 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I could never understand those commit numbers. Which repo are they
 referencing? My checkout has no such commit hash.

 There are two commits about undefined behavior. I'm guessing you're
 referring to the second one. I have actually checked with an automated
 script that same sample, albeit not with 4kbps. It's a bit low to be
 included in standard A/B tests, but I'll add it and re-run.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-03-31 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 This command crashes FFmpeg, after the commit "AAC encoder: fix undefined
 behavior".

 {{{
 cores\ffmpeg79177 -i "ffmpeg_aac320k_collapse3.flac" -c:a aac -strict
 experimental -b:a 4k out.mp4
 }}}

 Past versions before the commit, such as N-79171-ga35a4a5 was safe.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-03-11 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 In this commit
 
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=66edd8656b851a0c85ba25ec293cc66192c363ae
 I guess libavcodec/lpc.c line 179 is meant to be {{{i < len / 2;}}}.

 {{{
  170 double ff_lpc_calc_ref_coefs_f(LPCContext *s, const float *samples,
 int len,
  171int order, double *ref)
  172 {
  173 int i;
  174 double signal = 0.0f, avg_err = 0.0f;
  175 double autoc[MAX_LPC_ORDER+1] = {0}, error[MAX_LPC_ORDER+1] =
 {0};
  176 const double a = 0.5f, b = 1.0f - a;
  177
  178 /* Apply windowing */
  179 for (i = 0; i <= len / 2; i++) {
  180 double weight = a - b*cos((2*M_PI*i)/(len - 1));
  181 s->windowed_samples[i] = weight*samples[i];
  182 s->windowed_samples[len-1-i] = weight*samples[len-1-i];
  183 }
  184
  185 s->lpc_compute_autocorr(s->windowed_samples, len, order, autoc);
  186 signal = autoc[0];
  187 compute_ref_coefs(autoc, order, ref, error);
  188 for (i = 0; i < order; i++)
  189 avg_err = (avg_err + error[i])/2.0f;
  190 return signal/avg_err;
  191 }
 }}}

 And we can get a 1.2% speedup if we exclude cos function from the loop.

 {{{
 /* Apply windowing */
 double cos_onestep = cos((2*M_PI)/(len - 1));
 double sin_onestep = sin((2*M_PI)/(len - 1));
 double cos_isteps = b;
 double sin_isteps = 0;
 for (i = 0; i < len / 2; i++) {
 double sin_newsteps;
 double weight = a - cos_isteps;
 s->windowed_samples[i] = weight*samples[i];
 s->windowed_samples[len-1-i] = weight*samples[len-1-i];
 sin_newsteps = sin_isteps*cos_onestep + cos_isteps*sin_onestep;
 cos_isteps = cos_isteps*cos_onestep - sin_isteps*sin_onestep;
 sin_isteps = sin_newsteps;
 }
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-23 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Update: I found the main reason why fdk is so far ahead - basically, I/S
 is way too conservating, to the point where it barely gets used. I'm
 toying with making it far more aggressive.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-23 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Hold your horses, I haven't pushed anything for I/S yet, and it will take
 a while (it's a big change that I want to properly test first)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-23 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Replying to [comment:501 klaussfreire]:
 > Update: I found the main reason why fdk is so far ahead - basically, I/S
 is way too conservating, to the point where it barely gets used. I'm
 toying with making it far more aggressive.
 OK, I will retest the new one.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-21 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Which version?

 The bugs on TNS that were fixed recently make a big difference in
 perceived quality (not so much on PSNR)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-21 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 A Bad news.
 FDK-AAC still beats FFmpeg's native AAC encoder by a significant margin.
 [[Image(http://listening-test.coresv.net/img2/ffaac_fdk_compare_en.png)]]
 [[Image(http://listening-test.coresv.net/img2/ffaac_fdk_compare_en2.png)]]
 [[Image(http://listening-test.coresv.net/img2/ffaac_fdk_compare_en3.png)]]

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-21 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by RiCON):

 757248e, which is before the TNS fixes.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-21 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I suggest then you revalidate the results. No need to do the whole test
 again, start with a canary (a sample that was particularly troublesome),
 to see if it now compares better.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Sadly, this will also fail.
 {{{
 ffmpeg77914 -y -i ffmpeg_aac_error2.flac -c:a aac -profile:a aac_ltp
 out.mp4
 ffmpeg version N-77914-g03d83ba Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 25.100 /  6. 25.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aac_error2.flac':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
   Duration: 00:00:15.00, start: 0.00, bitrate: 658 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Side data:
   replaygain: track gain - -0.57, track peak - 0.11, album
 gain - un
 known, album peak - unknown,
 Output #0, mp4, to 'out.mp4':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (LTP) ([64][0][0][0] / 0x0040), 44100 Hz,
 stereo, fl
 tp (16 bit), 128 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion afq->remaining_samples == afq->remaining_delay failed at
 libavcodec/au
 dio_frame_queue.c:106

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Flagged the LTP profile as experimental. We have enough bug reports to
 work on to fix LTP. Crashes on the aac_low profile are the main priority
 right now.
 Also removed the FAAC-like coder, since it has been marked for removal for
 over a month.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 Generally yes, however aacenc was experimental in the last release, which
 kind of exempts it from stability rules.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I thought the timescale of those things (removal) was measured in
 releases.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Clearly ltp has problems, I haven't gotten around to solving them yet.

 I did find the last of TNS issues, I'll push after some further testing,
 but it looks good.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-18 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 This will output error and stop if the bitrate is 8k, 16k, 24k, 32k, and
 48k.
 40k 64k 72k 80k 88k 96k 104k 112k 120k 128k is encodable.
 {{{
 ffmpeg77914 -y -i ffmpeg_aac_error2.flac -c:a aac -ac 1 -profile:a aac_ltp
 -b:a 8k -cutoff 15000 out.mp4
 ffmpeg version N-77914-g03d83ba Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 25.100 /  6. 25.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aac_error2.flac':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
   Duration: 00:00:15.00, start: 0.00, bitrate: 658 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Side data:
   replaygain: track gain - -0.57, track peak - 0.11, album
 gain - un
 known, album peak - unknown,
 Output #0, mp4, to 'out.mp4':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (LTP) ([64][0][0][0] / 0x0040), 44100 Hz,
 mono, fltp
  (16 bit), 8 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [mp4 @ 005c48e0] Application provided duration: 4539201763687527334 /
 timestamp:
  4539201763687792550 is out of range for mov/mp4 format
 [mp4 @ 005c48e0] pts has no value
 [aac @ 005c5940] Queue input is backward in time
 [mp4 @ 005c48e0] Non-monotonous DTS in output stream 0:0; previous:
 453920176368
 7792550, current: 4535156856773993315; changing to 4539201763687792551.
 This may
  result in incorrect timestamps in the output file.
 [mp4 @ 005c48e0] Application provided duration: 4539201763687527334 /
 timestamp:
  4539201763687792551 is out of range for mov/mp4 format
 [mp4 @ 005c48e0] pts has no value
 }}}
 ffmpeg_aacvbr_pulse1.flac also have this error.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I just pushed a fix for the assertion failure on short_block_test_2, and a
 few other artifacts that were exposed by that sample. There are some
 artifacts remaining still, but I'm having a hard time pinpointing where
 they come from, so I thought I should push before you're done with your
 listening test ;)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I started a blind listening test of {{{-c:a aac}}} and {{{-c:a
 libfdk_aac}}} at 64k, 96k, and 128kbps. The progress is 33% now.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Now the faad decode and the low bitrate encodes above are properly working
 on x86.
 But this will fail.
 {{{
 ffmpeg77827 -y -i short_block_test_2.flac -c:a aac -b:a 8k -cutoff 15000
 -ar 48000 out.mp4
 ffmpeg version N-77827-g9006567 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration:
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 23.100 /  6. 23.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, flac, from 'short_block_test_2.flac':
   Duration: 00:00:15.00, start: 0.00, bitrate: 91 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz,
 stereo, flt
 p (16 bit), 8 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 It's never ending.

 Can you attach the short_block_test_2.flac?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I reproduced the aacenc.c assertion errors on ARM, but not the
 audio_frame_queue.c assertion error on comment:484.
 {{{
 pi@raspberrypi:~/ffmpeg160112 $ time ./ffmpeg -y -i ffmpeg_96k_error.flac
 -c:a aac -profile:a aac_main -b:a 16k -ar 44100 -cutoff 2 out.mp4
 ffmpeg version N-77804-gd64d6ed Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.9.2 (Raspbian 4.9.2-10)
   configuration:
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 23.100 /  6. 23.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, flac, from 'ffmpeg_96k_error.flac':
   Duration: 00:00:02.01, start: 0.00, bitrate: 238 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (Main) ([64][0][0][0] / 0x0040), 44100 Hz,
 stereo, fltp (16 bit), 16 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363
 Aborted

 real0m8.021s
 user0m7.960s
 sys 0m0.060s
 }}}
 {{{
 pi@raspberrypi:~/ffmpeg160112 $ time ./ffmpeg -y -i
 ffmpeg_aacvbr_pulse2.flac -c:a aac -ar 11025 -cutoff 5000 -b:a 8k
 -profile:a aac_main out.mp4
 ffmpeg version N-77804-gd64d6ed Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.9.2 (Raspbian 4.9.2-10)
   configuration:
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 23.100 /  6. 23.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, flac, from 'ffmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.00, bitrate: 1167 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (Main) ([64][0][0][0] / 0x0040), 11025 Hz,
 stereo, fltp (16 bit), 8 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363
 Aborted

 real0m11.663s
 user0m11.660s
 sys 0m0.100s
 }}}
 {{{
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Oops. I tested the old version. I will test the latest version later.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-12 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Another assertion failure.
 {{{
 ffmpeg77758 -y -i ffmpeg_aac_error2.flac -c:a aac -profile:a aac_ltp
 -cutoff 15000 out.mp4
 ffmpeg version N-77758-g6e24946 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 13.100 / 55. 13.100
   libavcodec 57. 22.100 / 57. 22.100
   libavformat57. 21.101 / 57. 21.101
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 23.100 /  6. 23.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aac_error2.flac':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
   Duration: 00:00:15.00, start: 0.00, bitrate: 658 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Side data:
   replaygain: track gain - -0.57, track peak - 0.11, album
 gain - un
 known, album peak - unknown,
 Output #0, mp4, to 'out.mp4':
   Metadata:
 REPLAYGAIN_TRACK_GAIN: -0.57 dB
 REPLAYGAIN_TRACK_PEAK: 0.474701
 encoder : Lavf57.21.101
 Stream #0:0: Audio: aac (LTP) ([64][0][0][0] / 0x0040), 44100 Hz,
 stereo, fl
 tp (16 bit), 128 kb/s
 Metadata:
   encoder : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion afq->remaining_samples == afq->remaining_delay failed at
 libavcodec/au
 dio_frame_queue.c:106

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:477 Kamedo2]:
 > https://www.ffmpeg.org/ffmpeg-codecs.html#Options-5
 > 'aac_pred'
 >
 > Main-type prediction profile, is enabled by and will enable the
 aac_pred option. Introduced in MPEG2.
 >
 > I believe it should be 'aac_main'.

 It's correct as it is. You can enable AAC-Main (and thus prediction) in
 two ways: set the profile via -profile:a aac_main or set the prediction
 flag via -aac_pred 1. Setting one will set the other as well, since you
 can't have prediction without the profile being set and you can't have the
 profile set without prediction (well you can but it would be a hack as
 you'd just set all scalefactor bands to disable prediction).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:480 heleppkes]:
 > I think he is referring to the aac_pred bullet point under the
 "profiles" section, which is not quite correct, since aac_main is the name
 of the profile.

 It is correct since the option aac_pred will enable AAC-Main prediction,
 even though it's not the name of the profile. Hence why it's listed there.

 -aac_pred 1 enables -profile:a aac_main and -profile:a aac_main enables
 -aac_pred 1

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 https://www.ffmpeg.org/ffmpeg-codecs.html#Options-5
 'aac_pred'

 Main-type prediction profile, is enabled by and will enable the
 aac_pred option. Introduced in MPEG2.

 I believe it should be 'aac_main'.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 I think he is referring to the aac_pred bullet point under the "profiles"
 section, which is not quite correct, since aac_main is the name of the
 profile.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 aac_pred enables the prediction feature, the profile is controlled by
 "-profile aac_main"

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 {{{ffmpeg77758 -i in.wav -c:a aac -profile:a aac_pred out.mp4}}}
 It fails.
 The document ​https://www.ffmpeg.org/ffmpeg-codecs.html should be:


 'aac_'''main
 Main-type prediction profile, is enabled by and will enable the
 aac_pred option. Introduced in MPEG2.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:482 Kamedo2]:
 > {{{ffmpeg77758 -i in.wav -c:a aac -profile:a aac_pred out.mp4}}}
 > It fails.
 > The document ​https://www.ffmpeg.org/ffmpeg-codecs.html should be:
 >
 >
 > 'aac_'''main
 > Main-type prediction profile, is enabled by and will enable the
 aac_pred option. Introduced in MPEG2.
 >

 I fixed it 3 hours ago. I didn't understand where the typo was.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-06 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Klaussfreire, thank you for the explanation.

 [[Image(http://listening-test.coresv.net/img2/encodespeed.png)]]

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-05 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Replying to [comment:474 Kamedo2]:
 > Is the faad's bug work-around ready?
 > I have thoroughly tested ffmpeg77652. In LC profile above 22kHz and
 32kbps, the native encoder seems to be stable.

 It's in the pipeline.

 Just doing some regression ABX testing, since the objective (PSNR) A/B
 script pointed out some seemingly significant regressions (until now I
 couldn't confirm anyone with ABX but I'm not done testing yet)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2016-01-04 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Is the faad's bug work-around ready?
 I have thoroughly tested ffmpeg77652. In LC profile above 22kHz and
 32kbps, the native encoder seems to be stable.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-29 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Well, time for an update...

 I did some tests, and faad's problem is with correlated PNS bands (PNS +
 ms_mask). It seems to be applying the M/S transform even though the specs
 clearly state that when PNS is used in conjunction with ms_mask bits, it
 should not.

 I'd consider that a faad bug, but we are indeed producing "weird"
 bitstreams (we signal correlated PNS when only one side uses PNS, which
 makes the ms_mask unnecessary). Avoiding that weirdness works around
 faad's bug (and avoids possibly triggering similar bugs in other
 decoders).

 I'm working on that patch now (thoroughly testing now).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-25 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I'm going to start a new listening test of {{{-c:a aac}}} and {{{-c:a
 libfdk_aac}}} at 64k, 96k, and 128kbps in 2016/01/05. I hope this encoder
 will be stable until then.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-25 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:471 Kamedo2]:
 > I'm going to start a new listening test of {{{-c:a aac}}} and {{{-c:a
 libfdk_aac}}} at 64k, 96k, and 128kbps in 2016/01/05. I hope this encoder
 will be stable until then.

 It's perfectly stable under normal operating bitrates and settings until
 you start testing it to the extremes with variable bit rate (please don't
 use it) and aac_main (don't use this either).
 Considering it's already used in professional broadcasting (with aac_pns 0
 since that's what causes the instability) I say it's stable. It survived a
 whole week of fuzzing after all.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-22 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 I believe the assertion failure in comment:456 and comment:464 has been
 fixed by the last commit.

 I managed to reproduce comment:459, but I'm still investigating it. I'm
 suspecting it is indeed a bug in faad related to either M/S coding or I/S
 coding.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-22 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Oh, I hadn't seen the -profile:a aac_main in comment:456, without it, it
 doesn't crash anymore, but with it it does.

 AFAIK, the only difference there is main prediction (aac_main enables main
 prediction).

 I'll look into it later.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-22 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Sadly, it still crashes with some samples.
 {{{
 ffmpeg77436 -y -i "FFmpeg_aacvbr_pulse2.flac" -c:a aac -ar 11025 -cutoff
 5000 -profile:a aac_main -b:a 8k out.mp4
 ffmpeg version N-77436-g18cd789 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 11.100 / 55. 11.100
   libavcodec 57. 20.100 / 57. 20.100
   libavformat57. 20.100 / 57. 20.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 21.100 /  6. 21.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.00, bitrate: 1167 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.20.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 11025 Hz, stereo,
 fltp (16
  bit), 8 kb/s
 Metadata:
   encoder : Lavc57.20.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

 {{{
 ffmpeg77436 -y -i "FFmpeg_anmr_error6.flac" -c:a aac -q:a 1280k out.mp4
 ffmpeg version N-77436-g18cd789 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 11.100 / 55. 11.100
   libavcodec 57. 20.100 / 57. 20.100
   libavformat57. 20.100 / 57. 20.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 21.100 /  6. 21.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error6.flac':
   Duration: 00:00:10.00, start: 0.00, bitrate: 218 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 }}}

 {{{
 ffmpeg77436 -y -i "ffmpeg_aacvbr_pulse2.flac" -c:a aac -ar 11025 -cutoff
 5000 -b:a 8k -profile:a aac_main out.mp4
 ffmpeg version N-77436-g18cd789 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 11.100 / 55. 11.100
   libavcodec 57. 20.100 / 57. 20.100
   libavformat57. 20.100 / 57. 20.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 21.100 /  6. 21.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.00, bitrate: 1167 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.20.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 11025 Hz, stereo,
 fltp (16
  bit), 8 kb/s
 Metadata:
   encoder : Lavc57.20.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

 {{{
 ffmpeg77436 -y -i "sine_tester.flac" -c:a aac -ar 11025 -cutoff 5000 -b:a
 8k out.mp4
 ffmpeg version N-77436-g18cd789 Copyright (c) 2000-2015 the FFmpeg
 developers
   

Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-21 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 http://downloads.xiph.org/websites/xiph.org/vorbis/listen/compilation2.wav

 The encoded sound collapses on FAAD2 ( Ahead Software MPEG-4 AAC Decoder
 V2.7 ).

 I failed to reproduce it on NeroAACDec 1.5.1.0.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-20 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Replying to [comment:459 Kamedo2]:
 > The new AAC output cannot be decoded properly by the faad decoder.
 >
 > {{{
 > ffmpeg77208 -y -i abc\compilation2.wav -c:a aac -b:a 96k out.mp4
 > }}}
 > {{{
 > faad -b 1 out.mp4 out.wav
 > }}}
 > results in collapsed sounds.

 Can you attach or email the compilation2.wav file or something that helps
 reproduce this?

 I've tried a few samples with faad and couldn't yet reproduce it.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-14 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Apparently, lower bitrate induces the assertion error.
 {{{
 ffmpeg77223 -y -i FFmpeg_anmr_error5.flac -c:a aac -b:a 16k -cutoff 15000
 -ar 48000 out.mp4
 ffmpeg version N-77233-g28e9b7e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 20.100 / 57. 20.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 21.100 /  6. 21.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error5.flac':
   Duration: 00:00:05.00, start: 0.00, bitrate: 229 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.20.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
 fltp (16
  bit), 16 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}
 {{{
 ffmpeg77223 -y -i ffmpeg_96k_error.flac -c:a aac -profile:a aac_main -b:a
 16k -cutoff 2 -ar 44100 out.mp4
 ffmpeg version N-77233-g28e9b7e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 20.100 / 57. 20.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 21.100 /  6. 21.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_96k_error.flac':
   Duration: 00:00:02.01, start: 0.00, bitrate: 238 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.20.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
  bit), 16 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-14 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 All of the asserts happen because of PNS. Disable it with -aac_pns 0 and
 you'll see you won't get any more. Claudio and I are working on a fix,
 it's a hard problem to solve.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 Replying to [comment:461 Kamedo2]:
 > I am considering a new listening test of {{{-c:a aac}}} and {{{-c:a
 libfdk_aac}}} at 64k, 96k, and 128kbps. Is the bug comment:459 easy to
 solve?

 First someone would need to determine if its maybe faad thats broken.
 No software is ever perfect.

 If it doesn't re produce with mpeg2_aac_low, its likely related to PNS, as
 thats the only feature that gets turned off over aac_low.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-12 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I am considering a new listening test of {{{-c:a aac}}} and {{{-c:a
 libfdk_aac}}} at 64k, 96k, and 128kbps. Is the bug comment:459 easy to
 solve?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-12 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 The bug comment:459 don't reproduce with {{{-profile:a mpeg2_aac_low}}}
 option.
 The bug comment:459 reproduce on {{{-profile:a aac_main}}}, {{{-profile:a
 aac_low}}}, and {{{-profile:a aac_ltp}}} options.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-12 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 The new AAC output cannot be decoded properly by the faad decoder.

 {{{
 ffmpeg77208 -y -i abc\compilation2.wav -c:a aac -b:a 96k out.mp4
 }}}
 {{{
 faad -b 1 out.mp4 out.wav
 }}}
 results in collapsed sounds.

 {{{
 ffmpeg77208 -y -i abc\compilation2.wav -c:a aac -b:a 96k out.mp4
 }}}
 {{{
 faad -q -b 4 out.mp4 out.wav
 }}}
 decoding to 32bit float also results in collapsed sounds.

 {{{
 ffmpeg77208 -y -i abc\compilation2.wav -c:a aac -b:a 96k out.mp4
 }}}
 {{{
 ffmpeg77208 -y -i out.mp4 -c:a pcm_s16le out.wav
 }}}
 The same AAC output decoded by the new FFmpeg is OK.

 {{{
 ffmpeg77208 -y -i abc\compilation2.wav -c:a aac -b:a 96k out.mp4
 }}}
 {{{
 ffmpeg72585 -y -i out.mp4 -c:a pcm_s16le out.wav
 }}}
 The same AAC output decoded by older FFmpeg is also OK.




 {{{
 ffmpeg76735 -y -i abc\compilation2.wav -c:a aac -b:a 96k -strict -2
 out.mp4
 }}}
 {{{
 faad -b 1 out.mp4 out.wav
 }}}
 72585, 76735 was OK, but the 76851, 76877, 76976, 77208 suffer the same
 problem.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 Wasn't one of claudio's changes supposed to get rid of this particular
 assert for good? The commit message suggested as much.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Replying to [comment:457 heleppkes]:
 > Wasn't one of claudio's changes supposed to get rid of this particular
 assert for good? The commit message suggested as much.

 It should have. It did in all the cases I tested. I'll have to try and
 reproduce this particular case later.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 These three still crashes.
 {{{
 ffmpeg77171 -y -i FFmpeg_aacvbr_pulse2.flac -c:a aac -b:a 1 out.mp4
 ffmpeg version N-77171-g89bbf01 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.00, bitrate: 1167 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 [aac @ 001b5ba0] Bitrate 1 is extremely low, maybe you mean 1k
 The bitrate parameter is set too low. It takes bits/s as argument, not
 kbits/s
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
 fltp (16
  bit), 0 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}
 {{{
 ffmpeg77171 -y -i FFmpeg_aacvbr_pulse2.flac -c:a aac -ar 11025 -cutoff
 5000 -profile:a aac_main -b:a 8k out.mp4
 ffmpeg version N-77171-g89bbf01 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.00, bitrate: 1167 kb/s
 Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 11025 Hz, stereo,
 fltp (16
  bit), 8 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}
 {{{
 ffmpeg77171 -y -i FFmpeg_anmr_error6.flac -c:a aac -q:a 1280k out.mp4
 ffmpeg version N-77171-g89bbf01 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error6.flac':
   Duration: 00:00:10.00, start: 0.00, bitrate: 218 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg 

Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-08 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Fixed the FFmpeg_anmr_error6.flac crashes in git master, version
 N-77158-g4c5136a. Give it a test.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-07 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Two crash bugs on 240kbps on both {{{-profile:a aac_ltp}}} and default.
 {{{
 ffmpeg77126 -i FFmpeg_anmr_error6.flac -c:a aac -profile:a aac_ltp -b:a
 240k out.mp4
 ffmpeg version N-77126-g357c626 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error6.flac':
   Duration: 00:00:10.00, start: 0.00, bitrate: 218 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 File 'out.mp4' already exists. Overwrite ? [y/N] y
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
  bit), 240 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

 {{{
 ffmpeg77126 -y -i FFmpeg_anmr_error6.flac -c:a aac -b:a 240k out.mp4
 ffmpeg version N-77126-g357c626 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error6.flac':
   Duration: 00:00:10.00, start: 0.00, bitrate: 218 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
  bit), 240 kb/s
 Metadata:
   encoder : Lavc57.17.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-12-07 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Another crash example, probably another arithmetic overflow like
 comment:440. I think anything above -q:a 3 should be clipped to -q:a 3,
 because I don't think of any practical use, and to simplify the testing
 procedure.
 [[Image(http://listening-test.coresv.net/img2/noexp1.png)]]
 [[Image(http://listening-test.coresv.net/img2/noexp2.png)]]
 [[Image(http://listening-test.coresv.net/img2/noexp3.png)]]
 {{{
 ffmpeg77126 -y -i FFmpeg_anmr_error6.flac -c:a aac -q:a 1280k out.mp4
 ffmpeg version N-77126-g357c626 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55. 10.100 / 55. 10.100
   libavcodec 57. 17.100 / 57. 17.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 20.100 /  6. 20.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'FFmpeg_anmr_error6.flac':
   Duration: 00:00:10.00, start: 0.00, bitrate: 218 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-29 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:450 llogan]:
 > Appears to be a regression, but I did not run a bisect. Attached sample
 input file from Zeranoe forum user Zaoshi.

 Bug seems to only happen with intensity stereo enabled. The newest patch
 by klaussfreire fixes the bug. Might look into a quick fix but it's a
 lower priority than reviewing that patch, considering how many artifacts
 it fixes.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-29 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by llogan):

 {{{
 $ ffmpeg -i assertion_diff_shimoseka.m4a -strict experimental -c:a aac -f
 null -
 ffmpeg version N-76947-gec494e6 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --disable-doc
   libavutil  55.  9.100 / 55.  9.100
   libavcodec 57. 16.101 / 57. 16.101
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 17.100 /  6. 17.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'assertion_diff_shimoseka.m4a':
   Metadata:
 major_brand : M4A
 minor_version   : 512
 compatible_brands: isomiso2
 encoder : Lavf57.19.100
   Duration: 00:00:50.13, start: 0.00, bitrate: 129 kb/s
 Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 128 kb/s (default)
 Metadata:
   handler_name: SoundHandler
 Output #0, null, to 'pipe:':
   Metadata:
 major_brand : M4A
 minor_version   : 512
 compatible_brands: isomiso2
 encoder : Lavf57.19.100
 Stream #0:0(und): Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
 (default)
 Metadata:
   handler_name: SoundHandler
   encoder : Lavc57.16.101 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363
 Aborted (core dumped)
 }}}
 Appears to be a regression, but I did not run a bisect. Attached sample
 input file from Zeranoe forum user Zaoshi.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-27 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 {{{
 ffmpeg76877 -y -i ffmpeg_aac320k_collapse3.flac -c:a aac -strict
 experimental -ar 44100 -profile:a aac_ltp -b:a 128k out.mp4

 ffmpeg version N-76877-g861f2b2 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55.  9.100 / 55.  9.100
   libavcodec 57. 16.100 / 57. 16.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 15.100 /  6. 15.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aac320k_collapse3.flac':
   Duration: 00:00:12.56, start: 0.00, bitrate: 684 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
  bit), 128 kb/s
 Metadata:
   encoder : Lavc57.16.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 av_interleaved_write_frame(): Visual C++ CRT: Not enough memory to
 complete call
  to strerror.
 size=   1kB time=00:00:02.02 bitrate=   5.0kbits/s
 }}}
 128kbps leads to av_interleaved_write_frame error, 80kbps just crashes.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-27 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Thank you, but it still crashes on 80kbps. This N-76863-g8000d48 is after
 the aac_tablegen speed up.

 {{{
 ffmpeg76863 -i ffmpeg_aacvbr_pulse1.flac -c:a aac -strict experimental
 -profile:a aac_ltp -b:a 80k out.mp4
 }}}

 {{{
 ffmpeg76863 -i ffmpeg_aac320k_collapse3.flac -c:a aac -strict experimental
 -profile:a aac_ltp -b:a 80k out.mp4
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-27 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:447 Kamedo2]:
 > Thank you, but it still crashes on 80kbps. This N-76863-g8000d48 is
 after the aac_tablegen speed up.
 >
 > {{{
 > ffmpeg76863 -i ffmpeg_aacvbr_pulse1.flac -c:a aac -strict experimental
 -profile:a aac_ltp -b:a 80k out.mp4
 > }}}
 >
 > {{{
 > ffmpeg76863 -i ffmpeg_aac320k_collapse3.flac -c:a aac -strict
 experimental -profile:a aac_ltp -b:a 80k out.mp4
 > }}}

 Hm, I can't seem to replicate either. Does it crash at any other bitrate
 for you?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-26 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 {{{
 ffmpeg76851 -y -i ffmpeg_anmr_error2.flac -c:a aac -strict experimental
 -ar 44100 -profile:a aac_ltp -b:a 80k out.mp4
 }}}
 still crashes the encoder.

 {{{
 ffmpeg version N-76851-ga330430 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   libavutil  55.  9.100 / 55.  9.100
   libavcodec 57. 16.100 / 57. 16.100
   libavformat57. 19.100 / 57. 19.100
   libavdevice57.  0.100 / 57.  0.100
   libavfilter 6. 15.100 /  6. 15.100
   libswscale  4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_anmr_error2.flac':
   Duration: 00:00:17.95, start: 0.00, bitrate: 504 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
 encoder : Lavf57.19.100
 Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
  bit), 80 kb/s
 Metadata:
   encoder : Lavc57.16.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 size=  38kB time=00:00:03.85 bitrate=  81.8kbits/s
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-26 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 ANMR isn't getting any love yet.

 It will take some time, I discovered some nasty roadblocks in ANMR's
 approach.

 Twoloop keeps giving away lessons that are useful for ANMR too, so my
 objective is to get twoloop to its full potential before I start massaging
 ANMR.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-11-26 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:444 Kamedo2]:
 > {{{
 > ffmpeg76851 -y -i ffmpeg_anmr_error2.flac -c:a aac -strict experimental
 -ar 44100 -profile:a aac_ltp -b:a 80k out.mp4
 > }}}
 > still crashes the encoder.
 >
 > {{{
 > ffmpeg version N-76851-ga330430 Copyright (c) 2000-2015 the FFmpeg
 developers
 >   built with gcc 5.2.0 (GCC)
 >   configuration: --enable-gpl --enable-version3 --enable-nonfree
 --enable-libmp3
 > lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 > reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
 >   libavutil  55.  9.100 / 55.  9.100
 >   libavcodec 57. 16.100 / 57. 16.100
 >   libavformat57. 19.100 / 57. 19.100
 >   libavdevice57.  0.100 / 57.  0.100
 >   libavfilter 6. 15.100 /  6. 15.100
 >   libswscale  4.  0.100 /  4.  0.100
 >   libswresample   2.  0.101 /  2.  0.101
 >   libpostproc54.  0.100 / 54.  0.100
 > Input #0, flac, from 'ffmpeg_anmr_error2.flac':
 >   Duration: 00:00:17.95, start: 0.00, bitrate: 504 kb/s
 > Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 > Output #0, mp4, to 'out.mp4':
 >   Metadata:
 > encoder : Lavf57.19.100
 > Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
 fltp (16
 >  bit), 80 kb/s
 > Metadata:
 >   encoder : Lavc57.16.100 aac
 > Stream mapping:
 >   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 > Press [q] to stop, [?] for help
 > size=  38kB time=00:00:03.85 bitrate=  81.8kbits/s
 > }}}


 Just pushed a commit which improved LTP and fixes the crash. Give it a
 try. New version is N-76858-g1e5dbb3.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-28 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 {{{
 ffmpeg76324 -y -i ffmpeg_anmr_error2.flac -c:a aac -strict experimental
 -ar 44100 -profile:a aac_ltp -b:a 80k out.mp4
 }}}
 or
 {{{
 ffmpeg76324 -y -i ffmpeg_anmr_error5.flac -c:a aac -strict experimental
 -ar 44100 -profile:a aac_ltp -b:a 80k out.mp4
 }}}
 crash the encoder.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Kamedo2:
 I've improved TNS and have made it the default (-aac_tns 1).
 I've also added LTP support for voice or piano music encoding, use
 -aac_ltp 1 (or -profile:a aac_ltp) to test it. Both features are in
 current git master.

 Claudio has 2 small fixes to merge. Hopefully won't take long.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-15 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 -q:a 1100k or more value often crash the encoder.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-15 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 An update, I have a fix (fixes in fact) for the assertion error, I'll be
 pushing it as soon as I can confirm it causes no regressions (it did,
 fixed a few).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-15 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 That's probably arithmetic overflow

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-14 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by kierank):

 Hi,
 No the file is not meant to be playable, it's the output from a tool
 designed to make crazy inputs in order to crash decoders (or in this case
 encoders).
 Kieran

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-14 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 The fuzz1.wav file seems to be improperly delivered. This seems to be a
 stereo 48kHz 16bit linear wav file, but the header is 52 C9 46 46, as
 opposed to usual 52 49 46 46(RIFF), and 'fmt ' chunk have 10 02 00 00(528)
 length when normally and from context 10 00 00 00(16).

 Kierank, is the wav file playable in your environment?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 {{{-stereo_mode}}} in the FFmpeg Codecs Documentation was abolished and
 {{{-aac_ms 1}}} (Force M/S stereo coding) will be used instead, Am I
 right?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 Yes, that is correct.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Kamedo2: yes, all encoder options now start with "-aac_":
 {{{
 #!div style="font-size: 80%"
 ffmpeg -help encoder=aac
   {{{
 AAC encoder AVOptions:
   -aac_coder E...A... Coding algorithm (from -1 to 3)
 (default 2)
  faac E...A... FAAC-inspired method
  anmr E...A... ANMR method
  twoloop  E...A... Two loop searching method
  fast E...A... Constant quantizer
   -aac_msE...A... Force M/S stereo coding
 (default false)
   -aac_isE...A... Intensity stereo coding
 (default auto)
   -aac_pns   E...A... Perceptual noise substitution
 (default auto)
   -aac_tns   E...A... Temporal noise shaping (default
 auto)
   -aac_pred  E...A... AAC-Main prediction (default
 auto)
 }}}
 }}}

 Any option set to automatic means that the profile will determine it by
 default, unless it is set via the command line. Any option not set to a
 default 'auto' means the default value indicated will be set. Also,
 "-aac_ms" is not boolean as indicated but can be set to '-1' which means
 it will be automatically used when there will be an encoding gain.

 Keep in mind the psychoacoustic system currently doesn't account for the
 cutoff which the new coder introduced, leading to bits being wasted and
 the quality being decreased. Claudio will be pushing a patch to fix that.
 This only affects heavy synth samples but should fix a lot of bugs which
 might be related currently. This is also what's currently blocking us from
 removing the 'experimental' flag.
 Also, I still have to merge my LTP patches, which will happen later today.

 Kamedo2: Not sure how but I got an email invitation from Shion to Slack
 (Audio Video Encoding Community) which you are apparently a member of. I
 understand enough Japanese to kinda understand the email and I'd love to
 join but I'm still learning, let alone understanding technical jargon.
 Sorry :|
 Maybe after I know a little more.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:429 heleppkes]:
 > aac_tns "auto" is a bit misleading though, its not actually turned on
 for any of the profiles.
 Not yet, no. I'll change it to false when I commit my LTP changes.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by kierank):

 Since this appears to be the aac encoder development thread I have been
 fuzzing the encoder and get this crash a lot:

 http://pastie.org/private/xlnfw9vfkn7dbxgwfaurug

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 aac_tns "auto" is a bit misleading though, its not actually turned on for
 any of the profiles.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 The combinations of these options below are now extensively tested. Rate,
 speed, and error codes are monitored.
 {{{
 ["-aac_coder faac", "-aac_coder fast", "-aac_coder twoloop"],
 ["-aac_ms 0","-aac_ms 1"],
 ["-aac_is 0","-aac_is 1"],
 ["-aac_tns 0","-aac_tns 1"],
 ["-profile:a aac_main -aac_pred 1 -aac_pns 0","-profile:a aac_low -aac_pns
 1","-profile:a mpeg2_aac_low"],
 ["-ar 8000", "-ar 44100", "-ar 48000", "-ar 96000"],
 ["-b:a 16k", "-b:a 96k", "-b:a 128k", "-q:a 1", "-b:a 240k", "-b:a 320k",
 "-b:a 512k", "-q:a 0.25"]
 }}}
 (2304 combinations total)
 {{{--aac_coder anmr}}} seems to be unstable and prone to crashing.
 {{{-aac_coder faac}}} and {{{-aac_coder fast}}} often ignore bitrate
 blatantly.

 atomnuker: Yes, I am a member of the Fueru Wakame, the audio video
 encoding community on Slack. Glad to hear that you understand Japanese to
 that point.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Neither anmr, faac or fast were modified.

 It is possible that they need to be updated to avoid the crashing,
 although I don't see how exactly. You could try confirming whether earlier
 revisions also exhibit that behavior, and how far back.

 `faac` will probably be scrapped, `fast` will have to be rewritten, and
 `anmr` is a big question mark at present. I've been working on ANMR and
 some problems have surfaced that don't seem easy to resolve, or at all
 possible with ANMR's approach. Surely it can be made not to crash, but
 beyond that I'm unsure how far we can push ANMR.

 For now, the priority is `twoloop`.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Yeah, I asked on IRC but you seemed to be away: did you build with
 assertion_level=2? Can you share a sample that reproduces the crash? (or
 add the fuzzer as a fate test?)

 I don't see many ways in which that crash could happen. The only way I can
 think of has an assert that should have tripped earlier.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-13 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by kierank):

 Yes, same with assertion-level=2

 Sample can be found here: http://obe.tv/Downloads/fuzz1.wav


 {{{
 ./ffmpeg_g -i "fuzz1.wav" -strict -2 -y out.aac
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-05 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 I've been bugging Claudio almost daily to push his work to git master so
 that finally we can move on with testing it out and nailing any last bugs
 left.
 This might hopefully happen in a day or two if there are no any setbacks
 left.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-05 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 We're all at the edge of our seats here and waiting. ;)

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-10-05 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I have encoded over 200 GB of diverse sounds on diverse settings without
 apparent problems.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 Replying to [comment:420 Kamedo2]:
 > libavcodec / aaccoder_twoloop.h line 172: {{{60 - qstep}}}
 > {{{
 >  166 if (tbits > destbits) {
 >  167 for (i = 0; i < 128; i++)
 >  168 if (sce->sf_idx[i] < 218 - qstep)
 >  169 sce->sf_idx[i] += qstep;
 >  170 } else {
 >  171 for (i = 0; i < 128; i++)
 >  172 if (sce->sf_idx[i] > 60 - qstep)
 >  173 sce->sf_idx[i] -= qstep;
 >  174 }
 > }}}
 > might meant
 > {{{
 >  166 if (tbits > destbits) {
 >  167 for (i = 0; i < 128; i++)
 >  168 if (sce->sf_idx[i] < 218 - qstep)
 >  169 sce->sf_idx[i] += qstep;
 >  170 } else {
 >  171 for (i = 0; i < 128; i++)
 >  172 if (sce->sf_idx[i] > 60 + qstep)
 >  173 sce->sf_idx[i] -= qstep;
 >  174 }
 > }}}
 > or
 > {{{
 >  166 if (tbits > destbits) {
 >  167 for (i = 0; i < 128; i++)
 >  168 sce->sf_idx[i] = FFMIN(sce->sf_idx[i]+qstep,
 217);
 >  169 } else if (destbits > tbits){
 >  170 for (i = 0; i < 128; i++)
 >  171 sce->sf_idx[i] = FFMAX(sce->sf_idx[i]-qstep,
 61);
 >  172 } else{
 >  173 break;
 >  174 }
 > }}}

 you're right, v9c has it fixed (probably earlier versions too).

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 I'm confused what your post is meant to say. This code is just copied from
 the old position in aaccoder.c

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-17 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 libavcodec / aaccoder_twoloop.h line 172: {{{60 - qstep}}}
 {{{
  166 if (tbits > destbits) {
  167 for (i = 0; i < 128; i++)
  168 if (sce->sf_idx[i] < 218 - qstep)
  169 sce->sf_idx[i] += qstep;
  170 } else {
  171 for (i = 0; i < 128; i++)
  172 if (sce->sf_idx[i] > 60 - qstep)
  173 sce->sf_idx[i] -= qstep;
  174 }
 }}}
 might meant
 {{{
  166 if (tbits > destbits) {
  167 for (i = 0; i < 128; i++)
  168 if (sce->sf_idx[i] < 218 - qstep)
  169 sce->sf_idx[i] += qstep;
  170 } else {
  171 for (i = 0; i < 128; i++)
  172 if (sce->sf_idx[i] > 60 + qstep)
  173 sce->sf_idx[i] -= qstep;
  174 }
 }}}
 or
 {{{
  166 if (tbits > destbits) {
  167 for (i = 0; i < 128; i++)
  168 sce->sf_idx[i] = FFMIN(sce->sf_idx[i]+qstep,
 217);
  169 } else if (destbits > tbits){
  170 for (i = 0; i < 128; i++)
  171 sce->sf_idx[i] = FFMAX(sce->sf_idx[i]-qstep, 61);
  172 } else{
  173 break;
  174 }
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-11 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Replying to [comment:417 atomnuker]:
 > Anyway, Kamedo2: I pushed some PNS patches yesterday which should have
 fixed the drop in quality. Did it improve?
 Yes, 75156-gfd8b90f is great.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by heleppkes):

 PNS and IS are enabled by default, so your tests would've included them in
 any case.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Hmm, perhaps it's best I add a print for PNS/IS/Prediction/MS/TNS usage
 when the verbose level has been increased.
 Anyway, Kamedo2: I pushed some PNS patches yesterday which should have
 fixed the drop in quality. Did it improve?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Klaussfreire, Thank you for the explanation! At 240kbps, it was hard to
 spot the difference between {{{-aac_is 0}}} and {{{-aac_is enable}}}.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I have tested 75156-gfd8b90f. At 128kbps with IS, with PNS is better.

 http://wiki.hydrogenaud.io/index.php?title=Joint_stereo#Intensity_Stereo
 Intensity stereo is by definition a lossy coding method thus it is
 primarily useful at low bitrates. For coding at higher bitrates only mid-
 side stereo should be used.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-10 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by klaussfreire):

 In my tests, it has usually been the case that as you increase the
 bitrate, IS is used less while MS usage increases, naturally due to the
 R/D model used. If you see otherwise, it would be useful to know and have
 a sample to better tweak the model.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-09 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Confirmed that the current git head 75147-g9d742d2 fixed the regression.

 Replying to [comment:411 atomnuker]:
 > As for the L, R, M and S signal/noise ratio, did you test that without
 PNS? That could have interfered. Could you tell me if IS sounded better
 before or after without PNS?
 I have tested {{{-b:a 128k -ar 44100}}}, {{{-b:a 192k -ar 32000}}},
 {{{-b:a 320k -ar 48000}}}, {{{-q:a 1 -ar 44100}}}, {{{-q:a 2 -ar 48000}}},
 without additional {{{-aac_pns enable}}} nor {{{-aac_is enable}}}
 settings.

 What optional settings should I test?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-07 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 I think the sound deteriorated on ffmpeg75016-g50d9121, compared to
 74961-g61009a7, after fixing the bug. Tested on music tracks on 128k,
 192k, 320k, q1, q2. Stereo 192k 32000Hz is especially worsened.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-07 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Huh, that's odd. The changes which I made to PNS today (at 12:39 UTC,
 commit b6cc8ec7ec) brought PNS closer to what it used to be before but
 fixed the warbling artifacts at lower frequencies (it's used alot more
 now). The changes to the IS which fixed the bug yesterday (1956cfbaedd36)
 shouldn't really have done much to the quality at all and I didn't hear a
 difference.

 74961-g61009a7 is before I made my PNS changes from yesterday, so are you
 sure that the last current git master still sounds worse? The PNS commit I
 made yesterday did reduce PNS usage too much (before I fixed that today).

 Either way, I'll take a listen to what the encoder sounded like before and
 try to see if it's better in the current master.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-06 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:406 Kamedo2]:
 > Thank you. With your devotion, the sound is getting great, and I have
 heard no apparent problem on over 20 hours of music and speech tracks on
 common settings.
 Thanks, nice to know someone's using the encoder.
 Make sure to reencode them once the encoder's ready :-)

 Fixed the bug. Probably fixes quite a lot of IS artifacts too.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-06 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 Thank you. With your devotion, the sound is getting great, and I have
 heard no apparent problem on over 20 hours of music and speech tracks on
 common settings.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-06 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by Kamedo2):

 This sound will crash the FFmpeg, when the sampling rate is 96kHz.
 {{{
 ffmpeg74961-g61009a7 -y -i ffmpeg_96k_error.flac -c:a aac -strict
 experimental -b:a 96k -ac 2 -ar 96000 out.mp4
 ffmpeg74961-g61009a7 -y -i ffmpeg_96k_error.flac -c:a aac -strict
 experimental -b:a 160k -ac 2 -ar 96000 out.mp4
 ffmpeg74961-g61009a7 -y -i ffmpeg_96k_error.flac -c:a aac -strict
 experimental -q:a 1 -ac 2 -ar 96000 out.mp4
 }}}
 I tried many sine sweeps but it seems that the bug only happens when one
 of channel is inverted.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-09-06 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 There's something weird happening in the search_for_is for one of the
 phases.
 Will submit a patch in a few hours and reply here for you to test.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

2015-08-29 Thread FFmpeg
#2686: Native AAC encoder collapses at high bitrates on some samples
-+-
 Reporter:  Kamedo2  |Owner:
 Type:  defect   |  klaussfreire
 Priority:  normal   |   Status:  open
  Version:  git-master   |Component:  avcodec
 Keywords:  aac  |   Resolution:
  regression |   Blocked By:
 Blocking:   |  Reproduced by developer:  1
Analyzed by developer:  0|
-+-

Comment (by atomnuker):

 Replying to [comment:390 Kamedo2]:
  This rare sample and this command induces infinite loop on the current
 git head.
  {{{
  ffmpeg73505 -i ffmpeg_aac_error1.flac -c:a aac -strict experimental -q:a
 1 -ar 8000 out.mp4
  ffmpeg73505 -i ffmpeg_aac_error1.flac -c:a aac -strict experimental -b:a
 96k -ar 8000 out.mp4
  }}}
 I cannot replicate this bug anymore so it's probably fixed, could you test
 with the newest git master to see if it causes problems?

 I'll look into what causes the faac coder to get stuck at high bitrates.

--
Ticket URL: https://trac.ffmpeg.org/ticket/2686#comment:402
FFmpeg https://ffmpeg.org
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


  1   2   3   4   5   >