mipops / dvrescue

Archivist-made software that supports data migration from DV tapes into digital files suitable for long-term preservation. Snapshot daily builds are at https://mediaarea.net/download/snapshots/binary/dvrescue/.
BSD 3-Clause "New" or "Revised" License
90 stars 20 forks source link

Newbie having trouble: not able to capture, unable to install vrecord #693

Open Splashcam opened 1 year ago

Splashcam commented 1 year ago

Hi all. I'm a wildlife cameraman in Australia. I have around 100 miniDV PAL tapes and 150 DVCPro 50 PAL tapes that I desperately want to save in the best quality possible. I've tried many methods but have been disappointed. For, as you well know, it is increasingly difficult to even simply capture a digital tape to a digitally cloned file. Let alone de-interlace it well and improve the quality.

I have been watching your project with great interest for a few years and applaud you for the aims you have set and the work you have put into producing a high-standard workable solution for archivists and simple folk like myself. I thank you. I have tried to use previous iterations but without success. I'm a cameraman, not a coding expert.

So, I was greatly exited when I saw that you had finally put the complete DVRescue package together. I have spent many hours watching your videos, and following your detailed instructions to install the latest builds for mac but have struck some problems.

I am installing on a MacbookPro late 2018 running 10.14.6 (Mojave). I am reluctant to upgrade the OS due to other apps I need to run, but will do so if necessary. I am trying to capture miniDV tape from from either a Sony DCR-VX1000E or a Panasonic NV-MX7 PAL camcorders as the Panasonic deck I had has just died.

I have uninstalled (simply trashed) all the old versions of DVRescue, DVAnalyzer etc from this mac. I have downloaded and installed both the latest CLI .dmg (dvrescue_CLI_0.21.11.20230311_Mac.dmg) and the GUI.dmg (dvrescue_GUI_0.21.11.20230403_Mac.dmg). I have brew updated, upgraded, etc & fixed any problems there except ruby/rust will not upgrade.

The DVRescue GUI app opens easily with the new GUI window. About shows 'v. devel Apr 3 2023, QT 5.15.2, ffmpeg 5.1'., dvrescue --version shows DVRescue v.0.21.11.20230311 (MediaInfoLib v.22.12) by MIPoPS With the Panasonic camcorder attached via Firewire cable to Apple Th2-Firewire adapter to Apple Th2-Th3 adapter to RHS rear Th3 port, the Capture window shows 'No DV Deck Connected' & 'Scanning for DV Decks". But the mac has connected the device and multiple mac restart, start DVRescue GUI &/or connect Firewire has not fixed.

System Report/Firewire shows : NV-MX7 (with details), Quicktime/New Movie shows 'NV-MX7' source available.

dvrescue --list_devices .....has issues (below) but does show NV-MX7 2023-04-06 20:11:30.458 dvrescue[2351:124962] Error loading /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio, 262): no suitable image found. Did find: /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio: no matching architecture in universal wrapper 2023-04-06 20:11:30.458 dvrescue[2351:124962] Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x7f824044cda0 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (bundle, not loaded) 2023-04-06 20:11:30.473 dvrescue[2351:124962] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO: dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO, 262): no suitable image found. Did find: /Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO: code signature in (/Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs 2023-04-06 20:11:30.473 dvrescue[2351:124962] Cannot find function pointer DeckLinkPluginFactory for factory 4675C20F-0269-4425-9F5D-E6C6C6CF4A3B in CFBundle/CFPlugIn 0x7f82405217a0 </Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin> (bundle, not loaded) 0x80458020d3a20b: NV-MX7 (Panasonic NV-MX7)

But here is a problem. When I check vrecord -e .........I get...... 'vrecord: command not found' So I then: brew tap amiaopensource/amiaos brew install vrecord ......but gives..... "This software does not run on macOS versions older than Catalina." and does not install. Is this the cause of my problem? I imagine that vrecord is essential for DVRescue.

My apologies for this lengthy post. I look forward to any suggestions.

All the best to you.

dericed commented 1 year ago

I think Mojave should be fine. And vrecord isn't necessary for the dvrescue-gui (as it has most of what it needs bundled).

Could you try installing the dvrescue command line tool and running: dvrescue --list-devices In the Terminal and sharing the result.

dericed commented 1 year ago

Ah my apologies I see you did that. Could you open System Preferences and go to the security tab and then see if DVRescue if checked under the camera section (the os considers the deck as a camera)

Splashcam commented 1 year ago

Could you open System Preferences and go to the security tab and then see if DVRescue if checked under the camera section (the os considers the deck as a camera) No it is not & I cannot simply add it without a prompt from the app. But I have given DVRescue & Terminal 'Full Disk Access" as per your web suggestions. I have not turned Off SIP though. I will try that and let you know.

Splashcam commented 1 year ago

I disabled SIP. ..... DVR/Capture still 'No DV Deck...' dvrescue --list-devices .....lists either Panasonic or Sony camera as present when I connect either of them. restart, wait, connect device 2 or 3 times ...... no change Different Thunderbolt ports ......... no change

dericed commented 1 year ago

Hmmm, but dvrescue isn’t listed under Camera in the security tab? Can you drag/drop the app into that tab to prompt the request? On Apr 6, 2023, at 1:46 PM, Glen Carruthers @.***> wrote: I disabled SIP. ..... DVR/Capture still 'No DV Deck...' dvrescue --list-devices .....lists either Panasonic or Sony camera as present when I connect either of them. restart, wait, connect device 2 or 3 times ...... no change Different Thunderbolt ports ......... no change

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Splashcam commented 1 year ago

Can you drag/drop the app into that tab to prompt the request? A: No

I failed to mention that Terminal does have System Preferences/Security/Camera & Microphone access - probably due to my previous trials in capturing using ffmpeg.. Interestingly, microphone access was listed but switched Off. How & why it was Off I don't know but it shows that you are certainly right in suggesting that we should always check these settings.

So it appears in my case that DVRescue_CLI has camera access (via Terminal?) but DVRescue_GUI (DVR_GUI) does not. Why? I have done a bit of amateur searching that may help but then again it may not :-)

What is needed for an app to gain access to a camera or microphone? .....macDeveloper documents............. Requesting authorization to capture & save media & Requesting Authorization for Media Capture on macOS.

Are there workarounds to solve lack of access? Best possible solutions on superuser - manually grant access commands: A workaround for manually granting access to a client will be tccctl --grant -b <client> -s <service>. For example tccctl --grant -b com.webex.meetingmanager -s kTCCServiceMicrophone Q: What would be the command to do this in my case? Including reference for DVRGUI app & for camera & microphone for OS10.14?. - modify TCC/TCC.db database Edit '~/Library/Application Support/com.apple.TCC/TCC.db', which is an SQLite3 database with the list of permitted applications. An example SQL command: INSERT INTO "access" VALUES('kTCCServiceMicrophone','com.google.Chrome', 0, 1, 0, null, null, null, 'UNUSED', null, null, 1621244686);. Reference: [macops.ca/modifying-the-tcc-db](https://macops.ca/modifying-the-tcc-db/) However, enabled SIP might prevent you from writing into the db. Q: Would I also need to do this and what would be the command? - launch the app thru iTerm (or Terminal?) - to initiate the prompt if it is available_ Q: Is this also worth a try and what would be the command?

Glen: Note about SIP: Editing TCC/TCC.db may require SIP OFF but also one comment says "(their solution) plus 'I needed to also turn SIP back ON". aaargh! Thank you Apple!

Q: Is is possible to use a camcorder with DVRescue? Are they capable of Firewire-controlled precise segment multi-pass scan & capture that DVR requires for optimal quality .dv capture? Or am I better to repair or replace my dead (mechanical load failure) Panasonic AG-DV2500P deck. If replace, are Sony decks more suited to DVR than Panasonic?

Another long post. I am trying to cover as many points as possible to avoid delays due to our significant world-time difference. All the best.

Splashcam commented 1 year ago

@dericed Modifying TCC.db database added dvrescue.app to System Preferences/Security & Privacy/ Microphone & Camera lists.

sqlite> INSERT INTO "access" VALUES('kTCCServiceMicrophone','net.mediaarea.dvrescue-gui.mac', 0, 1, 0, null, null, null, 'UNUSED', null, null, 1681209600);

sqlite> INSERT INTO "access" VALUES('kTCCServiceCamera','net.mediaarea.dvrescue-gui.mac', 0, 1, 0, null, null, null, 'UNUSED', null, null, 1681209600);

But dvrescue / Capture would still not find device that was definitely connected (System Info/Firewire) and available on Quicktime. Now --list-devices is being cranky.

dvrescue --list-devices
Error: missing value after --list-devices.
Splashcam commented 1 year ago

@dericed -- list devices is OK .....all 3 devices show connection to dvr-cli but still not to dvr-gui. I have not yet tried CLI capture but will if I must. I am concerned about trying to capture using a camcorder. Regards