Opened 9 years ago

Last modified 19 months ago

#4773 reopened enhancement

Multidimensional Quantization needs aeons

Reported by: xtemp09 Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: flac
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

When multi_dim_quant is on, ffmpeg requires too many days to convert.

Could you add multithreading and/or openCL support?

Change History (4)

comment:1 by llogan, 9 years ago

Resolution: invalid
Status: newclosed
Version: git-masterunspecified

To make this a valid ticket please include your actual ffmpeg command, the complete console output, and a sample input file if it is required to reproduce the issue.

comment:2 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedavcodec
Priority: normalwish
Reproduced by developer: set
Resolution: invalid
Status: closedreopened
Type: defectenhancement
Version: unspecifiedgit-master
$ time ffmpeg -f lavfi -i sine -multi_dim_quant 0 -t 1 -acodec flac -f null -
ffmpeg version N-74414-g1bbb5ea Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 33.100 /  5. 33.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, lavfi, from 'sine':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: flac, 44100 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.57.100 flac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> flac (native))
Press [q] to stop, [?] for help
size=N/A time=00:00:01.00 bitrate=N/A    
video:0kB audio:12kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

real    0m0.030s
user    0m0.010s
sys     0m0.018s
$ time ffmpeg -f lavfi -i sine -multi_dim_quant 1 -t 1 -acodec flac -f null -
ffmpeg version N-74414-g1bbb5ea Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 33.100 /  5. 33.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, lavfi, from 'sine':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: flac, 44100 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.57.100 flac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> flac (native))
Press [q] to stop, [?] for help
size=N/A time=00:00:01.00 bitrate=N/A    
video:0kB audio:12kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

real    0m18.847s
user    0m18.776s
sys     0m0.057s

comment:3 by Carl Eugen Hoyos, 9 years ago

Did you really report a duplicate of your own ticket #4638?
I sincerely hope you didn't do this to speed up implementation...

in reply to:  3 comment:4 by Balling, 19 months ago

Replying to Carl Eugen Hoyos:

Did you really report a duplicate of your own ticket #4638?
I sincerely hope you didn't do this to speed up implementation...

This is not a duplicate. multi_dim_quant option requires eons to compute. It is true.

Note: See TracTickets for help on using tickets.