>I added the -N 0x2000 option and get the following command now:
[...]
>which result in the error (full output at the end of the email):
>
>[transcode] PCM -> AC3
>
>codec type or id mismatches
This looks like the same issue I patched recently. Try the patch below
(to be included in 1.1.6).
--Andrew Church
[email protected]
http://achurch.org/
------------------------------------------------------------------------
# HG changeset patch
# User achurch
# Date 1270537214 -32400
# Branch transcode-1_1
# Node ID 65caec1c33c0775e48e1250ee02f7e4df3472be1
# Parent 4e4c3693df5505a24c43ea36abe02bf6c6840260
[fix] Fix audio encoding failure with -y ...,tcaud under recent ffmpeg.
Symptom:
[transcode] PCM -> AC3
codec type or id mismatches
[transcode] warning: tc_audio_init_ffmpeg: could not open mpa codec !
Bug reported by Thomas Börkel.
diff -r 4e4c3693df55 -r 65caec1c33c0 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 16:00:14 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;