When using transcode with ffmpeg with mpeg2 encoding, the following errors occur and the process fails: [transcode] warning: tc_audio_init_ffmpeg: could not open mpa codec ! [encoder.c] warning: audio export module error: init failed [transcode] critical: failed to init encoder Reproducible: Always Steps to Reproduce: 1.transcode -i mymovie.mkv -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o mymovie -D0 -b224 -N 0x2000 -m mymovie.ac3 2. 3. Actual Results: Error - processing fails Expected Results: transcoded and demuxed video and audio files suitable for DVD.
There is a patch for this: diff -r 4e4c3693df55 export/aud_aux.c --- a/export/aud_aux.c Tue Apr 06 09:14:49 2010 +0900 +++ b/export/aud_aux.c Tue Apr 06 09:24:20 2010 +0900 @@ -347,6 +347,7 @@ //-- set parameters (bitrate, channels and sample-rate) -- //-------------------------------------------------------- memset(&mpa_ctx, 0, sizeof(mpa_ctx)); // default all + mpa_ctx.codec_type = CODEC_TYPE_AUDIO; mpa_ctx.bit_rate = vob->mp3bitrate * 1000; // bitrate dest. mpa_ctx.channels = vob->dm_chan; // channels mpa_ctx.sample_rate = vob->a_rate;
Fixed in CVS, thanks Harry.