0

We are using this mlt configuration

<?xml version='1.0' encoding='utf-8'?>
 <mlt title="Anonymous Submission" producer="main_bin" version="6.20.0" root="">
  <profile frame_rate_num="30" sample_aspect_num="1" display_aspect_den="9" colorspace="709" progressive="1" description="720p30" display_aspect_num="16" frame_rate_den="1" width="1280" height="720" sample_aspect_den="1"/>
  <consumer f="webm" cpu-used="1" crf="23" aq="6" max-intra-rate="1000" target="output_test.webm" threads="0" real_time="-3" mlt_service="avformat" vcodec="libvpx" quality="good" acodec="libopus" vb="0" in="0" out="2592000"/>

  <producer id="color_track" in="00:00:00,000" out="24:00:00,000">
   <property name="mlt_service">color</property>
   <property name="mlt_image_format">rgb24a</property>
   <property name="resource">black</property>
   <property name="length">2592000</property>
  </producer>

  <producer id="image" in="00:00:00,000" out="24:00:00,000">
   <property name="resource">background.png</property>
   <property name="mlt_service">qimage</property>
  </producer>

  <producer id="music" in="00:00:00,000" out="24:00:00,000">
   <property name="resource">my_music.opus</property>
   <property name="mlt_service">avformat-novalidate</property>
   <property name="audio_index">0</property>
   <property name="video_index">-1</property>
   <property name="length">2592000</property>
  </producer>

  <playlist autoclose="1" id="playlist0">
   <entry producer="music" in="00:00:00,000" out="24:00:00,000" />
  </playlist>

  <playlist autoclose="1" id="playlist2">
   <entry producer="image" in="00:00:00,000" out="24:00:00,000" />
  </playlist>

  <tractor id="tractor2" in="00:00:00,000" out="24:00:00,000">
   <track producer="color_track"/>
   <track hide="video" producer="playlist0"/>
   <track hide="audio" producer="playlist2"/>
  </tractor>
</mlt>

After executing

melt config.mlt

output file "output_text.webm" is generated, but without any audio. When I tried to render 10 minutes, audio is fine.

Any ideas, why audio is missing for longer duration?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.