InquirerNarvacan LGU to recall ‘expired’ herbicidesPunchWhy I never wanted children, Oprah Winfrey revealsThe Jerusalem PostFlorida woman arrested for threatening social media posts targeting Trump, FBI, Jewish peopleBollywood HungamaSalman Khan moves Supreme Court against High Court order directing removal of ‘Madirapan’ song from MaatrubhumiUOLMichelle diz que Bolsonaro está recuperado e deixará o hospital hojeLa PresseLutte contre les féminicides | Le gouvernement péquiste crée une cellule de criseBBC NewsFive killed and foreign hostages seized in militant attack on Pakistan mineAntara NewsIndonesia aligns Blue Economy with regional marine conservationBBC عربيسقوط مقاتلة أمريكية قرب مضيق هرمز وإنقاذ طيارهاSportstarAbu Dhabi Grand Prix 2026: Hadjar clinches maiden F1 pole for season’s last raceGlobal NewsActivists demand Canadian aid transparency as Israel restricts shipments to GazaColliderDisney’s ‘Hexed’ Creators Officially Debunk a Wild Fan Theory
betaThe Daily Newsstand · Free, Always
Saturday, December 5, 2026
Automatic translation is active. Articles in other languages will open in English.Enable automatic translation of articles from other languages into English.

VLC Improves DVD Recorder Playback in Its Development Branch: New Calculations for Video and Chapter Positions

The article's text, from Joho no Todai's page.

Translate

The developers of the open-source VLC media player merged a series of DVD-VR playback changes into the development branch on December 5, 2026. The recorded commit time was 05:19:25 UTC.

Some discs made on DVD recorders use VR mode (DVD-VR). Video mode is compatible with commercially released DVD titles, while VR mode was designed for recording and editing.

When asked to open a disc as DVD-VR, VLC now calls libdvdread’s dedicated DVDOpenVideoRecording function. This lets builds linked against a compatible library open the disc as DVD-VR. Builds using an incompatible library return an error.

In July 2026, VideoLAN announced releases of the DVD libraries libdvdread 7.1 and libdvdcss 1.6.0. DVD-VR support and handling for CPRM, a copyright protection technology for recordable media, were among the main changes.

The changes update how VLC itself uses those libraries to read and play recordings.

Finding the start of a program

VLC’s DVD-VR playback code treats recorded programs and similar material as titles and tracks their playback ranges in units called cells.

VLC development branch: DVD-VR playback

OperationBeforeAfter
Opening a DVDGeneral-purpose read functionUses the compatible library’s
dedicated DVD-VR function
Program startCell identifierCounts cells in preceding programs
Read positionEstimated from an averageVideo object units (VOBUs)
Sum of recorded sizes
Time within a cellEstimated from the share of sectorsEstimated from the share of VOBUs
Chapter positionStart time of first cellStart time of each video
Total duration of preceding cells
Final programLogged a failure before detecting the endStops without logging at the end

VLC previously used a value called first_prog_id from the title’s management information to locate its first cell.

The new code walks through the titles before the requested one and finds its first cell by adding up the number of preceding cells. It then uses the requested title’s cell count to determine the rest of the range. It treats the range as invalid if the title has no cells or the range exceeds the total cell count in the management information.

The change also revises title duration calculations. Seeking, which moves the playback position, and building the title list now use the newly calculated cell positions.

Choosing the range that belongs to a program comes before reading its video. Getting that range wrong can throw off the duration and chapter positions.

Using recorded sizes to locate video

DVD-VR organizes video data into units called VOBUs. VLC previously estimated their sizes using some of the position information in the management data. If that information was unavailable, it used data from another piece of video or a default value.

Suppose three consecutive VOBUs take up 100, 200, and 300 sectors, the units used to count storage areas on the disc. The third starts 300 sectors from the beginning. Using an average of 200 sectors would put it at 400. When units differ in size, the average can give the wrong position.

The change drops the average-size calculation. VLC reads the size of each preceding VOBU from the management information and uses their sum to calculate the starting position. It also uses the result as the basis for seeking.

The conversion from video position to elapsed time within a title has also changed. VLC finds the VOBU corresponding to a sector on the disc, then multiplies the video duration by the fraction of VOBUs already passed. It adds the durations of earlier cells to calculate the time within the title, so elapsed time within the current cell still involves an estimate.

A player must match the place it reads on the disc with the corresponding minute and second in the video. This change particularly improves how it finds the location on the disc.

Aligning chapters with the program timeline

VLC also fixed chapter position calculations for titles made up of multiple cells. It previously used the start time of the title’s first cell as the reference. It now uses the start time of the video referenced by each cell and the cumulative playback time up to that point.

When several pieces of video play as one title, locating a chapter in a later piece requires accounting for the length of everything played before it. The viewer wants to know how far into the program they are.

The DVD reader also now stops without logging a failure if it cannot open another title and determines that it has reached the end.

What DVD-VR support means for people who made recordings

Panasonic’s disc compatibility list shows that DVD recorders including the DMR-XP12, DMR-XP15, and DMR-XW100 could record in VR format on DVD-RAM, DVD-R, and DVD-RW. Sony’s DVD recorder documentation also covers recording digital broadcasts in VR mode on CPRM-compatible DVD-R and DVD-RW discs.

To revisit an old VR-mode recording on a computer, viewers need a drive that reads the disc and software that supports DVD-VR. Recordings with CPRM protection require compatible playback hardware and software. Playback can depend on the hardware and how the disc was recorded. The changes reached VLC’s development branch and require a library with DVD-VR support.

Preserving recordings means maintaining the discs and keeping a way to play them. Choosing a show from years ago, playing it, and jumping to a favorite scene are ordinary actions. In 2026, developers are still rewriting the code that finds video on recordable DVDs to make those actions work.

View the original on Joho no Todai →