Hello,
cool, it worked!
I have only a "No channel layout specified. The encoder will guess the
layout, but it might be incorrect." but I don't see any actual problem
so far.
I have uploaded the patched packages to my experimental repository,
check http://eric.lavar.de/comp/linux/debian/ (section Debian
Repositories, distro = experimental).
I also attach the interdiff for the interested ones.
Eric
Andrew Church wrote:
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
achu...@achurch.org
http://achurch.org/
diff -u transcode-1.1.5/debian/changelog transcode-1.1.5/debian/changelog
--- transcode-1.1.5/debian/changelog
+++ transcode-1.1.5/debian/changelog
@@ -1,3 +1,11 @@
+transcode (3:1.1.5-0.6) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Patch to avoid 'tc_audio_init_ffmpeg: could not open mpa codec'
+ error.
+
+ -- Eric Lavarde <d...@zorglub.s.bawue.de> Wed, 14 Apr 2010 20:30:42 +0200
+
transcode (3:1.1.5-0.5) unstable; urgency=low
* Rebuild against libmagick*3
diff -u transcode-1.1.5/debian/patches/series
transcode-1.1.5/debian/patches/series
--- transcode-1.1.5/debian/patches/series
+++ transcode-1.1.5/debian/patches/series
@@ -3,0 +4 @@
+05_codecmismatch.diff
only in patch2:
unchanged:
--- transcode-1.1.5.orig/debian/patches/05_codecmismatch.diff
+++ transcode-1.1.5/debian/patches/05_codecmismatch.diff
@@ -0,0 +1,12 @@
+Index: transcode-1.1.5/export/aud_aux.c
+===================================================================
+--- transcode-1.1.5.orig/export/aud_aux.c Tue Apr 06 09:14:49 2010 +0900
++++ transcode-1.1.5/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;