Media playback is unsupported on your device Media caption Texas took a battering and is braced for severe flooding

Texas Governor Greg Abbott has warned that severe flooding is his main worry as the rains from Tropical Storm Harvey continue to lash the state.

Mr Abbott said the cities of Houston and Corpus Christi had already received as much as 20in (50cm) of rain.

He said another 40in of rain could be due before the storm subsides midweek.

Rescue efforts are being hampered by strong winds and thousands are without power. Two deaths have been confirmed, in the Rockport area and Houston.

In Aransas County, where Rockport is the chief town, a person died in a house fire on Friday night

A woman died in Houston as she drove through flooded streets on Saturday

Houston, the fourth biggest city in the US, could see 2in-3in (5cm-7.5cm) of a rain an hour on Saturday night, Mayor Sylvester Turner said.

About 4,500 inmates from prisons south of Houston are being evacuated to other prisons in east Texas because the Brazos River nearby is rising significantly, officials say.

The smaller of the city's two airports, Hobby, has closed because of standing water on its runways, it was announced overnight.

In pictures: Harvey batters Texas

Media playback is unsupported on your device Media caption The BBC's James Cook found a scene of devastation in Rockport

At the eye of the storm

James Cook, BBC News, Rockport

In the wreckage of Rockport locals are the first responders.

Residents have been going door-to-door checking to see if their neighbours are dead or alive.

The little town has not been destroyed but it is in bad shape, particularly in the poorer quarters where trailer homes have been smashed open by the wind.

Debris is trailing from the tops of trees and on the porch of one modest property a rain-sodden American flag lies on the ground: a splash of red, white and blue amid the green leaves of fallen trees.

Most people appear to have got out just in time with many leaving only at the last minute as the full power of the storm became clear.

Too poor to flee the hurricane

Hurricane Harvey as it happened

Image copyright AFP Image caption Rockport has not been destroyed by the storm but it is in bad shape

Image copyright Reuters Image caption Texas Governor Greg Abbott has warned that flooding in the state is not going to disappear overnight

Harvey began as a major category four hurricane - the first to make landfall in the US in 12 years - before it was downgraded to a tropical storm later on Saturday.

Mr Abbott warned of the "potential for very dramatic flooding" from the storm while expanding a declaration of emergency in the state from 30 counties to 50.

He has mobilised 1,800 military personnel to help with rescue and repair operations.

Forecasts say that up to 40in (1m) of rain could fall in some areas of the middle and upper Texas coast, the hurricane center (NHC) warned. Such precipitation could trigger flooding in low-lying areas and near water outlets and rivers.

The National Weather Service cautioned that the storm was so severe that many areas could be uninhabitable for months.

The storm has now mostly moved inland, officials say, with several places already reported to have received well over 10in of rain.

But coastal areas will also be flooded by storm surges during high tide, the NHC said.

Image copyright AFP Image caption Some Rockport residents lost both their homes and their furniture and belongings

Image copyright AFP Image caption Many buildings in the path of the storm - such as this church - have been badly damaged

Meteorologist Wendy Wong told the Houston Chronicle that at least seven tornadoes stemming from the hurricane had struck the Houston area between Friday evening and Saturday afternoon.

The tornadoes destroyed buildings and homes and are likely to continue throughout Sunday and Monday.

Earlier, Harvey made a double landfall: north-east of the city of Corpus Christi initially late on Friday local time, then just north of Rockport a few hours later.

When the storm struck close to Corpus Christi it had winds of up to 130mph (215km/h), but by 18:00 GMT its sustained winds had dropped to 70mph - therefore becoming a tropical storm.

It was moving at an extremely low speed - 2mph.

The port of Corpus Christi - which closed on Thursday in preparation for the storm - only received "minor damage". Its navigation channel is due to reopen after a survey is completed by engineers.

Texas City also expects to open its port within 48 hours.

Utility companies say nearly 300,000 customers have been without electricity.

President Donald Trump has freed up federal aid for the worst-affected areas and Governor Abbott praised the administration for "stepping up".

In a teleconference with cabinet members Mr Trump "emphasised his expectations that all departments and agencies stay fully engaged and positioned to support his number one priority of saving lives", the White House said.

At least 18 people have been rescued from vessels in distress by Coast Guard helicopters. ABC News has tweeted a video of four people being rescued off the coast of Port Aransas.

Rockport, normally home to about 10,000 people, appears to have been the hardest hit town.

Image copyright AFP Image caption Families are returning to their homes in Rockport

Image copyright AFP Image caption Tornadoes have destroyed buildings and homes and are likely to continue throughout Sunday and Monday

Travis Pettis, a reporter with the Caller Times newspaper in Corpus Christi, told the BBC that strong winds when the storm arrived made the rain feel like "needles".

Trees came down in the city and power supplies were cut, but thousands of residents had heeded warnings and boarded up their homes before fleeing.

Media playback is unsupported on your device Media caption Tornadoes caused much damage as the hurricane made landfall

Port Aransas, a city on Mustang Island, near Corpus Christi, is also reported to have extensive damage. Local media reports say a search and rescue operation is under way at a trailer park.

Harvey is the first major storm of the Atlantic hurricane season. It is forecast to meander across south-east Texas until Wednesday.

Mr Trump is likely to visit Texas early next week, the White House said.

The storm is the strongest to hit the US since Charley in August 2004 and the most powerful to hit Texas since Hurricane Carla in 1961, which killed 34 people, according to the Houston Chronicle.