TODO 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. 1. bug in resample code: downsampling from 44101 to 44100 causes
  2. a seg fault. Workaround in place for now: resampling disabled
  3. if input/output samplerates agree to 4 digits.
  4. 2. high bitrate encodings have trouble on some hardware players.
  5. Track this down. Probably caused by --strictly-enforce-ISO and
  6. IXMAX_VAL. Try setting IXMAX_VAL back to 8191 and/or
  7. maxmp3buf=8*960 to see if there is a working combination.
  8. note: one of the decoder bugs was identified. It is caused by using
  9. different block sizes on both channels. A parameter need to be
  10. added to Lame to handle workarounds.
  11. 3 frontend: code is a complete mess. But it has so many debugged
  12. features it will be a lot of work to re-write.
  13. 4. MSVC project files. It would be nice to create a working
  14. MSVC6 workspace, which included all the projects as possible
  15. targets:
  16. lame.exe
  17. mp3x.exe (require GTK libs)
  18. lame_enc.dll
  19. ACM codec
  20. directshow codec
  21. I think the only MSVC5 project that we need to preserve is
  22. for lame_enc.dll, since Albert Faber (still?) doesn't use VC6?
  23. But no reason we cant have VC5 and VC6 project files for the dll.
  24. 5. NOGAP encoding:
  25. -nogap: more testing, fix options, test id3 tags?
  26. Can we change id3 tags without reseting the encoder??
  27. At the end of encoding 1.wav, call lame_get_mf_samples_to_encode()
  28. to find the number of non encoded buffered PCM samples. Then
  29. encode samples from 2.wav until these PCM samples have been
  30. encoded, *THEN* call lame_encode_flush_nogap() and close
  31. out file 1.mp3.
  32. NOGAP decoding:
  33. lame --decode --nogap file1.mp3 file2.mp3 file3.mp3
  34. should also work. What needs to be done:
  35. get_audio.c: We need a way to open a second mp3 file, without
  36. calling lame_decode_init() and reinitializing mpglib.
  37. And the mpglib needs to know to look for new Xing
  38. tags at the beginning of file2.mp3 and file3.mp3.
  39. 6. Does stdin work when LAME is compiled to use libsndfile?
  40. (new version of libsndfile will support this - try this out)
  41. 7. LAME has problems with pure DC input. i.e. a square wave with
  42. a frequency well below 20 Hz. Not very important, but it should
  43. be fixed.
  44. 8. mgplib has bugs with i-stereo. flag denoting invalid
  45. i-stereo value (= frame is m/s stereo) is not correct.
  46. 9. lowpass filter: for M/S stereo, use more filtering for the side
  47. channel, less filtering for mid channel. We need to first replace
  48. the polyphase filter with an FIR lowpass filter with finer frequency
  49. resolution before implementing this.
  50. 10. LAME has a 31 point FIR filter used for resampling, which
  51. can also be used as a lowpass. When resampling is done,
  52. use that filter to also lowpass instead of the polyphase filter.
  53. 11. Even when resampling is not needed, should we use an FIR filter
  54. for the lowpass? If it is not too much slower, yes. If it
  55. is slower, then it should be an option since it will produce
  56. higher quality.
  57. 12. We should consider moving the experts options from the *long
  58. help* text into an *experts only* help text. The average Joe gets
  59. knocked down by the huge number of possibilities to setup lame.
  60. 50. Better tonality estimation.
  61. Gpsycho uses predictability, and so needs a delay to detect the tonality
  62. of a sound.
  63. Nspsytune seems to miss tonals when several of them are too narrow.
  64. We would probably need the best of both.
  65. 60. Different ATH handling for sfb21. We are using the minimum value of ath
  66. in each whole sfb. in sfb21 this leads to very high bitrates.
  67. We could perhaps use 2 or 3 ath partitions in sfb21
  68. note: partially done
  69. 70. Use mixed blocks.
  70. 90. Use intensity stereo. This is a must-have for low bitrates, but if the
  71. algorythm is very good it could also be used in every case.
  72. Note: mpg123 (and all derivatives, like xmms and lame/mpglib)
  73. have bugs in the intensity stereo decoding. Bugs have been there
  74. for years since there are very few intensity stereo mp3's out there.
  75. 95. Merge GOGO's fast assembler routines.
  76. 96. It would be nice to save some information whilst encoding
  77. a: wave -> mp3
  78. a RIFF/wave can contain LIST chunks with information
  79. about author, title, etc.
  80. ==> could go into TAG fields of resulting mp3
  81. b: mp3 -> mp3
  82. ==> we could copy the TAG directly
  83. c: mp3 -> wave
  84. ==> copy TAG into LIST chunk
  85. 97. Integrate plusV extensions
  86. 99. To be able to encode as fast as FastEnc