FS#20587 - [transcode] change in the libavcodec interface breaks transcode
Attached to Project:
Arch Linux
Opened by Mal Haak (insanemal) - Tuesday, 24 August 2010, 00:31 GMT
Last edited by Eric Belanger (Snowman) - Friday, 24 September 2010, 03:35 GMT
Opened by Mal Haak (insanemal) - Tuesday, 24 August 2010, 00:31 GMT
Last edited by Eric Belanger (Snowman) - Friday, 24 September 2010, 03:35 GMT
|
Details
Description:
Use of transcode to convert PCM embedded in AVI to AC3 causes following error [transcode] warning: tc_audio_init_ffmpeg: could not open mpa codec ! According to the Transcode mailing list there is a patch that can fix it. 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; As pertranscode-users@exit1.org/msg02234.html"> http://www.mail-archive.com/transcode-users@exit1.org/msg02234.html Apparently to be included in the elusive 1.1.6 release. Steps to reproduce: Use transcode on any AVI file. |
This task depends upon
Closed by Eric Belanger (Snowman)
Friday, 24 September 2010, 03:35 GMT
Reason for closing: Fixed
Additional comments about closing: transcode-1.1.5-5
Friday, 24 September 2010, 03:35 GMT
Reason for closing: Fixed
Additional comments about closing: transcode-1.1.5-5