Acabei de comprar alguns DVDs novos para meus filhos, mas estou tentando copiá-los e fazer backup deles, pois sei que eles são duros com seus discos e quero ter backups caso os discos sejam arranhados.
No entanto, não consigo que o HandBrake ou o OGMRip rasguem o disco, fechando por engano.
Eu já criei um symlinc de / dev / sr0 para / dev / dvd, também instalei o regionet caso a região estivesse errada (não estava).
Estou perplexo. Alguém poderia dar uma olhada na saída do HandBrakeCLI e me dizer o que há de errado?
Agradecemos antecipadamente!
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.
Respostas:
Aqui estão as etapas simples que eu faço para coisas como esta (e outras questões de multimídia):
Atualize o sistema e instale extras restritos do Ubuntu
Instale a biblioteca necessária para ler todos os tipos de DVD e execute o script para ele
Esse processo inclui a preparação da sua unidade de DVD para poder ler DVDs e baixar os arquivos necessários no site do Medibuntu.
Adicione um dos PPA para freio de mão abaixo:
PPA ESTÁVEL
INSTANTÂNEO PPA
Atualizar repositórios e instalar / atualizar o freio de mão
Se você receber o seguinte erro, siga as instruções aqui: http://ubuntuhandbook.org/index.php/2013/10/install-handbrake-in-ubuntu-13-10-saucy/
Se você já o instalou, faça
Agora podemos prosseguir com o processo de fazer o backup
Freio de mão aberto
Clique na fonte
No canto inferior esquerdo, você pode ver uma opção que diz Dispositivos de DVD detectados, selecione o seu DVD a partir daí, pois pode não funcionar se você o selecionar no painel esquerdo.
Aguarde 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 fazê-lo da maneira terminal, então:
Supondo que a unidade de DVD esteja em
/dev/sr0
NOTA - Poste isso após o teste em um computador que ainda não possui nada instalado. Funcionou. Espero que funcione para você também.
fonte
dvdnav
paralibdvdread
Arquivo-> Preferências-> Avançado (pelo menos para o meu conjunto de DVDs).Você possui o libdvdcss instalado? Caso contrário, 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 inserir o comando acima, digite
sudo apt-get install libdvdcss
.Eu acredito que isso pode ajudar.
fonte