The global recession, shrinking advertising sales and fears that the Internet could render big media empires obsolete provide an ominous backdrop for executives at this week's Sun Valley conference.

Herb Allen's boutique investment bank Allen & Co has organized this retreat in the affluent mountain resort town in south-central Idaho every summer for 27 years, inviting guests such as Rupert Murdoch, Sumner Redstone and Barry Diller.

But never before have the media elite been harder pressed to find ways to survive and grow, whether through acquisitions or alliances that they forge over hikes, horseback rides and after-dinner drinks at this historical meeting ground for media and technology deal makers.

People in the traditional media world are terrified, said Ken Auletta, a New Yorker magazine media writer and author of several books about the media industry, who will chair a panel on new media at this week's conference.

They're in the analog world, and the world is becoming digital, he said. They're insecure about what's going to happen to their businesses.

This year's conference from July 7-12 will feature panel discussions, including likely themes from globalization to President Barack Obama's handling of the financial crisis.

But the real action will be deal action. Last year, Sun Valley was about Microsoft Corp's failed bid to buy Yahoo Inc.

This year, the drama may lie with Time Warner Inc, Viacom Inc and CBS Corp as their executives stroll with a passel of rich money managers like Time Warner investor Vivi Nevo and Yahoo shareholder Gordon Crawford.

Time Warner Chief Executive Jeffrey Bewkes plans to spin off AOL before the end of the year, and speculation is growing on whether he will also ditch the struggling Time Inc magazine unit -- the kinds of decisions that guests are known to make as they linger by the duck pond or knock back a beer.

Chatter also is surfacing over whether Bewkes is in a buying mood. Variety's Peter Bart last month named the DreamWorks Animation movie studio as a target, and Viacom, which distributes DreamWorks movies through its Paramount division, as a rival suitor.

Paramount is already in talks to combine its DVD manufacturing and distribution operations with a rival studio such as News Corp's Fox or Sony Corp's Sony Pictures to cut costs, a source told Reuters last week.

PUTTING FAITH, AND STOCK, IN MEDIA

Bankers expect dealmaking in Hollywood to heat up this summer, as media companies look for new growth opportunities and ways to cut costs as they grapple with slowing DVD sales and tight corporate advertising budgets.

I would not be surprised if there was a big CBS story. They're a traditional company that is in one of the most challenged sectors in traditional media today, said Mike Vorhaus, president of Magid Advisors, part of media consulting and research firm Frank N. Magid Associates.

Media watchers will make hay with whomever Murdoch lunches, particularly as the News Corp chief stakes his new-media credentials on rehabilitating MySpace, which has lost the title of world's biggest online social network to Facebook.

MySpace's new management team is expected to show up, although it is unclear if Mark Zuckerberg, the 25-year-old chief of Facebook, will. Twitter Chairman Evan Williams is on the guest list, as are Google CEO Eric Schmidt and Dell Inc chief Michael Dell.

Some Internet companies are feeling pretty good about themselves ... and have some currency they can use to buy some companies, Vorhaus said.

They will have to act soon. Media stocks like News Corp, Time Warner, Walt Disney Co and Viacom, have rallied 50 percent to 80 percent since hitting big lows in March.

But just after Sun Valley comes quarterly earnings season, and analysts are expecting big profit drops for many media companies as advertising budgets keep shrinking.

U.S. ad spending likely will fall an average of 1.7 percent a year to $174 billion in 2013 from $189 billion in 2008, with revenue declines likely to hit TV ads, the music business and publishers, according to a study from PricewaterhouseCoopers.

At the same time, U.S. digital ad spending will be a quarter of total industry revenue by 2013, the report said.

Against that backdrop, content companies are likely to discuss partnerships with distributors such as Time Warner and Comcast Corp's TV Everywhere online video project.

Those companies hope these projects will let them adapt to the Internet age without sacrificing the billions of dollars that their traditional businesses bring them.

There's been a lot of deep cost-cutting at all of these companies. The question is going to be how do they repair their business model after the cuts, said Miller Tabak analyst David Joyce.

(Reporting by Robert MacMillan; Additional reporting by Yinka Adegoke and Anupreeta Das in New York and Alexei Oreskovic in San Francisco; Editing by Maureen Bavdek)