On Wed, Apr 20, 2011 at 11:54 AM, stefan <[email protected]> wrote:
> hi,
> i just wanted to try out the new sdi in and keying features with mlt/melted.
> therefore i set up a new ubuntu 10.10 box.
> i installed the requirements:
> sudo apt-get install git automake autoconf libtool intltool g++ yasm
> swig libmp3lame-dev libgavl-dev libsamplerate-dev libxml2-dev
> ladspa-sdk libjack-dev libsox-dev libsdl-dev  libgtk2.0-dev
> libswfdec-dev libqt4-dev  libexif-dev  libtheora-dev   libvdpau-dev
> libvorbis-dev  python-dev
>
> and then run the ./build-melted.sh script
>
> unfortunatly there is an error when compiling the avformat modul of
> mlt. (error attached)
>
> any hint what this could be related to?

FFmpeg just incremented the major version of libavcodec and removed
some deprecated things. It will take some work to fix this while
retaining compatibility with recent releases, but I will do that this
week. In the meantime, rm -rf src/ffmpeg, edit build-melted.sh, change
to FFMPEG_HEAD=0 and FFMPEG_REVISION=v0.6.1, and re-run the script.

> thanks in advance
> stefan
>
>
> filter_avcolour_space.c:76: warning: 'struct SwsContext' declared
> inside parameter list
> filter_avcolour_space.c:76: warning: its scope is only this definition
> or declaration, which is probably not what you want
> filter_avcolour_space.c: In function 'av_convert_image':
> filter_avcolour_space.c:140: warning: implicit declaration of function
> 'img_convert'
> filter_avcolour_space.c: At top level:
> filter_avcolour_space.c:76: warning: 'set_luma_transfer' defined but not used
> producer_avformat.c: In function 'producer_avformat_init':
> producer_avformat.c:157: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> producer_avformat.c:157: error: (Each undeclared identifier is
> reported only once
> producer_avformat.c:157: error: for each function it appears in.)
> producer_avformat.c:167: error: 'CODEC_TYPE_VIDEO' undeclared (first
> use in this function)
> producer_avformat.c: In function 'find_default_streams':
> producer_avformat.c:271: error: 'CODEC_TYPE_VIDEO' undeclared (first
> use in this function)
> producer_avformat.c:317: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> producer_avformat.c: In function 'producer_open':
> producer_avformat.c:551: warning: 'url_exist' is deprecated (declared
> at /home/dorfadmin/melted/20110420/include/libavformat/avio.h:343)
> consumer_avformat.c: In function 'consumer_start':
> consumer_avformat.c:249: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> consumer_avformat.c:249: error: (Each undeclared identifier is
> reported only once
> consumer_avformat.c:249: error: for each function it appears in.)
> consumer_avformat.c:269: error: 'CODEC_TYPE_VIDEO' undeclared (first
> use in this function)
> consumer_avformat.c: In function 'add_audio_stream':
> consumer_avformat.c:428: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> consumer_avformat.c:480: error: 'AVStream' has no member named 'language'
> consumer_avformat.c:480: error: 'AVStream' has no member named 'language'
> producer_avformat.c:668: warning: 'url_fileno' is deprecated (declared
> at /home/dorfadmin/melted/20110420/include/libavformat/avio.h:326)
> consumer_avformat.c: In function 'add_video_stream':
> consumer_avformat.c:575: error: 'CODEC_TYPE_VIDEO' undeclared (first
> use in this function)
> consumer_avformat.c:585: warning: implicit declaration of function
> 'avcodec_thread_init'
> producer_avformat.c: In function 'get_audio_streams_info':
> producer_avformat.c:829: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> producer_avformat.c: At top level:
> producer_avformat.c:857: warning: 'struct SwsContext' declared inside
> parameter list
> producer_avformat.c:857: warning: its scope is only this definition or
> declaration, which is probably not what you want
> producer_avformat.c: In function 'convert_image':
> producer_avformat.c:976: warning: implicit declaration of function 
> 'img_convert'
> producer_avformat.c:984: warning: comparison between pointer and integer
> producer_avformat.c:984: warning: comparison between pointer and integer
> consumer_avformat.c: In function 'consumer_thread':
> consumer_avformat.c:1185: warning: 'url_fopen' is deprecated (declared
> at /home/dorfadmin/melted/20110420/include/libavformat/avio.h:279)
> producer_avformat.c: In function 'producer_get_image':
> producer_avformat.c:1143: error: 'PKT_FLAG_KEY' undeclared (first use
> in this function)
> consumer_avformat.c:1385: error: 'PKT_FLAG_KEY' undeclared (first use
> in this function)
> consumer_avformat.c:1457: warning: implicit declaration of function
> 'img_convert'
> consumer_avformat.c:1673: warning: 'url_fclose' is deprecated
> (declared at /home/dorfadmin/melted/20110420/include/libavformat/avio.h:280)
> producer_avformat.c: In function 'video_codec_init':
> producer_avformat.c:1551: warning: implicit declaration of function
> 'avcodec_thread_init'
> producer_avformat.c: In function 'producer_set_up_video':
> producer_avformat.c:1712: error: 'CODEC_TYPE_VIDEO' undeclared (first
> use in this function)
> producer_avformat.c: In function 'decode_audio':
> producer_avformat.c:1864: warning: 'av_get_bits_per_sample_format' is
> deprecated (declared at
> /home/dorfadmin/melted/20110420/include/libavcodec/avcodec.h:3870)
> make[2]: *** [consumer_avformat.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> producer_avformat.c: In function 'producer_get_audio':
> producer_avformat.c:2034: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> producer_avformat.c: In function 'producer_set_up_audio':
> producer_avformat.c:2208: error: 'CODEC_TYPE_AUDIO' undeclared (first
> use in this function)
> make[2]: *** [producer_avformat.o] Error 1
> make[2]: Leaving directory 
> `/home/dorfadmin/melted/src/mlt/src/modules/avformat'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/home/dorfadmin/melted/src/mlt/src/modules'
> make: *** [all] Error 1
> ERROR: Unable to build mlt
> LOG: Process has finished. Reason: FAILURE Some kind of error occured:
> Unable to build mlt
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Mlt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>



-- 
+-DRD-+

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to