Open JoBaAl opened 3 years ago
Hi man ! Did you find a solution about this problem ? I'm actually stuck... :(
No 😞 . To avoid video/ audio sync issues using streams we had to download the files before contacting.
If you find any solution let me know. 😄
First of all sorry if the question is duplicated. But I couldn't find out the right answer to other questions.
I'm trying to concatenate AWS S3 mp4 files using streams and fluent-ffmpeg. I managed to download and upload the concatenated files without storing them on the disk.
The concatenation seems correct but when I'm selecting a point in time of the video player (VLC media player or QuickTime) time bar seems the audio and video are out of sync.
This is the nodejs fluent-ffmpeg implementation:
I'm using S3 file signed URLs in the file. The
listFileName
parameter is the path to a.txt
file as follows:I think that this out of sync is because of the fragmented output and maybe is not possible to do that without downloading the files, but maybe there's a possible solution.
Is there some way to do the mp4 concatenation without storing the files to the disk? Or am I doing something wrong?