File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -551,9 +551,11 @@ Use `POST /api/sendVideo` to send a message with a video attached.
551551👉 Please make sure your file has ** mp4 using libx264** format.
552552
553553``` bash
554- ffmpeg -i input_video.mp4 -c:v libx264 output_video.mp4
554+ ffmpeg -i input_video.mp4 -c:v libx264 -map 0 -movflags +faststart output_video.mp4
555555```
556556
557+ - ` -map 0 -movflags +faststart ` - required for thumbnail generation.
558+
557559---
558560
559561👉 ** WEBJS** (default) engine notes for sending videos
Original file line number Diff line number Diff line change @@ -93,9 +93,11 @@ Send status to specific contacts (available in **NOWEB**):
9393👉 Please make sure your file has ** mp4 using libx264** format.
9494
9595``` bash
96- ffmpeg -i input_video.mp4 -c:v libx264 output_video.mp4
96+ ffmpeg -i input_video.mp4 -c:v libx264 -map 0 -movflags +faststart output_video.mp4
9797```
9898
99+ - ` -map 0 -movflags +faststart ` - required for thumbnail generation.
100+
99101---
100102
101103👉 ** WEBJS** (default) engine notes for sending videos
You can’t perform that action at this time.
0 commit comments