Skip to content

Protocol dvdread

Phillippe Pelzer edited this page Nov 15, 2026 · 1 revision

dvdread: input protocol

dvdread: reads a DVD title as one byte stream. It sits on top of libdvdread. It is the DVD counterpart of bluray:.

Official FFmpeg has never had this protocol. It is NoMercy-only.

Since: v1.0.39.

Quick example

# The main feature of a DVD folder, an ISO or a drive
ffmpeg -i dvdread:/path/to/VIDEO_TS -map 0 -c copy movie.mkv

# A chosen title: -title is a protocol option, so it goes before -i
ffmpeg -title 3 -i dvdread:/path/to/disc.iso -map 0 -c copy movie.mkv

How to write the path

The protocol removes dvdread: and then one leading //. What is left is the path libdvdread opens.

You write libdvdread opens
dvdread:/media/dvd /media/dvd
dvdread:///media/dvd /media/dvd
dvdread://media/dvd media/dvd (relative to the current directory)

For an absolute path use the first or the second form.

PATH can be a drive, a disc image or a folder that libdvdread can open.

Options

The table is copied from ffmpeg -h protocol=dvdread of v1.0.47.

Option Type Default Range What it does
title int 0 0 to 99 Logical title number. 0 picks the main feature.

How the title is chosen:

  • With title=N, the protocol maps the logical title N to its title set through the disc's main IFO. A title that is not on the disc is an error that says how many titles there are.
  • With title=0, the protocol opens each title set and takes the one with the largest title VOBs. That is the main feature on nearly every disc.

What it gives you

The protocol returns the title VOBs of the chosen title set as one stream, in 2048-byte blocks. It is read-only. Opening it for writing fails. FFmpeg's dvdvideo demuxer is also built in; this protocol is the simple byte-stream alternative, symmetric with bluray:.

libdvdcss is built next to libdvdread, so CSS-scrambled discs are handled by the library.

Platform notes

dvdread: is in the protocol list of v1.0.47 linux-x86_64 (ffmpeg -protocols), and the release tests check that libdvdread is linked. The build script has no platform skip, so it is built wherever libdvdread is built. That is every platform. No disc was read in this documentation pass.

Clone this wiki locally