Setting aside how difficult it is to place literary value on any one piece of media to begin with, good characters and stories can come from any medium. Just because books are literary, and thus more likely to be able to directly inform someone of what a character is thinking, doesn't mean it's inherently better or worse than anything else.