RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
673 stars 42 forks source link

Reading/ripping from dvd fails, with message "VIDEO_TS inaccessible, CSS authentication not available" #1069

Open Xenos71 opened 1 year ago

Xenos71 commented 1 year ago

Problem Description

Hi, I've been using VidCoder for a log time now, but only yesterday I tried to convert dvd material to mp4. I tried with three different dvds, region free or R2 (Europe), no protection. I ever copied two of them to my hard drive first (with other software) and then tried again.

Unfortunately the process didn't work, neither directly from dvd disc nor from hard drive. Scanning was OK, I was even able to select parts of the movies, I was able to select my settings, but after I hit encode, the process always hanged. Sometimes it stayed at 0%, sometimes it went up to 19%, but after that it seemed to stuck, with the remaining time increasing continuously. I tried with and without deinterlacing, single and 2-pass, but the problen doesn't seem to be in those settings.

The error message that keeps showing in the log is "VIDEO_TS inaccessible, CSS authentication not available" (I've copied the last log below, after trying a few times with one dvd).

Any ideas? Is there something I could try and see if it works, or could it be an actual bug that needs fixing? Thank you in adavnce for any help, Xenos

What version of VidCoder are you running?

8.9 Beta Portable

Encode Log

# VidCoder 8.9 Beta
# Starting job 1/1
#   Source path: C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS
#   Destination path: C:\Users\DELL\Desktop\1111\DVD\1\1.mp4
#   Title: 1
#   Range: All
#   Preset: ANT1 PREVIEW HD
# Worker ready: Pipe 'VidCoderWorker.32b3da67-86bf-4b4b-8008-3e70ef230bb1' is open
# Connecting to process 18652 on pipe VidCoderWorker.32b3da67-86bf-4b4b-8008-3e70ef230bb1
ng libhb thread
[12:58:21] CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
[12:58:21]  - Intel microarchitecture Haswell
[12:58:21]  - logical processor count: 4
[12:58:21] Intel Quick Sync Video support: no
[12:58:21] hb_scan: path=C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS, title_index=1
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2652: nav_get_title_list(C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS\) failed
[12:58:21] bd: not a bd - trying as a stream/file instead
libdvdread: Could not open input:
libdvdread: Can't open C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS for reading
libdvdread: Device C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS.
libdvdread: Could not open input:
libdvdread: Can't open C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS for reading
libdvdread: Device C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS inaccessible, CSS authentication not available.
[12:58:21] scan: DVD has 1 title(s)
[12:58:21] scan: scanning title 1
[12:58:21] scan: duration is 00:12:39 (759720 ms)
[12:58:21] pgc_id: 1, pgn: 1: pgc: 000001ada89efdd0
[12:58:21] scan: checking audio 1
[12:58:21] scan: id=0x80bd, lang=„ΆΆž¤ ΅α (AC3), 3cc=ell ext=0
[12:58:21] scan: title 1 has 2 chapters
[12:58:21] scan: chap 1, 273520 ms
[12:58:21] scan: chap 2, 486200 ms
[12:58:21] scan: aspect = 4:3
[12:58:21] scan: decoding previews for title 1
[12:58:21] scan: title angle(s) 1
[12:58:21] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=256000 „ΆΆž¤ ΅α (AC3) (2.0 ch) (256 kbps)
[12:58:21] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/2/4/8, aspect 4:3, PAR 16:15, color profile: 5-5-5, chroma location: left
[12:58:21] libhb: scan thread found 1 valid title(s)
[12:58:21] Starting work at: Fri Oct 21 12:58:21 2022
[12:58:21] 1 job(s) to process
[12:58:21] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3",
      "copy:truehd",
      "copy:dts",
      "copy:dtshd",
      "copy:mp2",
      "copy:mp3",
      "copy:flac",
      "copy:opus"
    ]
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\DELL\\Desktop\\1111\\DVD\\1\\1.part.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 5,
        "Settings": {
          "mode": "3"
        }
      },
      {
        "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": 7,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1080000"
        }
      },
      {
        "ID": 14,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "576",
          "width": "720"
        }
      }
    ]
  },
  "PAR": {
    "Num": 16,
    "Den": 15
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 2
    },
    "Title": 1,
    "Path": "C:\\Users\\DELL\\Desktop\\1111\\DVD\\1\\VIDEO_TS"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "Bitrate": 3000,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main",
    "QSV": {
      "Decode": false
    }
  }
}
[12:58:21] Starting Task: Encoding Pass
[12:58:21] Skipping crop/scale filter
[12:58:21] work: track 1, dithering not supported by codec
[12:58:21] job configuration:
[12:58:21]  * source
[12:58:21]    + C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS
[12:58:21]    + title 1, chapter(s) 1 to 2
[12:58:21]  * destination
[12:58:21]    + C:\Users\DELL\Desktop\1111\DVD\1\1.part.mp4
[12:58:21]    + container: MPEG-4 (libavformat)
[12:58:21]      + chapter markers
[12:58:21]  * video track
[12:58:21]    + decoder: mpeg2video 8-bit (yuv420p)
[12:58:21]      + bitrate 200 kbps
[12:58:21]    + filters
[12:58:21]      + 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)
[12:58:21]      + Deinterlace (mode=35)
[12:58:21]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[12:58:21]        + frame rate: 25.000 fps -> constant 25.000 fps
[12:58:21]    + Output geometry
[12:58:21]      + storage dimensions: 720 x 576
[12:58:21]      + pixel aspect ratio: 16 : 15
[12:58:21]      + display dimensions: 768 x 576
[12:58:21]    + encoder: H.264 (libx264)
[12:58:21]      + preset:  medium
[12:58:21]      + profile: main
[12:58:21]      + level:   4.0
[12:58:21]      + bitrate: 3000 kbps, pass: 0
[12:58:21]      + color profile: 5-5-5
[12:58:21]      + chroma location: left
[12:58:21]  * audio track 1
[12:58:21]    + decoder: „ΆΆž¤ ΅α (AC3) (2.0 ch) (256 kbps) (track 1, id 0x80bd)
[12:58:21]      + bitrate: 256 kbps, samplerate: 48000 Hz
[12:58:21]    + mixdown: Stereo
[12:58:21]    + encoder: AAC (libavcodec)
[12:58:21]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdread: Could not open input:
libdvdread: Can't open C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS for reading
libdvdread: Device C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS.
libdvdread: Could not open input:
libdvdread: Can't open C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS for reading
libdvdread: Device C:\Users\DELL\Desktop\1111\DVD\1\VIDEO_TS inaccessible, CSS authentication not available.
[12:58:22] sync: expecting 18993 video frames
[12:58:22] encx264: encoding at average bitrate 3000
[12:58:22] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[12:58:22] sync: first pts video is 0
[12:58:22] sync: "Chapter 1" (1) at frame 1 time 0
[12:58:22] sync: first pts audio 0x80bd is 0
RandomEngy commented 1 year ago

Which ones on this list have you tried? https://vidcoder.net/Documentation/RippingDiscs.html

Xenos71 commented 1 year ago

I've only used AnyDVD, a long time ago. For years I've been using XMediaRecode for dvd to mp4 conversions. I used it on the dvds that VidCoder couldn't convert, and it worked perfectly. What confuses me more, is that VidCoder failed even when I had already copied the dvds to my hard drive. They were definately not encrypted, I used DVDShrink (yes, I still have it on my pc!) to copy them.

RandomEngy commented 1 year ago

CSS encryption removal is separate from copying to the hard drive. From the log it looks like whatever setup you have to remove CSS isn't working.