mathiasbynens / small

Smallest possible syntactically valid files of different types
https://mathiasbynens.be/notes/minimal-html
1.93k stars 184 forks source link

mp4 with sound #70

Closed SleepWalker closed 7 years ago

SleepWalker commented 7 years ago

Hi

Sometimes you need a video with an audio track to test some features. In my case this is for test of an autoplay of muted videos on safari iOS 10+

The video in commit was generated with:

ffmpeg -i mp4.mp4 -f lavfi -i anullsrc=channel_layout=mono:sample_rate=8000:nb_samples=1 -c:v copy -c:a libvo_aacenc copy -fs 0 video_w_audio.mp4