IF it was the transmission input splines - you'd be dead inthe water right there, and the noise wouldn't go away.
Since you saw smoke at the rubber boot of the driveshaft, I'd first suspect that your U-joint there has either failed or is in the process of disintegration. Or, possibly you lost/broke off one or more of the bolts that hold it to the transmission output shaft flange.. Or,shudder, the bearing in the output shaft has failed, and you'll need a transmission rebuild.
The input shaft spline failure will make a gawdawful racket, but once those splines fail, you'll lose the ability to apply any power into the transmission from the engine, no matter how much you rev the engine (and revving the engine will only make it grind things further into oblivion). BTDT...
I'd first look at what's inside the boot, check for bits of broken bolt and/or u-joint imminent failure. I'd also drain the transmission gear oil and look at it (and the magnetic drain plug) for any pieces of metal..