DVD Timed photo gallery

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
ITgreybeard
Regular User
Posts: 86
Joined: Tue Feb 11, 2014 3:47 pm

DVD Timed photo gallery

Post by ITgreybeard »

Description of problem or question:

Are there Handbrake settings to deal with DVD slide shows / photo galleries?

DVD titles that are essentially photo galleries with audio and timed progression through the slides are encoded as zero length (time), without audio, and with rapidfire showing of all photos in a second or two. It would be much preferred to encode these with the audio and at the same rate of progression as built into the DVD title.

Steps to reproduce the problem (If Applicable):

Put into the queue and encode a DVD title that is little more than a slideshow.

HandBrake version (e.g., 1.0.0):

1.3.3 (2020061300), though this has been a longstanding issue (for me) in every version of Handbrake that I have employed.

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 Pro (with latest updates): Version 2004 (OS Build 19041.450)

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx  
Ram: 10178 MB, 
GPU Information:
  AMD Radeon(TM) Vega 8 Graphics - 26.20.15029.27017
Screen: 1920x1080
Temp Dir: C:\Users\itgre\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\itgre\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[10:34:43] base preset: 720p DVD w Decomb h.265
[10:34:43] hb_init: starting libhb thread
[10:34:43] Starting work at: Sun Sep 06 10:34:43 2020
[10:34:43] 1 job(s) to process
[10:34:43] json job:
{
  "Audio": {
    "AudioList": [],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "E:\\Videos\\Citylight Bonus-18 q18 h265.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "62",
          "crop-left": "80",
          "crop-right": "74",
          "crop-top": "62",
          "height": "352",
          "width": "560"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 24904,
    "Den": 28035
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 7
    },
    "Title": 18,
    "Path": "E:\\DVDs\\CITYLIGHT BONUS"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 18.0,
    "Tune": "fastdecode",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:34:43] CPU:
[10:34:43]  - logical processor count: 8
[10:34:43] Intel Quick Sync Video support: no
[10:34:43] hb_scan: path=E:\DVDs\CITYLIGHT BONUS, title_index=18
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(E:\DVDs\CITYLIGHT BONUS\) failed
[10:34:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\DVDs\CITYLIGHT BONUS for reading
libdvdread: Device E:\DVDs\CITYLIGHT BONUS inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file E:\DVDs\CITYLIGHT BONUS.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\DVDs\CITYLIGHT BONUS for reading
libdvdread: Device E:\DVDs\CITYLIGHT BONUS inaccessible, CSS authentication not available.
[10:34:43] scan: DVD has 22 title(s)
[10:34:43] scan: scanning title 18
[10:34:43] scan: duration is 00:00:24 (24400 ms)
[10:34:43] pgc_id: 5, pgn: 1: pgc: 000001DB97F8CCE0
[10:34:43] scan: checking subtitle 1
[10:34:43] scan: id=0x20bd, lang=Unknown (4:3) [VOBSUB], 3cc=und ext=0
[10:34:43] scan: title 18 has 7 chapters
[10:34:43] scan: chap 1, 4000 ms
[10:34:43] scan: chap 2, 4000 ms
[10:34:43] scan: chap 3, 4000 ms
[10:34:43] scan: chap 4, 4000 ms
[10:34:43] scan: chap 5, 4000 ms
[10:34:43] scan: chap 6, 4000 ms
[10:34:43] scan: chap 7, 400 ms
[10:34:43] scan: aspect = 4:3
[10:34:43] scan: decoding previews for title 18
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[10:34:43] scan: title angle(s) 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[10:34:43] Warning: Could not read data for preview 9, skipped
[10:34:43] scan: 8 previews, 720x480, 29.970 fps, autocrop = 62/62/80/78, aspect 4:3, PAR 8:9
[10:34:43] libhb: scan thread found 1 valid title(s)
[10:34:43] Starting Task: Encoding Pass
[10:34:43] job configuration:
[10:34:43]  * source
[10:34:43]    + E:\DVDs\CITYLIGHT BONUS
[10:34:43]    + title 18, chapter(s) 1 to 7
[10:34:43]  * destination
[10:34:43]    + E:\Videos\Citylight Bonus-18 q18 h265.mp4
[10:34:43]    + container: MPEG-4 (libavformat)
[10:34:43]      + optimized for HTTP streaming (fast start)
[10:34:43]      + align initial A/V stream timestamps
[10:34:43]      + chapter markers
[10:34:43]  * video track
[10:34:43]    + decoder: mpeg2video
[10:34:43]      + bitrate 200 kbps
[10:34:43]    + filters
[10:34:43]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[10:34:43]      + Decomb (mode=39)
[10:34:43]      + Framerate Shaper (mode=2:rate=27000000/900000)
[10:34:43]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[10:34:43]      + Crop and Scale (width=560:height=352:crop-top=62:crop-bottom=62:crop-left=80:crop-right=74)
[10:34:43]        + source: 720 * 480, crop (62/62/80/74): 566 * 356, scale: 560 * 352
[10:34:43]    + Output geometry
[10:34:43]      + storage dimensions: 560 x 352
[10:34:43]      + pixel aspect ratio: 24904 : 28035
[10:34:43]      + display dimensions: 497 x 352
[10:34:43]    + encoder: H.265 (libx265)
[10:34:43]      + preset:  fast
[10:34:43]      + tune:    fastdecode
[10:34:43]      + profile: auto
[10:34:43]      + level:   auto
[10:34:43]      + quality: 18.00 (RF)
[10:34:43]      + color profile: 6-6-6
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\DVDs\CITYLIGHT BONUS for reading
libdvdread: Device E:\DVDs\CITYLIGHT BONUS inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file E:\DVDs\CITYLIGHT BONUS.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open E:\DVDs\CITYLIGHT BONUS for reading
libdvdread: Device E:\DVDs\CITYLIGHT BONUS inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[10:34:43] sync: expecting 731 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-2.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(6 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing
[10:34:44] reader: done. 31 scr changes
[10:34:44] sync: first pts video is 0
[10:34:44] sync: "Chapter 1" (1) at frame 1 time 0
[10:34:44] sync: "Chapter 2" (2) at frame 2 time 3003
[10:34:44] sync: "Chapter 3" (3) at frame 3 time 6006
[10:34:44] sync: "Chapter 4" (4) at frame 4 time 9009
[10:34:44] sync: "Chapter 5" (5) at frame 5 time 12012
[10:34:44] sync: "Chapter 6" (6) at frame 6 time 15015
[10:34:44] sync: "Chapter 7" (7) at frame 7 time 18018
[10:34:44] work: average encoding speed for job is 0.000000 fps
[10:34:44] comb detect: heavy 1 | light 0 | uncombed 6 | total 7
[10:34:44] decomb: deinterlaced 1 | blended 0 | unfiltered 6 | total 7
[10:34:44] vfr: 7 frames output, 0 dropped and 0 duped for CFR/PFR
[10:34:44] vfr: lost time: 0 (0 frames)
[10:34:44] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:34:44] mpeg2video-decoder done: 7 frames, 0 decoder errors
[10:34:44] sync: got 7 frames, 731 expected
[10:34:44] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x265 [info]: frame I:      2, Avg QP:23.50  kb/s: 4194.37
x265 [info]: frame P:      1, Avg QP:21.92  kb/s: 90.87
x265 [info]: frame B:      4, Avg QP:25.29  kb/s: 3771.49
x265 [info]: consecutive B-frames: 66.7% 0.0% 0.0% 0.0% 33.3%
encoded 7 frames in 0.47s (14.99 fps), 3366.51 kb/s, Avg QP:24.30
[10:34:44] mux: track 0, 7 frames, 98316 bytes, 2946.53 kbps, fifo 8
[10:34:44] Finished work at: Sun Sep 06 10:34:44 2020
[10:34:44] libhb: work result = 0

# Encode Completed ...

mduell
Veteran User
Posts: 7191
Joined: Sat Apr 21, 2007 8:54 pm

Re: DVD Timed photo gallery

Post by mduell »

Try ripping with something else, like MakeMKV. HB reads this title as being very short.
ITgreybeard
Regular User
Posts: 86
Joined: Tue Feb 11, 2014 3:47 pm

Re: DVD Timed photo gallery

Post by ITgreybeard »

Thanks for the suggestion. I will give it a go. I have used MakeMKV for some while now, but only to rip Blu-Rays.
ITgreybeard
Regular User
Posts: 86
Joined: Tue Feb 11, 2014 3:47 pm

Re: DVD Timed photo gallery

Post by ITgreybeard »

Ok. Results:

0. Just to recap, this set of titles has been ripped from DVD to internal storage VIDEO_TS folder, and all efforts proceed from this origin.

Effort 1: MakeMKV did not consider the galleries to be titles, at least not with my present settings. So no .mkv files were generated for the galleries.

Effort 2: Isolated gallery title(s) with DVD Shrink, but MakeMKV "failed to open disc" and Handbrake treated them as ~1 second titles as in the original post.

Effort 3: Used VLC to convert gallery title to .mp4 but a 1 second file was produced.

Effort 4. Success! Used MPC-HC (or VLC) to play the gallery title and captured in real-time the inner window contents with Total Recorder, which has proved useful to me for many a year. Total Recorder produced the requested .avi, which then was run through Handbrake for trimming and production of an .mp4.
ITgreybeard
Regular User
Posts: 86
Joined: Tue Feb 11, 2014 3:47 pm

Re: DVD Timed photo gallery

Post by ITgreybeard »

That pathfinding seemed rather tortuous, though the eventual solution was reasonably straightforward. Nonetheless it would have been much more convenient for Handbrake to have been able to handle.
User avatar
Rodeo
HandBrake Team
Posts: 12571
Joined: Tue Mar 03, 2009 8:55 pm

Re: DVD Timed photo gallery

Post by Rodeo »

mduell wrote: Mon Sep 07, 2020 4:19 pm Try ripping with something else, like MakeMKV. HB reads this title as being very short.
Occasionally such galleries are part of the menu and would not be recognized by HandBrake at all.
ITgreybeard
Regular User
Posts: 86
Joined: Tue Feb 11, 2014 3:47 pm

Re: DVD Timed photo gallery

Post by ITgreybeard »

Thank you for the assist!
Post Reply