Top one looks stock, as the yoke with ID spline looks to have the screw in cap that helps keep the grease in the spline area.
The bottom one looks like a spline from a 540 RPM PTO on a tractor. One issue you might have with this is there is no easy way to keep grease on the spline and water, dirt, etc. out other than very frequent regreasing.