无法使用HandBrake或OGMRip翻录DVD


15

我刚给孩子们买了一些新的DVD,但是我想撕开它们并备份它们,因为我知道它们的光盘粗糙,并且我想备份,以防光盘被划伤。

但是,我无法使HandBrake或OGMRip翻录光盘,错误地关闭了光盘。

我已经从/ dev / sr0到/ dev / dvd建立了一个symlinc,并且还安装了regionset,以防该区域错误(不是)。

我很沮丧 有人可以看看HandBrakeCLI的输出,然后告诉我怎么了吗?

提前谢谢一堆!

HandBrakeCLI -i /dev/sr0 -o Brave.mp4
[16:19:57] hb_init: starting libhb thread
HandBrake 0.9.8 (2012102600) - Linux x86_64 - http://handbrake.fr
2 CPUs detected
Opening /dev/sr0...
[16:19:57] hb_scan: path=/dev/sr0, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening /dev/sr0/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(/dev/sr0) failed (0x7fd878000900)
[16:19:57] bd: not a bd - trying as a stream/file instead
[16:19:57] dvd: Region mask 0xf7
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.12 for DVD access
libdvdnav: DVD Title: BRAVE
libdvdnav: DVD Serial Number: 412E6DD2
libdvdnav: DVD Title (Alternative): BRAVE
libdvdnav: Unable to find map file '/home/alberto/.dvdnav/BRAVE.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000001ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000005cf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000005ed
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000063c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00309c86
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x0030a0be
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x0030d482
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x0030fc31
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x0031a1e8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00325600
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_0.VOB at 0x0038bb9e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x0038bc21
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_0.VOB at 0x003eeea5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x003eef15
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_23_1.VOB at 0x003eef2e
libdvdread: Elapsed time 0
libdvdread: Found 23 VTS's
libdvdread: Elapsed time 0
libdvdread: Using libdvdcss version 1.2.12 for DVD access
[16:19:57] scan: DVD has 99 title(s)
[16:19:57] scan: scanning title 1
[16:19:57] scan: opening IFO for VTS 1
[16:19:57] scan: duration is 00:00:00 (76 ms)
[16:19:57] pgc_id: 1, pgn: 1: pgc: 0x7fd87801f730
[16:19:57] scan: vts=1, ttn=1, cells=0->0, blocks=0->15, 16 blocks
[16:19:57] scan: title 1 has 1 chapters
[16:19:57] scan: chap 1 c=0->0, b=0->15 (16), 76 ms
[16:19:57] scan: aspect = 0
[16:19:57] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000080000]
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000000000]
[16:19:57] scan: title angle(s) 1
[16:19:58] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 8:9
[16:19:58] scan: title (0) job->width:640, job->height:480
[16:19:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 1, ttn 1, cells 0->0 (16 blocks)
  + duration: 00:00:00
  + size: 720x480, pixel aspect: 8/9, display aspect: 1.33, 29.970 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 16 blocks, duration 00:00:00
  + audio tracks:
  + subtitle tracks:
[16:19:58] 1 job(s) to process
[16:19:58] starting job
[16:19:58] Height out of bounds, scaling down to 480
[16:19:58] New dimensions 640 * 480
[16:19:58] sync: expecting 2 video frames
[16:19:58] job configuration:
[16:19:58]  * source
[16:19:58]    + /dev/sr0
[16:19:58]    + title 1, chapter(s) 1 to 1
[16:19:58]  * destination
[16:19:58]    + Brave.mp4
[16:19:58]    + container: MPEG-4 (.mp4 and .m4v)
[16:19:58]  * video track
[16:19:58]    + decoder: mpeg2
[16:19:58]      + bitrate 9800 kbps
[16:19:58]    + frame rate: same as source (around 29.970 fps)
[16:19:58]    + dimensions: 720 * 480 -> 640 * 480, crop 0/0/0/0, mod 0
[16:19:58]    + encoder: MPEG-4 (FFmpeg)
[16:19:58]      + bitrate: 1000 kbps, pass: 0
[16:19:58] dvd: Region mask 0xf7
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.12 for DVD access
libdvdnav: DVD Title: BRAVE
libdvdnav: DVD Serial Number: 412E6DD2
libdvdnav: DVD Title (Alternative): BRAVE
libdvdnav: Unable to find map file '/home/alberto/.dvdnav/BRAVE.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x000001ff
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000005cf
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000005ed
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000063c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0000087e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00035cdb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00309c86
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x0030a0be
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x0030d482
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x0030fc31
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x0031a1e8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00325600
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x00326b3d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x0035df16
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_0.VOB at 0x0038bb9e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x0038bc21
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_0.VOB at 0x003eeea5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x003eef15
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_23_1.VOB at 0x003eef2e
libdvdread: Elapsed time 0
libdvdread: Found 23 VTS's
libdvdread: Elapsed time 0
libdvdread: Using libdvdcss version 1.2.12 for DVD access
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000080000]
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000000000]
[16:19:58] reader: first SCR 146 id 0xe0 DTS 22254
[16:19:58] reader: done. 1 scr changes
[16:19:58] encavcodecInit: MPEG-4 ASP encoder
[16:19:58] mpeg2: "" (1) at frame 0 time 3003
[16:19:58] sync: first pts is 3003
[16:19:58] work: average encoding speed for job is 0.000000 fps
[16:19:58] mux: track 0, 12 frames, 5065 bytes, 101.20 kbps, fifo 16
Muxing: this may take awhile...[16:19:58] sync: got 12 frames, 2 expected
[16:19:58] mpeg2 done: 12 frames
[16:19:58] render: lost time: 0 (0 frames)
[16:19:58] render: gained time: 0 (0 frames) (0 not accounted for)
[16:19:58] libhb: work result = 0

Encode done!

HandBrake has exited.

您要备份蓝光光盘的光盘吗?
rstreeter78

Answers:


24

这是我针对此类事情(以及其他多媒体问题)执行的简单步骤:

  1. 更新系统并安装Ubuntu Restricted Extras

    sudo apt-get update && sudo apt-get upgrade  
    sudo apt-get install ubuntu-restricted-extras ubuntu-restricted-addons  
    
  2. 安装读取所有类型的DVD并执行脚本所需的库

    sudo apt-get install libdvdread4   
    sudo /usr/share/doc/libdvdread4/install-css.sh  
    

    该过程包括准备DVD设备以读取DVD并从Medibuntu网站下载所需的文件。

  3. 在下面添加一种用于手刹的PPA:

    稳定的PPA

    sudo add-apt-repository ppa:stebbins/handbrake-releases  
    

    快照PPA

    sudo add-apt-repository ppa:stebbins/handbrake-snapshots
    
  4. 更新存储库并安装/升级握手

    sudo apt-get update && sudo apt-get install handbrake-gtk handbrake-cli
    
  5. 如果您收到以下错误,请按照此处的说明进行操作:http : //ubuntuhandbook.org/index.php/2013/10/install-handbrake-in-ubuntu-13-10-saucy/

    Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found
    
  6. 如果您已经安装了它,请执行

    sudo apt-get update && sudo apt-get upgrade
    

现在我们可以继续进行备份了

  1. 打开手刹

    在此处输入图片说明

  2. 点击来源

    在此处输入图片说明

  3. 在左下角,您会看到一个选项,指示“ 检测到的DVD设备”从那里选择您的DVD,因为如果从左侧面板中选择它,则可能无法正常工作。

    在此处输入图片说明

  4. 请稍等(如果通过外部USB装置像我一样进行,则可能需要2到5分钟)。然后只需选择开始按钮或更改任何视频/音频设置,然后单击开始按钮。

    在此处输入图片说明

如果您想以终端方式进行操作,则:

sudo HandBrakeCLI -i /dev/sr0 -o Ocean11.mkv

假设DVD单元在 /dev/sr0

注意-在尚未安装任何东西的计算机上进行测试后,将其发布。有效。希望它也对您有用。


1
只是提醒一下Luis,我认为您可能在此行末尾缺少gtk或cli sudo apt-get update && sudo apt-get install handbrake。例如,我使用了handbrake-gtk,谢谢您对答案的充分解释。
CoalaWeb 2013年

@CoalaWeb很抱歉LONGGG的延迟,但只是更新了答案。将来,请随意编辑您看到的任何类似错误的答案。谢谢你,朋友。
Luis Alvarado 2014年

+1为近期从Windows转换为Linux的好答案!
八位大师

3
这项工作非常好-要做的唯一工作就是将File-> Preferences-> Advanced下的更改dvdnavlibdvdreadFile-> Preferences-> Advanced(至少对于我感兴趣的DVD集)。
bbarker '17

1

您是否安装了libdvdcss?如果没有,请打开终端并复制并粘贴以下命令:
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

然后,在输入上面的命令后,输入sudo apt-get install libdvdcss

我相信这可能会有所帮助。


光盘是普通DVD
Alberto Abreu 2013年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.