+1 the same way Dave, Ando & other previous great tips. You learn over time. I have no perfect pitch, but the term Relative pitch applies. After looking at the video when using software to pull down. Then watching hands for fun (really the ear is it) with VLC Media Player. Then the looping of the mp3 (of finding a higher fidelity version of the song) export in Seventh String Transcribe. Note question 9. http://www.seventhstring.com/xscribe/faq4.html
(I did purchase Transcribe.)
Here is a long long winded post on this a little while back including links to a Marks excellent youtube video doing seventh string transcribing right into Sibelius. Thus then you have your midi you can export as well.http://www.pianoworld.com/forum/ubbthreads.php/ubb/showflat/topic/128843/gonew/1.html
There are allot of these free games out there that are fun.http://www.themelodymaster.com/chord.php
Also, I have not bought into any of ear training $$ programs. My ears are free.
I have bought Synthesia to play midi files from ClassicalMidiConnectioin that others have already sequenced; for learning fun.
For transposing my own attempts into Sheet/midi I use mostly another dirt cheap great program, Notation Composer.
imho, yrmv & all other assorted disclaimers.