#9369: join audio files command never ends
-------------------------------------+-------------------------------------
             Reporter:  Admir        |                     Type:  defect
  Okovic                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  join audio   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I am trying to join two audio files and when i call following command
 ffmpeg does not stop it just keep running.
 Command:

 {{{
 ffmpeg -y -i sideA.wav -i sideB.wav -filter_complex
 "[0:a][1:a]join=inputs=2[a]" -map "[a]" final.wav -loglevel debug
 }}}

 ffmpeg version 4.4
 built on ... ubuntu 20.4

 In output log i can not see any issues that will point on existing
 problem.
 After few hours of debuging i realised that when i reorded files command
 works fine.
 Working command:

 {{{
 ffmpeg -y -i sideB.wav -i sideA.wav -filter_complex
 "[0:a][1:a]join=inputs=2[a]" -map "[a]" final.wav -loglevel debug
 }}}

 Also i realised that when i add delay for one of the files(not both)
 command also works:
 Working command with delay:

 {{{
 ffmpeg -y -i sideA.wav -i sideB.wav -filter_complex
 "[0:a]adelay=0[a0];[1:a]adelay=1[a1];[a0][a1]join=inputs=2[a]" -map "[a]"
 final.wav
 }}}


 My guess is that issue is with sideA file since there is no real audio its
 just some backgrounde noise but either way ffmpeg should not get stuck and
 block process.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9369>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to