On Tue, Mar 12, 2013 at 8:56 AM, s v Satyanarayana <s.sv...@gmail.com> wrote:
> Hello everyone,
>
> When I try to encode a video at 24fps on mlt 0.8.8, in the resultant video,
> audio plays faster than video frames so that audio does not synchronize
> well with video and audio completes playback 2-3 minutes earlier than video.
>
> Here is the melt command
>  melt original.mp4 -consumer avformat:result_audio_faster.mp4
> frame_rate_num=24 frame_rate_den=1 vb=1000k ab=128k vprofile=baseline g=24
>
> melt version 0.8.8
> Original video contains 25fps and tried encoded video at 24fps.
>
> Original video link: https://www.dropbox.com/s/ytg7lnudabg4p2l/original.mp4
> Resultant video link:
> https://www.dropbox.com/s/f9u6rgtkd3v5hji/result_audio_faster.mp4
>
> Can any one help me so that audio gets synchronized well with video?
>

I was not able to reproduce the problem. There might be a problem your
build or something with your version of libavformat/codec. Or,
possibly, you do not have the resample plugin. Look for
libmltresample.so where your mlt plugins are located, e.g.
$prefix/lib/mlt. This plugin requires that you configure MLT with
--enable-gpl or --enable-gpl3 to make a GPL build of MLT. The fallback
FFmpeg-based audio resampler in MLT is LGPL, but it is only compatible
with libavcodec version < 54.26.0. IOW, at the moment we do not have a
LGPL audio resampler for cutting edge versions of FFmpeg or Libav.
These projects have diverged with respect to the libs. I may revisit
this soon as I have other work to do in this module.

-- 
+-DRD-+

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to