Added automatic retrieval of decoder parameters for external input