[Kdenlive-devel] [PATCH] Update FFV1 profiles

Dan Dennedy dan at dennedy.org
Fri Jun 8 15:25:45 UTC 2012


On Thu, Jun 7, 2012 at 10:47 PM, Simon A. Eugster <simon.eu at gmail.com> wrote:
> Thanks Lou, this worked.
>
> @Devs,
> I get a message that pcm_s16le is not supported, and saw that although
> ffmpeg does support it, MLT does not (or at least it is not listed).
>
> Why is this?

it does as far as I know, but maybe your MLT is old or you have an
incompatible version of libavcodec:

commit 73794d4a611f94cb17d56df67de963113307410e
Author: j-b-m <jb at kdenlive.org>
Date:   Sat Feb 25 20:54:20 2012 -0800

    fix some audio codecs not detected with newer libavcodec

diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/con
index 80d8849..0b0322e 100644
--- a/src/modules/avformat/consumer_avformat.c
+++ b/src/modules/avformat/consumer_avformat.c
@@ -237,7 +237,11 @@ static int consumer_start( mlt_consumer consumer )
                mlt_properties_set_data( properties, "acodec", codecs, 0, (mlt_d
                mlt_properties_set_data( doc, "audio_codecs", codecs, 0, NULL, N
                while ( ( codec = av_codec_next( codec ) ) )
+#if LIBAVCODEC_VERSION_INT >= ((53<<16)+(34<<8)+0)
+                       if ( ( codec->encode || codec->encode2 ) && codec->type
+#else
                        if ( codec->encode && codec->type == CODEC_TYPE_AUDIO )
+#endif
                        {
                                snprintf( key, sizeof(key), "%d", mlt_properties
                                mlt_properties_set( codecs, key, codec->name );


> Simon
>
> On 07.06.2012 19:51, Lou wrote:
>> Simon,
>>
>> The resulting patch would be the same as my first patch, but it appears
>> that the mailing-list has altered the patch slightly (adding a>  to the
>> top line). This doesn't occur on another Mailman mailing-list I attach
>> patches to.
>>
>> Lou
>>
>> On Thu, 07 Jun 2012 07:25:17 +0200
>> "Simon A. Eugster"<simon.eu at gmail.com>  wrote:
>>
>>> Hi Lou,
>>>
>>> Cannot apply the patch with git; Can you please do:
>>> git format-patch HEAD^ --stdout>  my.patch
>>> to generate the patch? This also preserves the author and comments.
>>>
>>> thanks,
>>> Simon
>>>
>>> On 06.06.2012 04:28, Lou Logan wrote:
>>>> Patch attached.
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Kdenlive-devel mailing list
>> Kdenlive-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Kdenlive-devel mailing list
> Kdenlive-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel



-- 
+-DRD-+




More information about the Kdenlive mailing list