Correct mime type for .mp4

According to RFC 4337 ยง 2, video/mp4 is indeed the correct Content-Type for MPEG-4 video. Generally, you can find official MIME definitions by searching for the file extension and “IETF” or “RFC”. The RFC (Request for Comments) articles published by the IETF (Internet Engineering Taskforce) define many Internet standards, including MIME types.

Fastest way to extract frames using ffmpeg?

If the JPEG encoding step is too performance intensive, you could always store the frames uncompressed as BMP images: ffmpeg -i file.mpg -r 1/1 $filename%03d.bmp This also has the advantage of not incurring more quality loss through quantization by transcoding to JPEG. (PNG is also lossless but tends to take much longer than JPEG to … Read more

How can I embed a YouTube video on GitHub wiki pages?

It’s not possible to embed videos directly, but you can put an image which links to a YouTube video: [![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE) For more information about Markdown look at this Markdown cheatsheet on GitHub. For more information about Youtube image links look this question.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)