-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No audio on concatenated video #105
Comments
Hi have the same issue. I was able to find a workaround by commenting the 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. If we want to keep existing audio we should have control on the codec used. So my work around was use '-c:a aac' instead sent in the args parameter. Depending on your system you might want to use other audio codec. My problem is that the audio then is all 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. 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... Example: When I bring the gltransition (using my own compiled ffmpeg) I wasn't able to get it working correctly yet as I want it. 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) 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. In my case that becomes a mess because all the different video encodings in my inputs. 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. With options to define video and audio codecs and other ffmpeg params. 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. I would love to hear thoughts about other people and ideas on how to progress this amazing script to a useful shape. Anyone around?? |
I'm also encountering this issue and unfortunately the workarounds above didn't seem to work for me, which is pretty unfortunate. Did anybody find a way to get audio to consistently work? |
Same here, instead of commenting the line 60 in transcode-video.js you can just add
To the start properties.. But it's not working anyway. If anybody found a solution please let me know - for my use it would be very nice to copy the sound of the video. |
Im just doing some testing with a couple clips, both clips have audio full length of video throughout but when I concat them with a transition the output has no audio at all.
The text was updated successfully, but these errors were encountered: