Kaptam 3 db írható DVD korongon egy kb. 25 éves esküvői videót mentegetés céljából, illetve két megadott jelenetet ki kéne szedni külön fájlba...
A poén, hogy az eredeti felvétel még VHS-re készült a '90-es években jellemző módon, ezt valami asztali DVD felvevővel átjátszották DVD-re valamikor, persze a finalizálás elmaradt...
Asztali DVD player képes lejátszani, de az itt-ott előforduló read error azon is kifog.
Eljárásom a következő volt, vázlatosan:
ddrescue -d -r 8 /dev/sr0 master1.bin
Képfájlt csinált a DVD-ről, aztán ezzel dolgozom tovább.
losetup -Prf master1.bin
virtuális meghajtóba teszi a képfájlt.
A finalizálatlanság miatt, ha csatolom a képfájlt, akárcsak a fizikai korongot, üresnek látszik, mintha nem volna rajta adat.
Ennek ellenére a VLC le tudja játszani, de a hibás részeken fennakad.
A vobcopy-val próbáltam teljes másolatot (mirror) eszközölni, de nem ment, a VIDEO_TS hiánya miatt megakadt.
És most jön a mázli!
Ha a vobcopy-t csak úgy ráeresztem, a lényegi tartalmat minimális panaszkodással leszedi!
root@Nagygep:/home/laco.kde/Videók# vobcopy -i /dev/loop2 -o /home/laco.kde/Videók/DVD3
[Hint] You use -i. Normally this is not necessary, vobcopy finds the input dir by itself. This option is only there if vobcopy makes trouble.
[Hint] If vobcopy makes trouble, please mail me so that I can fix this (robos@muon.de). Thanks
[Error] Please don't use -i /dev/something in this version, only the next version will support this again.
[Hint] Please use the mount point instead (/cdrom, /dvd, /mnt/dvd or something)
Vobcopy 1.2.1 - GPL Copyright (c) 2001 - 2009 robos@muon.de
[Hint] All lines starting with "libdvdread:" are not from vobcopy but from the libdvdread-library
[Info] Path to dvd: /dev/loop2
libdvdread: Encrypted DVD support unavailable.************************************************
** **
** No css library available. See **
** /usr/share/doc/libdvdread4/README.css **
** for more information. **
** **
************************************************
[Info] Name of the dvd: DVD_VIDEO_RECORDER
libdvdread: Zero check failed in src/ifo_read.c:567 for vmgi_mat->zero_3 : 0x00000000010000000000000000000000000000
libdvdread: Zero check failed in src/ifo_read.c:1095 for tt_srpt->zero_1 : 0x3450
[Info] There are 1 titles on this DVD.
[Info] There are 48 chapters on the dvd.
[Info] Most chapters has title 1 with 48 chapters.
[Info] There are 1 angles on this dvd.
[Info] Using Title: 1
[Info] Title has 48 chapters and 1 angles
[Info] Using Chapter: 1
[Info] Using Angle: 1
libdvdread: CHECK_VALUE failed in src/ifo_read.c:1243 for n % 4 == 0
[Info] DVD-name: DVD_VIDEO_RECORDER
[Info] Outputting to /home/laco.kde/Videók/DVD3/DVD_VIDEO_RECORDER1-1.vob
[==================================================================================================================================| ] 59.4% 00:04 [Info] Successfully copied file /home/laco.kde/Videók/DVD3/DVD_VIDEO_RECORDER1-1.vob
[Info] Outputting to /home/laco.kde/Videók/DVD3/DVD_VIDEO_RECORDER1-2.vob
[============================================================================================================================================================================================================================|] 100.0% 00:00 [Info] Successfully copied file /home/laco.kde/Videók/DVD3/DVD_VIDEO_RECORDER1-2.vob
[Info] Copying finished! Let's see if the sizes match (roughly)
[Info] Combined size of title-vobs: 3612778496 (3445 MB)
[Info] Copied size (size on disk): 3612778496 (3445 MB)
[Info] Everything seems to be fine, the sizes match pretty good ;-)
[Hint] Have a lot of fun!
Kezdődhet a rock&roll
ffmpeg segítségével mindegyik vob fájlból csináltatok mjpeg cuccot, ezt könnyen tudom már szerkesztni.
ffmpeg -i DVD_VIDEO_RECORDER1-2.vob -vf yadif=0:-1:1 -c:v mjpeg_qsv -c:a pcm_s16le -ar 48000 3-2.mov
Szúrópróba-szerűen belenézve több helyen kép/hang szinkron rendben, a rippelt tartalom a szerkesztőben...
Innen már nyerésre állok, de ezt reggel 9-kor még nem gondoltam volna...