I would like to connect my MacBook Pro, which has
Mini-DVI DisplayPort and FireWire ports (I have DisplayPort to DVI converter as well).
What is the best way to connect it to a Samsung TV, which has the ports shown below?
Well it really depends on WHICH MacBook Pro you have as there are a number of output options available.
If you have a fairly recent one I would get the mini display port to HDMI adapter available from Apple (or Amazon, or whoever) and an HDMI cable and use that. It also has the benefit of carrying audio as well so you don't need a separate audio cable.
I use this exact setup with my Mac Mini to play videos I get from the iTunes store on my living room TV set. Works a treat!
Mini-DVI does not carry audio, so a Mini-DVI to HDMI cable won't carry audio. However, it is by far superior to VGA or component connections.
For the audio, you can use a 3.5mm male to male cable, and connect to the
PC/DVI AUDIO IN jack. You can also use a 3.5mm cable to red and white components like the one below. They're of equal quality, so it comes down to what you can find.
The most favourable option for audio however, depends not on your TV but on your audio system. I see you have an optical audio out cable leading out of your TV, which leads me to assume you have an audio system which accepts at least one optical audio input. Using a toshlink cable with a toshlink to minitoshlink adapter (which are typically sold together) with the audio connection will ensure the highest quality audio (even support surround sound).