Not sure if it's the same, but my friend had the same encounter with her baby (her baby was 7 months old). Her baby will scream, complete with flailing arms and legs, for almost an hour every night. She suspected that it could be due to overstimulation so she tried to keep evening activities to a minimal. Just soothing "chats" and nothing overwhelming.
Oh! She also tried to get baby to nap more/longer in the day (though that is sometimes unsuccessful as baby simply doesn't want to sleep).