Giacomo Meyerbeer ( born near Berlin , 5 September 1791 ; died Paris , 2 May 1864 ) was a famous German-born opera composer . Giacomo Meyerbeer ( 5 September 1791 -- 2 May 1864 ) was a noted German-born opera composer , and the first great exponent of `` grand opera . ''