crawlfetch

Merge video and audio with ffmpeg

If your 1440p or 4K file plays without sound, you downloaded an adaptive video-only stream. Fetch the audio too and merge them — no re-encoding needed, so it takes seconds.

Download both tracks

curl -sG "https://api.crawlfetch.com/v1/resolve" --data-urlencode "url=https://youtu.be/aqz-KE-bpKQ" \
--data-urlencode "res=2160p" -H "Authorization: Bearer $CRAWLFETCH_KEY" > v.json
curl -fL -o video.webm "$(jq -r .downloadUrl v.json)"
curl -fL -o audio.m4a "$(jq -r .audioUrl v.json)"

Merge without re-encoding

MP4 can't hold every codec combination (e.g. VP9 + Opus in older players), which is why MKV is the safest lossless target. Re-encode only if your player needs H.264 MP4.

ffmpeg -i video.webm -i audio.m4a -c copy -map 0:v:0 -map 1:a:0 out.mkv

FAQ

Can I avoid merging?

Yes — request a muxed format (default MP4 up to 1080p), which includes audio.

Related

Last updated 2026-10-25

Add video downloads to your product today.

1,000 credits on signup plus 500 every month. That is roughly 180 YouTube clips to start, with no card.

Create free account