i got locked out of my iphone, well not really but the device wanted to treat my computer as a NEW computer and wanted to delete my content off my iphone before syncing.
you didnt say which os you are using but in windows its simple to just view your idevice contains using windows explorer and enable the hidden files and then pull everything off of it. i dont know if that is what you wish to do. if you wish to crack the password on the device? restoring it should work. if you extract all of the contents beforehand, then you can just resync them later. given they arent drm video tied to another account.