1. 02 Sep, 2015 7 commits
    • Rostislav Pehlivanov's avatar
      fate: add fuzziness to the AAC Encode prediction test · dcf72da8
      Rostislav Pehlivanov authored
      Fails on ppc64 architecture under Ubuntu.
      Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
      dcf72da8
    • Rostislav Pehlivanov's avatar
      fate: update AAC encoder tests · 72adf243
      Rostislav Pehlivanov authored
      TNS had both IS and PNS switched on when it makes more sense
      to have them both off.
      
      Prediction had a redundant argument.
      Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
      72adf243
    • Rostislav Pehlivanov's avatar
      aacenc: reorder coding tools · 20dc5271
      Rostislav Pehlivanov authored
      This commit reorders the coding tools such that they're doing what
      the decoder does in reverse order. The very first thing the decoder
      does is to decode M/S stereo if that's signalled, then prediction,
      IS, and finally TNS and PNS in another function.
      adjust_frame_information()'s application of IS and M/S was taken
      out into two separate functions since prediction doesn't expect
      to get the raw coefficients but rathe the coefficients at that
      part of the encoding process.
      
      The results show a much better PSNR when any combination of
      Intensity Stereo, Mid/Side stereo and Prediction is used, which
      is a sign of an increased encoder efficiency as well as the fact
      that the decoder gets what it expects.
      
      Otherwise, with only IS, PNS or prediction there are neither
      regressions nor improvements except in the case of IS, which
      now by itself (or with PNS) is less prone to artifacts. Enabling
      M/S (using stereo_mode) as well will also reduce stereo artifacts
      induced by IS, so in the very near future M/S may be enabled
      by default.
      Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
      20dc5271
    • LiuQi's avatar
      avformat/hlsenc: add a use_localtime option to expand the segment filename with localtime · a4055d3e
      LiuQi authored
      test examples:
      
      ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8
      
      [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll test-*.ts
      test-1441052221.ts
      test-1441052231.ts
      test-1441052235.ts
      test-1441052243.ts
      test-1441052249.ts
      -rw-r--r--  1 StevenLiu  staff  1310736  9  1 04:15 test-1441052131.ts
      -rw-r--r--  1 StevenLiu  staff   495192  9  1 04:15 test-1441052141.ts
      -rw-r--r--  1 StevenLiu  staff  1310736  9  1 04:17 test-1441052212.ts
      -rw-r--r--  1 StevenLiu  staff  1067840  9  1 04:17 test-1441052221.ts
      -rw-r--r--  1 StevenLiu  staff   235564  9  1 04:17 test-1441052231.ts
      -rw-r--r--  1 StevenLiu  staff  1187220  9  1 04:17 test-1441052235.ts
      -rw-r--r--  1 StevenLiu  staff   694848  9  1 04:17 test-1441052243.ts
      -rw-r--r--  1 StevenLiu  staff   526588  9  1 04:17 test-1441052249.ts
      [StevenLiu@localhost ffmpeg]$
      
      ./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8
      
      [StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll aaa-*.ts
      aaa-1441052417.ts
      aaa-1441052427.ts
      aaa-1441052437.ts
      aaa-1441052440.ts
      aaa-1441052449.ts
      -rw-r--r--  1 StevenLiu  staff  1310736  9  1 04:19 aaa-1441052382.ts
      -rw-r--r--  1 StevenLiu  staff   277300  9  1 04:19 aaa-1441052392.ts
      -rw-r--r--  1 StevenLiu  staff  1310736  9  1 04:20 aaa-1441052417.ts
      -rw-r--r--  1 StevenLiu  staff  1067840  9  1 04:20 aaa-1441052427.ts
      -rw-r--r--  1 StevenLiu  staff   235564  9  1 04:20 aaa-1441052437.ts
      -rw-r--r--  1 StevenLiu  staff  1187220  9  1 04:20 aaa-1441052440.ts
      -rw-r--r--  1 StevenLiu  staff   338776  9  1 04:20 aaa-1441052449.ts
      [StevenLiu@localhost ffmpeg]$
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      a4055d3e
    • Rainer Hochecker's avatar
    • Michael Niedermayer's avatar
    • Michael Niedermayer's avatar
  2. 01 Sep, 2015 29 commits
  3. 31 Aug, 2015 4 commits