poyil.blogg.se

Ffmpeg concat audio out of sync
Ffmpeg concat audio out of sync




  1. #Ffmpeg concat audio out of sync how to#
  2. #Ffmpeg concat audio out of sync full#

The test was performed with video.js contrib dash. There are no errors from mp4box or on chrome console. The problem is only visible after the repetition of several loops.

ffmpeg concat audio out of sync

If I reload the page the audio will be back synchronized. The problem starts to occur only when the loop begins repetitions:įor example if I watch a video of 20 minutes, audio and video are synchronized, when the video repeats its self as desired with -dash-live the delay between audio and video begins to grow, which will become evident after 3, 4 repetitions. I can notice a problem of audio / video synchronization that occurs only after some loops of the video in input: Instead of commenting the line 60 in transcode-video.Hi there, testing the latest version with the addition -bound with -dash-live I'm also encountering this issue and unfortunately the workarounds above didn't seem to work for me, which is pretty unfortunate.ĭid anybody find a way to get audio to consistently work?įrom ffmpeg-concat.

#Ffmpeg concat audio out of sync how to#

I would love to hear thoughts about other people and ideas on how to progress this amazing script to a useful shape.įrom ffmpeg-concat. The current version of this amazing script seems to be a bit limited to very specific scenarios where all video inputs come from the same source, a very controlled environment. With options to define video and audio codecs and other ffmpeg params. Ideally I would like to just set an array of input videos and then merge with concat one after the other setting the gltransitions in between. In my case that becomes a mess because all the different video encodings in my inputs.

ffmpeg concat audio out of sync

I don't get why we have the approach to set all the temp raw images and temp audio and only allow us to send args to the output video transcoding. It would be great if ffmpeg-concat could evolve to use ffmpeg concact as in the example here: transitive-bullshit/ffmpeg-gl-transition#4 (comment) When I bring the gltransition (using my own compiled ffmpeg) I wasn't able to get it working correctly yet as I want it. Example: ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex " concat=n=2:v=1:a=1 " -map "" -map "" -vsync 2 output.mp4 I was able to concatenate videos with synced audio directly using ffmpeg but I'm struggling to put it all together with the gltransition filter.

ffmpeg concat audio out of sync

I think because of the context set and my source videos all have different encoding frame rates and are different sizes and etc. My problem is that the audio then is all out of sync.

ffmpeg concat audio out of sync

Depending on your system you might want to use other audio codec. So my work around was use '-c:a aac' instead sent in the args parameter. If we want to keep existing audio we should have control on the codec used.

#Ffmpeg concat audio out of sync full#

I think we should have one args variable for audio to avoid having that always set by default if we don't send a full soundtrack for the output. I was able to find a workaround by commenting the '-c:a', 'copy' in line 60 of the transcode-video.js. Comments (3) laranjaquadrada commented on October 14, 2022 HOT 3 OPEN bypasses commented on Octo1 No audio on concatenated videoįrom ffmpeg-concat. No audio on concatenated video about ffmpeg-concat






Ffmpeg concat audio out of sync