Replace the hardcoded flv with determine_ext. Let rtmpdump parse the url.
Make id group non-greedy so that .html is not included in it.