BERLIN, Nov. 19 — Al-Qaeda’s second-in-command used a racially demeaning term to refer to President-elect Barack Obama in a videotape released Wednesday, and said Obama’s election represented “the American people’s admission of defeat in Iraq.”

In the 11-minute video, posted on the Internet, al-Qaeda’s deputy leader, Ayman al-Zawahiri, repeatedly and unfavorably compared the first black U.S. president-elect to Malcolm X, the black Muslim leader and activist who was assassinated 43 years ago.

“You represent the direct opposite of honorable black Americans like Malik al-Shabazz, or Malcolm X,” Zawahiri said, according to English subtitles of his Arabic remarks provided by al-Qaeda’s propaganda arm. “You were born to a Muslim father, but you chose to stand in the ranks of the enemies of the Muslims, and pray the prayer of the Jews, although you claim to be Christian, in order to climb the rungs of leadership in America.”

Zawahiri said Obama, Colin Powell and Secretary of State Condoleezza Rice “confirmed” Malcolm X’s definition of a “house negro,” a term the militant black leader often used to describe black leaders who were subservient to white interests.

The biting comments were the first time al-Qaeda’s leadership has reacted publicly to Obama’s election since he defeated Sen. John McCain (R-Ariz.) two weeks ago. Some analysts said the delayed response reflected uncertainty within al-Qaeda’s ranks over how to respond, given that Obama is widely seen in the Muslim world as the mirror opposite of the group’s longtime archenemy, President Bush.

“Zawahiri and others in al-Qaeda recognize that Obama has a certain appeal, not just to Americans but to people in the developing world,” said Evan F. Kohlmann, a terrorism analyst and senior investigator for the Nine/Eleven Finding Answers Foundation. “They feel a need to dampen this sense and enthusiasm and excitement for Obama.”

Zawahiri, 57, an Egyptian physician, is the second-ranking leader of al-Qaeda, behind only Osama bin Laden. According to U.S. intelligence officials, he is believed to be hiding somewhere in Pakistan. He has distributed dozens of video and audio recordings in recent years, eluding capture despite a $25 million reward offer posted by the U.S. government.

In Wednesday’s video recording, Zawahiri welcomed the pending withdrawal of U.S. troops from Iraq but warned Obama not to send additional forces to Afghanistan, as the president-elect has pledged to do.

“If you still want to be stubborn about America’s failure in Afghanistan, then remember the fate of Bush and Pervez Musharraf, and the fate of the Soviets and British before them,” Zawahiri said, referring to the former president of Pakistan, who resigned under pressure this year. “And be aware that the dogs of Afghanistan have found the flesh of your soldiers to be delicious, so send thousands after thousands to them.”

The video consisted of an audio recording of Zawahiri’s remarks in Arabic, with English subtitles scrolling underneath a still photo of the bespectacled doctor, dressed in white in front of a bookcase.

On the tape, Zawahiri is flanked by two separate photographs of Obama and Malcolm X. In his picture, Obama is wearing a skullcap and surrounded by Jewish leaders as he visits the Western Wall, Judaism’s holiest site. Malcolm X is shown on his knees, praying in a mosque.