CH03 / Free & open-data video

Wikimedia Commons videos: find, download and credit free footage

Last updated Editorial team Video Downloader Info8 segments~5 min

Key takeaways

  1. Wikimedia Commons only accepts freely licensed or public-domain files, so every video there comes with a licence you can reuse under its conditions.
  2. Commons stores video in free formats: WebM (AV1, VP9 or VP8 with Opus or Vorbis audio) and older Ogg Theora or MPEG-1/2 files; H.264 MP4 uploads are not accepted.
  3. The MediaWiki API returns the licence, author and file URL of any video in one request with prop=imageinfo and iiprop=extmetadata.
  4. CC BY and CC BY-SA videos require you to credit the author, name the licence and link to it; CC BY-SA also applies share-alike to adaptations.
  5. Wikimedia's API policy asks every script to send a descriptive User-Agent with contact information.
Participants at a Wikimania conference session
Image: WikiWomen Summit x Wikimania 2023 Morning Program Track,MMulaudzi-WMF,CC BY-SA 4.0,via Wikimedia Commons.

Every video on Wikimedia Commons is either in the public domain or under a free licence, so it can be downloaded and reused, provided you follow the licence conditions, usually attribution. That makes Commons the safest open-data video source for publishers: unlike general video platforms, licence checking is part of the upload process and the licence is machine-readable through the API.

This guide shows how to find videos, download them in their original format, read the licence programmatically and credit them correctly.

What kind of videos are on Wikimedia Commons?

Commons is the media repository behind Wikipedia. Its video collection covers historical films transferred from archives (NASA, the US National Archives and many European institutions), scientific animations, wildlife clips, interviews, city footage and Wikipedia-related tutorials. A good entry point is the Category:Videos tree, broken down by subject, country and year.

You can also search with the filetype:video keyword in the Commons search box, for example filetype:video apollo.

Which categories are worth browsing?

Category sizes give a sense of where the material is. We queried them through the API (prop=categoryinfo) in November 2026:

Category Files directly in it Notes
Category:Videos About 1,800, plus 44 subcategories The top of the topical tree
Category:WebM videos About 28,900 Hidden maintenance category, useful to list WebM files
Category:Videos by NASA About 1,000, plus 22 subcategories Space footage, mostly public domain
Category:Videos from the Internet Archive About 60 Files transferred from archive.org

Counts only include files placed directly in a category, not in its subcategories, so the real totals are much larger. Category names also change over time: a name that seems obvious, such as “Public domain films”, may not exist, so check the category page before scripting against it. Licence categories exist as well, but the per-file licence tag read through the API (see below) is the more reliable signal.

Which formats does Commons use, and does it matter?

Commons only accepts patent-free formats. According to the Commons:Video page:

Format Status on Commons
WebM with AV1, VP9 or VP8 video, Opus or Vorbis audio Preferred
Ogg Theora, MPEG-1, MPEG-2 Allowed, older formats
MP4 or MOV with H.264 or H.265 Not accepted

Commons also generates transcodes, smaller WebM or VP9 versions at lower resolutions, to stream videos in browsers. When you download, take the original file, not a transcode. Our comparison of AV1, VP9, H.264 and HEVC explains why WebM AV1 or VP9 is a sound archival choice, and our guide to MP4, MKV and WebM containers covers playback compatibility.

How do I download a single video?

On the file page (commons.wikimedia.org/wiki/File:Name.webm), click the download link or the “Original file” link under the player. For scripts, Commons offers a stable redirect:

curl -L -A "MyArchiveScript/1.0 (contact: you@example.org)" -o video.webm \
  "https://commons.wikimedia.org/wiki/Special:FilePath/Apollo_15_feather_and_hammer_drop.ogv"

Special:FilePath redirects to the current version of the original file on upload.wikimedia.org. The -A option sets a User-Agent, which Wikimedia’s policy requires for automated clients.

How do I read the licence and author with the API?

The MediaWiki API’s imageinfo module returns the file URL and the extended metadata in one call. This request searches for videos about Apollo and returns the licence and author of each result:

curl -s -A "MyArchiveScript/1.0 (contact: you@example.org)" \
  "https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrnamespace=6&gsrsearch=filetype:video%20apollo&gsrlimit=10&prop=imageinfo&iiprop=url|mime|extmetadata&iiextmetadatafilter=LicenseShortName|LicenseUrl|Artist&format=json"
  • generator=search with gsrnamespace=6 searches the File namespace.
  • gsrsearch=filetype:video apollo restricts results to video files.
  • prop=imageinfo&iiprop=url|mime|extmetadata adds the original URL, MIME type and metadata.
  • iiextmetadatafilter keeps only the fields you need.

In our test, the first results were .ogv files from NASA and the US National Archives, both tagged Public domain in LicenseShortName. Note that Artist can contain HTML: strip the tags before storing it.

To process a whole category instead of a search, use generator=categorymembers&gcmtitle=Category:NAME&gcmtype=file in place of the search generator, and follow the continue value in each response to page through results.

What are the licence conditions I must respect?

Licence tag Can I reuse? What I must do
Public domain / CC0 Yes Nothing required; crediting is still good practice
CC BY Yes Credit the author, name and link the licence, link the source, indicate changes
CC BY-SA Yes Same as CC BY, and share adaptations under CC BY-SA

The Commons page on reusing content outside Wikimedia recommends a credit that includes the author, the licence and a link to the file page. Example:

“Apollo 15 feather and hammer drop”, NASA, public domain, via Wikimedia Commons.

For CC BY-SA, the share-alike clause applies to adaptations of the video itself (a re-edit, a remix), not to an unrelated article placed next to it. Our Creative Commons video licences guide covers the edge cases, such as music videos and compilations.

How do I build a reliable bulk download?

A robust workflow for a research or editorial project:

  1. Query a category or search with the API, in batches of up to 50 files.
  2. Filter on LicenseShortName in your script (for example, accept only Public domain, CC0, CC BY and CC BY-SA).
  3. Download each original from its url field, one at a time.
  4. Store a sidecar JSON per file with title, author, licence, licence URL and file page URL.
  5. Generate credits automatically from those JSON files when you publish.

Wikimedia’s User-Agent policy asks clients to identify themselves with a name and a way to contact the operator. Requests without one may be blocked. Keep downloads sequential rather than parallel.

Pitfalls we see most often in Commons bulk jobs:

  • Downloading a transcode. URLs containing /transcoded/ are Commons’ streaming versions. The original is the url returned by imageinfo, under /commons/ without that segment.
  • Storing raw Artist HTML. The field often contains links and markup; strip it, but keep the plain-text author name for the credit.
  • Ignoring the file page. Some files carry extra conditions in their description, such as trademark or personality-rights warnings, which are not part of the licence tag.
  • Assuming a licence is permanent. Files are occasionally deleted after a copyright review. Keep your sidecar JSON so you know what the licence was when you downloaded the file.

How do I convert a Commons video for editing?

Most editors accept WebM, but if yours does not, re-encode a working copy with FFmpeg:

ffmpeg -i original.webm -c:v libx264 -crf 20 -preset slow -c:a aac -b:a 192k working-copy.mp4

This is lossy, so keep the original as your master. If you only need to change the container, remuxing into MKV keeps the streams intact: ffmpeg -i original.webm -c copy original.mkv.

Where do Commons videos come from, and what else is there?

Many historical videos on Commons were transferred from the NASA Image and Video Library and the US National Archives. If you need a higher-quality original, go back to the source institution. For European heritage film, Europeana aggregates national archives with standardised rights statements.

Open-source tools in this guide

ToolLicence
FFmpegLGPL 2.1+ (some builds GPL)
curlcurl licence (MIT-style)

Frequently asked questions

Are all videos on Wikimedia Commons free to use?

They are all under a free licence or in the public domain, which is a condition of upload. Free does not mean unconditional: CC BY and CC BY-SA require attribution, and CC BY-SA requires adaptations to be shared under the same licence. Personality and trademark rights can still apply.

Why are Commons videos in WebM instead of MP4?

Commons only accepts patent-free formats. H.264 and H.265, the codecs usually found in MP4 and MOV files, are excluded because their use can require royalty payments. WebM with AV1, VP9 or VP8 video is the preferred format.

How do I convert a Commons WebM file to MP4?

FFmpeg can re-encode it, for example ffmpeg -i input.webm -c:v libx264 -crf 20 -c:a aac output.mp4. This is a lossy re-encode, so keep the original WebM as your master copy.

How do I credit a Commons video?

Give the title or file name, the author as shown in the Author field, the licence name with a link to the licence, and a link to the file page on Commons. Mention any changes you made, such as cutting or re-encoding.

Can I download Commons videos in bulk?

Yes, through the API: a search or category generator returns file URLs and licences in batches. Send a descriptive User-Agent, keep requests sequential, and save the licence metadata with each file.

Sources and open data

  1. Commons:Video · Wikimedia Commons
  2. Commons:Reusing content outside Wikimedia · Wikimedia Commons
  3. API:Imageinfo · MediaWiki
  4. User-Agent policy · Wikimedia Foundation
  5. Category:Videos · Wikimedia Commons