# Preparing video files for streaming on website in MP4 and WEBM format

DevFeed: [Preparing video files for streaming on website in MP4 and WEBM format](<https://devfeed.tech/articles/preparing-video-files-for-streaming-on-website-in-mp4-and-webm-format-27599.md>)

Original publisher: [Read original article](<https://gagor.pro/2013/12/preparing-video-files-for-streaming-on-website-in-mp4-and-webm-format/>)

Author: Tom

Published: 2013-12-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [FFmpeg (Fast Forward Moving Picture Experts Group)](<https://devfeed.tech/topics/ffmpeg.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Website](<https://devfeed.tech/topics/website.md>), [nginx](<https://devfeed.tech/topics/nginx.md>), [video js](<https://devfeed.tech/topics/video-js.md>), [pc](<https://devfeed.tech/topics/pc.md>)

Tags: [conversion](<https://devfeed.tech/tags/conversion.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [ffmpeg](<https://devfeed.tech/tags/ffmpeg.md>), [linux](<https://devfeed.tech/tags/linux.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [pc](<https://devfeed.tech/tags/pc.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [video](<https://devfeed.tech/tags/video.md>), [video-js](<https://devfeed.tech/tags/video-js.md>)

## AI overview

A practical guide to batch-encoding video files for web playback in MP4 and WebM formats, using HandBrake and ffmpeg, with related Nginx configuration for MP4 pseudostreaming and URL protection.

## Source excerpt

Some time ago I prepared a PC that was responsible for batch encoding of movies to formats suitable for web players (such as. Video.js external link , JW Player external link , Flowplayer external link , etc.)