Jadi on Nostr: Recorded a video but it has 2 issues: 1. sound is ahead of video for 0.2s and volume ...
Recorded a video but it has 2 issues: 1. sound is ahead of video for 0.2s and volume is too low. Letting ffmpeg do its magic on the file via:
```
ffmpeg -i input.mp4 -itsoffset -0.5 -i input.mp4 -map 0:v -map 1:a -c copy input.mp4
ffmpeg -y -v quiet -i input_fixed.mp4 -lavfi volume=+10dB -acodec libmp3lame -ab 320k -id3v2_version 3 input.normalized.mp4
```
Published at
2025-04-11 23:27:59 UTCEvent JSON
{
"id": "41010de233f50077ee2f742fc39d654581c2f60cc79f9ea4ecdf0e1d425ff42b",
"pubkey": "86a66d4a7f93a974035c1f0f4e041a75b2db584dc17de5e0bc015e3c1449a28c",
"created_at": 1744414079,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/@jadi/114321921138182428",
"web"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/jadi/statuses/114321921138182428",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.bsd.cafe/users/jadi/statuses/114321921138182428",
"pink.momostr"
],
[
"-"
]
],
"content": "Recorded a video but it has 2 issues: 1. sound is ahead of video for 0.2s and volume is too low. Letting ffmpeg do its magic on the file via:\n\n```\nffmpeg -i input.mp4 -itsoffset -0.5 -i input.mp4 -map 0:v -map 1:a -c copy input.mp4\nffmpeg -y -v quiet -i input_fixed.mp4 -lavfi volume=+10dB -acodec libmp3lame -ab 320k -id3v2_version 3 input.normalized.mp4\n```",
"sig": "b13fb1a3910d726c6dda30ccf94b8993e3c422dcaab7dd7125f1ebca5e3911757800b4bad74a93c222847e818cbe60f36d6513402b16367649b034480a2ab27b"
}