[FFmpeg-trac] #8354(undetermined:new): encode and merge two G729 files to opus

FFmpeg trac at avcodec.org
Mon Nov 4 09:30:55 EET 2019

#8354: encode and merge two G729 files to opus
             Reporter:  Asmaa        |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:  4.2
  undetermined                       |
             Keywords:  G729 , opus  |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
 Summary of the bug:
 I am trying to encode and merge raw G729 Files into opus file
 % ffmpeg -f g729 -i input1 -f g729 -i input2  -filter_complex  amerge
 -acodec libopus -ab 13000 -ac 1  -y  -threads 1 output

 ffmpeg version 4.2
 built on ...

 ffmpeg.exe output is :
 [libopus @ 0626ca40] Queue input is backward in time.
 and one second cut and distorted file.

 *** I solved the issue on a c++ code by:
 1-decoding inputs frames
 2-add them to filter graph
 3-encode the output of the filter graph

 filter graph built from :
 -two "abuffer" filters for inputs
 -one "amerge" filter
 -"aformat" filter (to force output format to be the same as the input
 -"sink" filter for the output

Ticket URL: <https://trac.ffmpeg.org/ticket/8354>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list