Audio issue with 96kHz

Johannes Bauer dfnsonfsduifb at gmx.de
Sat Mar 24 22:25:31 UTC 2018


On 24.03.2018 23:08, Johannes Bauer wrote:

> Recoded to 48 kHz and it sounds correct. It seems that the playback in
> that build is fixed at 48 kHz.

Just rebuild with latest versions, in particular mlt/kdenlive. Couldn't
build mlt master:

producer_avformat.c:1611:2: note: in expansion of macro
‘mlt_log_timings_begin’
  mlt_log_timings_begin();
  ^~~~~~~~~~~~~~~~~~~~~
cc -shared -o ../libmltavformat.so common.o factory.o
filter_avcolour_space.o filter_avdeinterlace.o filter_swscale.o
producer_avformat.o consumer_avformat.o filter_avfilter.o
filter_swresample.o -L/home/joe/Videos/build/bin/lib -Wl,--no-undefined
-Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework
-lmlt -lpthread -lm -Wl,--no-undefined -Wl,--as-needed
-L/home/joe/Videos/build/bin/lib -lavcodec
-L/home/joe/Videos/build/bin/lib -lavutil
-L/home/joe/Videos/build/bin/lib -lavformat
-L/home/joe/Videos/build/bin/lib -lswscale
-L/home/joe/Videos/build/bin/lib -lavdevice
-L/home/joe/Videos/build/bin/lib -lavfilter
-L/home/joe/Videos/build/bin/lib -lswresample
producer_avformat.o: In function `producer_get_audio':
/home/joe/Videos/build/src/mlt/src/modules/avformat/producer_avformat.c:2727:
undefined reference to `mlt_channel_layout_name'
common.o: In function `mlt_to_av_channel_layout':
/home/joe/Videos/build/src/mlt/src/modules/avformat/common.c:55:
undefined reference to `mlt_channel_layout_name'
common.o: In function `get_channel_layout_or_default':
/home/joe/Videos/build/src/mlt/src/modules/avformat/common.c:125:
undefined reference to `mlt_channel_layout_id'
/home/joe/Videos/build/src/mlt/src/modules/avformat/common.c:127:
undefined reference to `mlt_channel_layout_channels'
/home/joe/Videos/build/src/mlt/src/modules/avformat/common.c:129:
undefined reference to `mlt_channel_layout_default'
consumer_avformat.o: In function `consumer_thread':
/home/joe/Videos/build/src/mlt/src/modules/avformat/consumer_avformat.c:1543:
undefined reference to `mlt_channel_layout_id'
/home/joe/Videos/build/src/mlt/src/modules/avformat/consumer_avformat.c:1546:
undefined reference to `mlt_channel_layout_channels'
/home/joe/Videos/build/src/mlt/src/modules/avformat/consumer_avformat.c:1548:
undefined reference to `mlt_channel_layout_default'
filter_swresample.o: In function `configure_swr_context':
/home/joe/Videos/build/src/mlt/src/modules/avformat/filter_swresample.c:108:
undefined reference to `mlt_channel_layout_name'
/home/joe/Videos/build/src/mlt/src/modules/avformat/filter_swresample.c:108:
undefined reference to `mlt_channel_layout_name'
filter_swresample.o: In function `filter_get_audio':
/home/joe/Videos/build/src/mlt/src/modules/avformat/filter_swresample.c:271:
undefined reference to `mlt_channel_layout_name'

So I fell back on mlt 6.6.0, but all other versions are latest master:

eigen: 3.2.4.tar.gz (MD5 4d0d77e06f)
FFmpeg: git n3.5-dev-2636-g87455b78cc
frei0r: git v1.6.1-9-g2479e75560
kdenlive: git v17.12.3-26-g99f97927c3
lame: lame-3.99.5.tar.gz (MD5 84835b313d)
libepoxy: git 1.5.0-12-g74dbb7bac9
liboil: liboil-0.3.17.tar.gz (MD5 47dc734f82)
libvpx: git v1.7.0-215-g2b800d9394
mlt: git v6.6.0
movit: git 1.6.2
swfdec: git de1eef41a1
vid.stab: git v1.1.0-3-gafc8ea9fb0
x264: git 7d0ff22e8c
x265: x265_2.7.tar.gz (MD5 b0d7d20da2)

Problem exists with those as well.

Cheers,
Johannes


More information about the kdenlive mailing list