Impossível ripar DVD usando HandBrake ou OGMRip

15

Eu acabei de comprar para meus filhos alguns DVDs novos, mas estou tentando copiá-los e fazer backup deles, pois sei que eles são difíceis com seus discos e quero fazer backups no caso de os discos ficarem riscados.

No entanto, não consigo obter o HandBrake ou o OGMRip para copiar o disco, fechando em erro.

Eu já fiz um symlinc de / dev / sr0 para / dev / dvd, também instalei o conjunto de regiões caso a região estivesse errada (não era).

Estou perplexo. Alguém poderia dar uma olhada na saída do HandBrakeCLI e me dizer o que está errado?

Obrigado um monte de antecedência!

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.
    
por Alberto Abreu 10.01.2013 / 23:33

2 respostas

24

Aqui estão os passos simples que faço para coisas como esta (e outros problemas de multimídia):

  1. Atualize o sistema e instale Extras restritos do Ubuntu

    sudo apt-get update && sudo apt-get upgrade  
    sudo apt-get install ubuntu-restricted-extras ubuntu-restricted-addons  
    
  2. Instale a biblioteca necessária para ler todos os tipos de DVD e executar o script para isso

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

    Este processo inclui preparar sua unidade de DVD para poder ler DVDs e baixar arquivos necessários do site Medibuntu.

  3. Adicione um dos PPA do Handbrake abaixo:

    STABLE PPA

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

    PPA de INSTANTÂNEO

    sudo add-apt-repository ppa:stebbins/handbrake-snapshots
    
  4. Atualize os repositórios e instale / atualize o freio de mão

    sudo apt-get update && sudo apt-get install handbrake-gtk handbrake-cli
    
  5. Se você receber o seguinte erro, siga as instruções aqui: link

    Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found
    
  6. Se você já instalou, faça

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

Agora podemos prosseguir com o processo de fazer o backup

  1. Travão de mão aberto

  2. Clique na fonte

  3. No canto inferior esquerdo, você pode ver uma opção que diz que Detected DVD Devices seleciona seu DVD, pois pode não funcionar se você selecioná-lo no painel esquerdo.

  4. Espere um momento (pode demorar cerca de 2 a 5 minutos se você estiver fazendo isso como eu através de uma unidade USB externa). Em seguida, basta selecionar o botão Iniciar ou alterar as configurações de Vídeo / Áudio e, em seguida, clicar no botão Iniciar .

Se você quiser fazer o caminho do terminal, então:

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

Supondo que a unidade de DVD está em /dev/sr0

NOTA - Publicou isto depois de testar em um computador que ainda não tinha nada instalado. Funcionou. Espero que funcione para você também.

    
por Luis Alvarado 12.01.2013 / 02:14
1

Você tem o libdvdcss instalado? Se não, abra um terminal e copie e cole este comando:
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

Depois de digitar o comando acima, digite sudo apt-get install libdvdcss .

Eu acredito que isso possa ajudar.

    
por rstreeter78 11.01.2013 / 00:05

Tags