Original novel Dream Story vs the film
So I managed to find an audiobook of a translation of the original book Rhapsody: A Dream Novel by Arhtur Shnitzler, into English called Dream Story by Otto P. Schinnerrer and its only 2hrs 57 minutes which is unusually short. Most books I read are 7-8 hours, with the bigger ones that deal with scientific or medical issues reaching 14 hours long, although these are rare.
I'm exactly 1hr 33m through at which point the character leaves the debauchery party and it seems striking how lines in the translation match up pretty much directly with what was in the film, phrases like "if you only knew" and words of warning by the film character Red, who in the book is described as Black (why did SK change this?) and the woman who sacrifices herself saying something like 'take me'. It seems odd to me that most books are 8hrs long and most films are 90 minutes long. So it seems he has borrowed very heavily from the book in order to make EWS which is 2hrs 31 minutes long until you get to credits. The scene of Bill leaving the debauchery party is 1hr 25 minutes in. This is obviously VERY close in timeline in relation to the book.
On a side note, it's kind of strange people say things like "that movie ruined a good book" but this is so copied in narrative, almost to the point of it being boring as I've already seen the film several times, it would be difficult to say that about this particular film.