Just set it to a variable, then add that outside the ending quotes of the do shell script. You can also insert variables within the do shell script command(s). You just have to end the quotes, add the variable, then start the quotes again, paying attention to spaces when needed.
set file_path to quoted form of “/Users/Alex/Movies/Wall-E.avi”
do shell script "usr/local/bin/mediainfo ‘–Inform=Video;%Width%,%Height%,%DisplayAspectRatio%,%FrameRate%’ " & file_path
– quoted form is not needed in this case, but is if there are spaces in the path