Open MohitKumarDubey opened 9 months ago
have you resolved the issue ?
https://ffmpeg.org/ffmpeg-formats.html#Fragmentation The ‘mov’, ‘mp4’, and ‘ismv’ muxers support fragmentation. Normally, a MOV/MP4 file has all the metadata about all packets stored in one location.
movflags action runs AFTER convertation, you can't use stream to save during converting
have you resolved the issue ? i have same problem on pipe stream mode
i try qt-faststart tool convert and -movflags frag_keyframe+faststart but these way does not slove my problem 🥲
By saving the output file locally in the file system and then uploading it into S3 or any cloud bucket I was able to solve this problem. You can also tryout webm format for output video with write stream approach, bz this format preserves the seeking capability of the video.
On Tue, 9 Jul 2024, 4:51 am kiaxseventh, @.***> wrote:
have you resolved the issue ? i have same problem on pipe stream mode
i try qt-faststart tool convert and -movflags frag_keyframe+faststart but these way does not slove my problem 🥲
— Reply to this email directly, view it on GitHub https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1253#issuecomment-2215510522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6XL5NVE4IM4PTP5O6AVBLZLMNIJAVCNFSM6AAAAABDUGZQK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGUYTANJSGI . You are receiving this because you authored the thread.Message ID: @.***>
Version information
Code to reproduce
(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
I am expecting the output video should play without loading whole video into the browser. Let say output video size is of 10GB and as I hitting the object URL of that into the browser then on that case the video should start playing without loading whole 10GB data.
Observed results
If the output video is of size 10GB and I am hitting the object url of the same in the browser on that case video is not playing until it is completely loaded mean whole 10GB of video is being loaded then after video will start playing. I think there is the problem with 'moov' atom positioning.
If I am saving the output vidoe without using the writestream or pipe then the uploading that video to s3 then after playing the video using the object url then It plays without loading completely.
Checklist