Sony Corp. will begin testing an Internet-based pay-television service in the United States this year, bringing live and on-demand programming to TVs and its PlayStation game consoles.

The product will make it easy for consumers to switch between live and Web-based programs, Andrew House, head of Sony Computer Entertainment, said at the International Consumer Electronics Show in Las Vegas. The Tokyo-based company will also test a video-game streaming service for the PlayStation, smartphones and TVs.

Chief executive Kazuo Hirai is banking on Sony’s engineering prowess, entertainment assets and products ranging from cameras to phones to rally the company and reach young consumers who want flexible access to content. In a CES keynote, he doubled down on his One Sony vision, two months after slashing the company’s earnings forecast because of stalling demand for TVs, cameras and Hollywood films.

“Sometimes at Sony we zigzag our way to great innovation, and sometimes we fail,” Hirai said, projecting images of failed products on the screen behind him. “It’s the reason we keep trying.”

A TV service may put Sony into competition with incumbent cable and satellite providers such as Comcast and DirecTV.

One hurdle that slowed Intel, which developed a similar Web-based technology, was the cost of the content. Sony has held talks with media companies including CBS, Comcast’s NBCUniversal, Fox Networks and its own Sony film and TV studios for content rights, according to people with knowledge of the situation, who asked not to be identified because negotiations are private.

Dan Race, a spokesman for Sony, declined to comment. Sony reached a preliminary accord to stream pay-TV programming from Viacom Inc. over the Web, a person said in August.

With One Sony, Hirai is trying to reinvigorate innovation at the Tokyo-based company, which has fallen behind more nimble competitors Apple and Google.

“We don’t consider any product a success unless we have delivered that ‘Wow,’ ” Hirai said. “The mission of Sony is to inspire and fulfill people’s curiosity around the world.”

For the Web-based TV service, Sony will combine live programming available on conventional TV with on-demand content offered by newer digital services, House said.

It will feature personalized menus for individual family members, user recommendations and the ability to start watching a program on one device, such as a PlayStation console, and resume on a different one, such as an iPad, House said.

The company will rely on an installed base of more than 70 million Web-enabled Sony devices that are already in U.S. living rooms, including 25 million PlayStation 3s, House said. The service will start with the PlayStation, the most-used networked device used for watching Netflix subscription-based video streaming.

“We’ll use our unique combination of network services, innovative devices, content properties and network partnerships to usher in a new era of home entertainment,” House said.

Since becoming chief executive in April 2012, Hirai has increased collaboration at the company’s disparate units, for example sending camera engineers to the company’s phone division to give the Xperia Z handset advanced photography capabilities.

Sony’s electronics and entertainment teams created the Ultra HD Media Player in eight months, helping the company take an early lead in a new generation of so-called 4K televisions.

“It’s time to move beyond the just-good-enough era,” Hirai said. “No more commodity products. We must and can do better.”

Hirai stumbled in October when Sony reported a $180 million quarterly loss at Sony Pictures Entertainment, giving credence to calls made last year by billionaire hedge-fund investor Daniel Loeb, who urged the company to sell as much as 20 percent of the film and TV production and music businesses in an initial public offering.

Since then, Sony has scored a hit with the PlayStation 4, introduced Nov. 15, which has taken the lead over Microsoft Corp.’s Xbox One.

Although Sony rejected Loeb’s spinoff plan, the investor has complimented Hirai in recent interviews. Hirai said that their relationship is “great.”

Sony sold 4.2 million PlayStation 4 units through Dec. 28, House said last week, exceeding analysts’ estimates. Microsoft said it had sold 3 million XboxOne players during 2013.

Sony sees Web-delivered content from its TV, movie and music units as crucial to turning around the struggling television manufacturing unit, which hasn’t made a profit in nine years and ranks fourth globally in revenue, according to Statista, a research service.

— Bloomberg