command: return error on invalid/absent IDs with ff-sid/ff-aid

Instead of just disabling the stream.

Also, check if the selected track has the right type, or we'd crash.