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
93 stars 20 forks source link

Seeing "NO SIGNAL" in GUI despite no issues streaming in QTP or iMovie #808

Open shanemcquillan opened 9 months ago

shanemcquillan commented 9 months ago

Hi Folks. Discovered dvrescue today and excited to try it out. I'm running version "Dec 22 2023 03:41:20", but unfortunately I'm having no luck capturing. The Capture panel is detecting my camera, but I'm seeing "NO SIGNAL" despite having no issues streaming or capturing with QTP and iMovie.

Let me know what I can do to help debug this.

Many thanks,

Shane

rwrosborough commented 9 months ago

I'm having the same issue. I can capture video from my Canon camcorder on my iMac with terminal command 'ffmpeg-dl -f avfoundation -capture_raw_data true -i "ZR25 MC" -c copy -map 0 -f rawvideo video.dv', but not with the GUI. Capture recognizes my camera, but says "No Signal". Camera controls (play, rew, ff, etc) don't work either.

Thank you and Merry Christmas

Rick

rwrosborough commented 9 months ago

Just discovered an already opened issue for this (issue #724 2023-08-13 dvcapture not capturing), but it isn't closed yet.

Rick

Rysiek18 commented 9 months ago

The problem is also covered in my issue #729 (Firstly not recognizing DV deck, now not getting signal from it)

libbyhopfauf commented 8 months ago

@Rysiek18 @rwrosborough thank you for posting! The "no signal" window just means the tape isn't playing. If you press play manually on your deck/camcorder/player, do you see an image in the GUI playback window?

rwrosborough commented 8 months ago

No.

On Fri, Jan 19, 2024 at 8:03 PM Libby Hopfauf @.***> wrote:

@Rysiek18 https://github.com/Rysiek18 @rwrosborough https://github.com/rwrosborough thank you for posting! The "no signal" window just means the tape isn't playing. If you press play manually on your deck/camcorder/player, do you see an image in the GUI playback window?

— Reply to this email directly, view it on GitHub https://github.com/mipops/dvrescue/issues/808#issuecomment-1901511744, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4LBNY3V57X6ORS4E2HZPLYPMJVPAVCNFSM6AAAAABBACKZCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBRGUYTCNZUGQ . You are receiving this because you were mentioned.Message ID: @.***>

Rysiek18 commented 8 months ago

@libbyhopfauf Of course not. This questions sounds like "have you tried turning it off and on"

rwrosborough commented 8 months ago

Correct.

On Sat, Jan 20, 2024 at 5:09 PM Rysiek18 @.***> wrote:

@libbyhopfauf https://github.com/libbyhopfauf Of course not. This questions sounds like "have you tried turning it off and on"

— Reply to this email directly, view it on GitHub https://github.com/mipops/dvrescue/issues/808#issuecomment-1902276491, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4LBN2T43S3Z4DITLL5UATYPQ6AVAVCNFSM6AAAAABBACKZCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGI3TMNBZGE . You are receiving this because you were mentioned.Message ID: @.***>

libbyhopfauf commented 8 months ago

@libbyhopfauf Of course not. This questions sounds like "have you tried turning it off and on"

@rwrosborough @Rysiek18 Thank you for clarifying. It was unclear from your original post if you had tried manually pressing play to view the footage in playback or capture vs. relying on deck control. Also, turning your computer and the deck on and off several times does often resolve a variety of connectivity issues (as noted in our documentation). Do you have any screenshots or example files to share from captures with QT or iMovie, as well as what you're experiencing with vrecord and dvrescue?

900video commented 8 months ago

@libbyhopfauf I'm not sure if it's bad decorum to jump into this as well but I seem to be having similar issues and I would be so happy to help give feedback and possibly resolve this. I too can capture via QuickTime but cannot via DVRescue. Related to the mention above, when manually press play on the deck, DVRescue does recognize this and changes "stopped" to "playing" but still shows no signal.

Screenshot 2024-01-23 at 5 36 04 PM
libbyhopfauf commented 8 months ago

@900video Thank you for contributing your testing! QT does capture the video and audio signal from DV tapes as a Quicktime file (it's not capturing the raw DV stream with the data)

@900video @rwrosborough @Rysiek18 would you all mind trying the 2024-01-20 version of the daily build for the dvrescue GUI? I'm also curious about the disk access permissions given to DVRescue and the Terminal, as well as if you have changed your security policy in recovery mode to "reduced security" and checked "allow" for the first option under that setting.

After adding the software to the applications folder, open the app directly from the install window by double clicking on the DVRescue icon (this will avoid any issues with the GUI using an older version of the CLI that you might have installed on your computer). Also, please wait about 10 seconds for the image to appear in the GUI playback window when recording. The file will contain all of the information, there is just a slight delay currently for the playback display.

I'm just curious because I was able to capture in the DVRescue GUI using the version above. Test files and logs are located here.

Here are the specs that I am working with:

900video commented 8 months ago

@libbyhopfauf My specs:

computer = iMac intel 9
macOS = Sonoma 14.3. (just updated and tested. previous test were on some version of 13...)
device = Sony DSR-40
dvrescue version = 2024-01-20 (just updated and tested)
security policy = Is this possible for Intel macs? 
full disk access = yes, granted for dvrescue and Terminal
900video commented 8 months ago

@libbyhopfauf BTW, I just tried recording with Vrecord GUI and it worked. It wasn't working for me yesterday prior to updating my OS. I suppose if I add a small monitor to my deck, I can use this workflow until this DVResecue gets worked out.

libbyhopfauf commented 8 months ago

@900video that's great! The recovery mode reset of your security policy is possible on Intel. Here are instructions for changing it (from the table of contents, jump to the "change the security policy" section) and follow the steps for the type of Mac you are using.

And to clarify, regarding opening the app, I just mean once you download the .dmg file and open the install window (see below) you'll want to double-click on the application icon in the window to ensure you're actually opening the latest version.

Screenshot 2024-01-24 at 6 32 18 PM

Let me know if that makes any difference! Glad that the dvcapture in vrecord is working for you!

libbyhopfauf commented 8 months ago

@libbyhopfauf BTW, I just tried recording with Vrecord GUI and it worked. It wasn't working for me yesterday prior to updating my OS. I suppose if I add a small monitor to my deck, I can use this workflow until this DVResecue gets worked out.

Just to clarify, is the playback window not popping up for playback/capture in vrecord for dvcapture?

900video commented 8 months ago

@libbyhopfauf BTW, I just tried recording with Vrecord GUI and it worked. It wasn't working for me yesterday prior to updating my OS. I suppose if I add a small monitor to my deck, I can use this workflow until this DVResecue gets worked out.

Just to clarify, is the playback window not popping up for playback/capture in vrecord for dvcapture?

Vrecord's "playback/capture" window does pop up but only after clicking record. I'll be able to try the recovery mode reset tomorrow. Thanks again for your help.

900video commented 8 months ago

@900video that's great! The recovery mode reset of your security policy is possible on Intel. Here are instructions for changing it (from the table of contents, jump to the "change the security policy" section) and follow the steps for the type of Mac you are using.

And to clarify, regarding opening the app, I just mean once you download the .dmg file and open the install window (see below) you'll want to double-click on the application icon in the window to ensure you're actually opening the latest version. Screenshot 2024-01-24 at 6 32 18 PM

Let me know if that makes any difference! Glad that the dvcapture in vrecord is working for you!

Thanks for the link. I somehow missed that. I did start in recovery mode, entered the terminal and typed the code from the instructions, then restarted. I'm still not seeing a signal.

persocon commented 8 months ago

@900video that's great! The recovery mode reset of your security policy is possible on Intel. Here are instructions for changing it (from the table of contents, jump to the "change the security policy" section) and follow the steps for the type of Mac you are using. And to clarify, regarding opening the app, I just mean once you download the .dmg file and open the install window (see below) you'll want to double-click on the application icon in the window to ensure you're actually opening the latest version. Screenshot 2024-01-24 at 6 32 18 PM Let me know if that makes any difference! Glad that the dvcapture in vrecord is working for you!

Thanks for the link. I somehow missed that. I did start in recovery mode, entered the terminal and typed the code from the instructions, then restarted. I'm still not seeing a signal.

  • I tried recording using DVrescue (without an image) and got a variety of responses. The first few attempts (deck in Local) mode, I was able to hit record, type file name and I'd get a couple of frames recorded (although I was trying to record several seconds).
  • I tried putting the deck in remote mode. Some reason recording worked worse as the file never seemed to finish/close. Meaning I'd get a small file but it wouldn't play or even have a proper thumbnail. And now it's doing the same while deck in Local. ?? Weird. I can't even get it to record/finish at all.
  • Trying Vrecord no longer is working. As soon as I hit record, the UI disappears, the terminal window then says to close the playback window to stop recording but there is no playback window. I end up just quitting the terminal.
  • This is off the topic and that's probably a big no no here but I have another deck that can send a signal through the HDMI (Sony HVR M25). Any chance that HDMI can send the original DV signal or is it getting altered? It looks good.

you will get digital signal and not dv analog from HDMI :(

tomackroyd commented 8 months ago

@900video writes:

Trying Vrecord no longer is working. As soon as I hit record, the UI disappears, the terminal window then says to close the playback window to stop recording but there is no playback window. I end up just quitting the terminal.

I have the exact same issue: the ffplay-dl process is running but there is no window, so cannot halt capture. Refer https://github.com/amiaopensource/vrecord/issues/769

900video commented 8 months ago

@persocon

you will get digital signal and not dv analog from HDMI :(

Can you elaborate? Yes the HDMI is sending a digital signal. But what do you mean "dv analog"? These two terms are at odds to me. Thanks

libbyhopfauf commented 8 months ago

Thanks for the link. I somehow missed that. I did start in recovery mode, entered the terminal and typed the code from the instructions, then restarted. I'm still not seeing a signal.

Sorry, just to double check, did you also go into the Security Policy and select "reduced security" and check the two options below it? See the instructions below:

OR

  • I tried recording using DVrescue (without an image) and got a variety of responses. The first few attempts (deck in Local) mode, I was able to hit record, type file name and I'd get a couple of frames recorded (although I was trying to record several seconds).

Would you mind creating a short screen recording of the different things you tried? I'm not sure which part of the process you are referring to.

  • I tried putting the deck in remote mode. Some reason recording worked worse as the file never seemed to finish/close. Meaning I'd get a small file but it wouldn't play or even have a proper thumbnail. And now it's doing the same while deck in Local. ?? Weird. I can't even get it to record/finish at all.

Was this with DVRescue or vrecord? Would you mind creating a short screen recording for this as well? I'm not sure which part of the process you are referring to.

  • Trying Vrecord no longer is working. As soon as I hit record, the UI disappears, the terminal window then says to close the playback window to stop recording but there is no playback window. I end up just quitting the terminal.

Just to clarify, when the Terminal window appears, did you hit enter to initiate the recording? The UI part for vrecord is just entering all of your settings, but it won't start recording until you hit enter.

  • This is off the topic and that's probably a big no no here but I have another deck that can send a signal through the HDMI (Sony HVR M25). Any chance that HDMI can send the original DV signal or is it getting altered? It looks good.

HDMI isn't going to capture the data stream from the DV tape, just the audio and video.

libbyhopfauf commented 8 months ago

Can you elaborate? Yes the HDMI is sending a digital signal. But what do you mean "dv analog"? These two terms are at odds to me. Thanks

HDMI isn't going to capture the data stream from the DV tape, just the audio and video streams. You need the Firewire connection to read/write all three streams.

libbyhopfauf commented 8 months ago

@persocon @Rysiek18 @shanemcquillan would you mind downloading the latest release of DVRescue (released yesterday) and see if you can capture from the GUI? I will note that I've found the deck control to still be a little buggy for FF/REW, but capture is consistently working on multiple computers at the MIPoPS office and I'm just curious if the release fixes the issues that you all were having. Thank you so much!

redsil commented 7 months ago

I also seeing this issue and I am running version devel - Jan 31 2024 19:14:28

libbyhopfauf commented 7 months ago

I also seeing this issue and I am running version devel - Jan 31 2024 19:14:28

@redsil what computer make/model and what operating system are you using? Are you able to record in Quicktime or another software?

redsil commented 7 months ago

@redsil what computer make/model and what operating system are you using? Are you able to record in Quicktime or another software?

I am on a Mac mini (late 2012) running MacOS 13.4.1. I haven't tried Quicktime or anything else on the Mac. I have gotten DV off this device in Linux though.

dericed commented 7 months ago

Hey everyone here, for instance of the "NO SIGNAL" issue, can you provide a log with these steps:

I hoping this helps us find out what's not working right.

tomackroyd commented 7 months ago

@900video and others, I can't remember who I ripped this gSheet off from, but have been populating it with various methods of capturing from DV - feel free to collaborate and edit: https://docs.google.com/spreadsheets/d/1NfmFq9ES5tLQivuAxq5aYdpltqO1W5qCJch_olq2sB4/edit?usp=sharing

tomackroyd commented 7 months ago

Latest version running from Applications folder has "NO DV DECK DETECTED". DV stream is present and detected by eg QuickTime player.

twelveplusone@Toms-MacBook-Air ~ % avfctl -list_devices                         
2024-02-18 11:49:29.359 avfctl[1688:26219] Devices:
2024-02-18 11:49:29.360 avfctl[1688:26219] [0 - 0x800460101ab28fb] DV

https://gist.github.com/tomackroyd/2ee6fcfd55378184b4d72041fe39a5fe

Also vrecord does not detect deck.

tomackroyd commented 7 months ago

I tried dvrescue_GUI_22.12.20240127_Mac which used to work but now has "NO DV DECK DETECTED" again.

dericed commented 7 months ago

Can you run dvrescue --list_devices_json and send that. Cc @ElderOrb

tomackroyd commented 7 months ago

Can you run dvrescue --list_devices_json and send that. Cc @ElderOrb

twelveplusone@Toms-MacBook-Air ~ % dvrescue --list_devices_json
[{"id":"0x800460101ab28fb","name":"DV","type":"DV"}]
tomackroyd commented 7 months ago

I ran the set of brew commands, reset csrutil to disable and checked security policy, checked camera access and full disk access, this time ran 20240217 build, same result https://gist.github.com/tomackroyd/b14edd0b9931a9110ef9ec357f83b987

libbyhopfauf commented 6 months ago

@tomackroyd @persocon @Rysiek18 @shanemcquillan @redsil @900video would you all mind testing using the most recent version (2024-03-26) and if you're still having issues send reports using the instructions from Dave:

Hey everyone here, for instance of the "NO SIGNAL" issue, can you provide a log with these steps:

  • Get a recent daily build at https://old.mediaarea.net/download/snapshots/binary/dvrescue-gui/ and install that into the /Applications/ folder.
  • Make sure you have a DV deck attached and in remote mode (or playing a tape) and that the tape has DV content on it (i.e. that there is something to capture).
  • Open the Terminal.app and launch dvrescue like this /Applications/dvrescue.app/Contents/MacOS/dvrescue --log.
  • Go to the capture tab, and wait for the deck to be recognized (back at the No Signal screen.
  • Click play in the GUI. If the video does not play within a few seconds, then quit DVRescue.
  • Go back to Terminal and run this command cat ~/Library/Containers/net.MediaArea.dvrescue.mac-gui/Data/dvrescue-gui_logs/dvrescue-gui.log
  • Copy the log that pops up and paste it into https://gist.github.com/ and save it.
  • Come back to this thread and share about what happened in the GUI and link to the log that you pasted into gist.

I hoping this helps us find out what's not working right.

tomackroyd commented 6 months ago

Running dvrescue_GUI_22.12.20240330_Mac Not only no signal, "no deck detected", per previous test 18 Feb. https://gist.github.com/tomackroyd/9dabc0486d69bd43ee2da2238ac7c71d#file-tom_ackroyd_dvrescue_gui_22-12-20240330_mac_2024-04-01_no_deck_detected

QuickTime Player sees deck and signal.

twelveplusone@Toms-MacBook-Air 23031 dvrescue test 5 % dvrescue --list_devices_json [{"id":"0x800460101ab28fb","name":"DV","type":"DV"}]

Also, in vrecord: No deck to select in "Select a DV device" window, but then after selecting "deck control", status is "[0x800460101ab28fb] DV: playing"

dericed commented 6 months ago

Hi @tomackroyd I'm curious about this line in your log: [2024:04:01 11:25:05 +13:00] [debug] [thread 1563562] error occurred at thread QThread(0x600003890600) : "execvp: Operation not permitted"

Can you verify that dvrescue was given permissions to the camera, such as: image

tomackroyd commented 6 months ago

@dericed Confirming dvrescue has Camera access, a good double-check for this is that if you right-click on dvrescue in the Camera pane and "Show in Finder" it is the GUI app I installed yesterday.

Screenshot 2024-04-02 at 5 58 41 PM
dericed commented 6 months ago

Hi @tomackroyd, perhaps there's a different behavior between your installed dvrescue CLI and the one within the GUI. Could you run these four commands and paste the result here;

/Applications/dvrescue.app/Contents/Helpers/dvrescue --version
Applications/dvrescue.app/Contents/Helpers/dvrescue --list_devices_json
dvrescue --version
dvrescue --list_devices_json
tomackroyd commented 6 months ago

@dericed Sure:

twelveplusone@Toms-MacBook-Air ~ % /Applications/dvrescue.app/Contents/Helpers/dvrescue --version
DVRescue v.22.12.20240330 (MediaInfoLib v.24.03) by MIPoPS.
twelveplusone@Toms-MacBook-Air ~ % /Applications/dvrescue.app/Contents/Helpers/dvrescue --list_devices_json 
[{"id":"0x800460101ab28fb","name":"DV","type":"DV"}]
twelveplusone@Toms-MacBook-Air ~ % dvrescue --version
DVRescue v.24.01 (MediaInfoLib v.24.01) by MIPoPS.
twelveplusone@Toms-MacBook-Air ~ % dvrescue --list_devices_json
[{"id":"0x800460101ab28fb","name":"DV","type":"DV"}]
twelveplusone@Toms-MacBook-Air ~ % 
g-maxime commented 6 months ago

I get an "execvp: Operation not permitted" error when the GUI tries to accesses binary outside on the application bundle. Can you checks the paths in Settings -> Advanced and reset it?

dericed commented 6 months ago

I tested this on a new user on macOS 12.7.1. The test went the same whether the user was in standard or admin mode.

With the 24.03 GUI, when using the bundled dvrescue, the deck was scene and playback worked. https://gist.github.com/dericed/5def215bd66787d1af3cd2a7b586fc23

When changing the settings to use /usr/local/bin/dvrescue (which works in terminal to see the deck) then the GUI doesn't show a deck and I get the execvp error: https://gist.github.com/dericed/28972a88acb3e15eba8b1a9476829f41#file-gistfile1-txt-L267.

@ElderOrb can we detect this error and give a warning popup. "Communications issue found. Please click "RESET" in the Advanced tab or the Settings menu."

tomackroyd commented 5 months ago

I get an "execvp: Operation not permitted" error when the GUI tries to accesses binary outside on the application bundle. Can you checks the paths in Settings -> Advanced and reset it?

The paths were correct, and resetting didn't change them, but now dvrescue sees the deck and receives a signal. Not been able to capture successfully yet. https://gist.github.com/tomackroyd/9873d962546485268be4035f3e340414

Screenshot 2024-04-06 at 12 33 41 PM
tomackroyd commented 5 months ago

From previous comment, here is result of empty dv file capture, per previous experiences. 23031_test_2024-04-06.dv.dvrescue.xml.txt 23031_test_2024-04-06.dv.capture.log

tomackroyd commented 5 months ago

@ElderOrb can we detect this error and give a warning popup. "Communications issue found. Please click "RESET" in the Advanced tab or the Settings menu."

@dericed do you mean "of" the Settings menu? Out of interest, what does "RESET" actually do?

borilibrarian commented 3 months ago

Hi I am having an issue similar to what was shared above. Dvrescue recognized my deck--Sony DSR-1500A--but it doesn't play or record, tried doing some tweaks to no avail. Here's the log, per the recommendation above, would love any help if possible!

https://gist.github.com/borilibrarian/b0972e78bbff9e32e0b803804e26bb0f

libbyhopfauf commented 3 months ago

@900video @borilibrarian @shanemcquillan @tomackroyd @redsil @rwrosborough @persocon @Rysiek18

Would you all mind testing the latest daily build to see if the permissions/capturing issues have been resolved?

If you are still encountering issues with the latest daily build, please share a log (using the steps below) so we can work on resolving it. Please provide a log with these steps:

libbyhopfauf commented 3 months ago

@dericed here is a test log from MARMIA who is experience these same issues on Macs with M1 and M3 chips. Miller-MARMIA_test-log.txt

borilibrarian commented 3 months ago

Hello! Thanks for being so attentive! Things are working a bit better now with the latest build but there are some major issues.

  1. In remote mode when pressing record or play, it works for a second or half a second and then it stops.
  2. In local mode, the record function actually works using the play button in the application. But I am not getting any audio now.

Here's my log: https://gist.github.com/borilibrarian/a967948cf42058d69779c90975359ad1

libbyhopfauf commented 3 months ago

Hello! Thanks for being so attentive! Things are working a bit better now with the latest build but there are some major issues.

  1. In remote mode when pressing record or play, it works for a second or half a second and then it stops.
  2. In local mode, the record function actually works using the play button in the application. But I am not getting any audio now.

Here's my log: https://gist.github.com/borilibrarian/a967948cf42058d69779c90975359ad1

@borilibrarian thank you for sharing your log and letting us know how it's working for you with the latest build. Does the resulting file have audio (when the deck is in local mode and you record) or is the audio not being captured?

borilibrarian commented 3 months ago

The audio isn’t being captured at all.

Sent from my iPhone

On Jun 21, 2024, at 3:49 PM, Libby Hopfauf @.***> wrote:

 Hello! Thanks for being so attentive! Things are working a bit better now with the latest build but there are some major issues.

In remote mode when pressing record or play, it works for a second or half a second and then it stops. In local mode, the record function actually works using the play button in the application. But I am not getting any audio now. Here's my log: https://gist.github.com/borilibrarian/a967948cf42058d69779c90975359ad1

@borilibrarian thank you for sharing your log and letting us know how it's working for you with the latest build. Does the resulting file have audio (when the deck is in local mode and you record) or is the audio not being captured?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

libbyhopfauf commented 3 months ago

The audio isn’t being captured at all. Sent from my iPhone On Jun 21, 2024, at 3:49 PM, Libby Hopfauf @.***> wrote:  Hello! Thanks for being so attentive! Things are working a bit better now with the latest build but there are some major issues. In remote mode when pressing record or play, it works for a second or half a second and then it stops. In local mode, the record function actually works using the play button in the application. But I am not getting any audio now. Here's my log: https://gist.github.com/borilibrarian/a967948cf42058d69779c90975359ad1 @borilibrarian thank you for sharing your log and letting us know how it's working for you with the latest build. Does the resulting file have audio (when the deck is in local mode and you record) or is the audio not being captured? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

The audio isn’t being captured at all. Sent from my iPhone On Jun 21, 2024, at 3:49 PM, Libby Hopfauf @.***> wrote:  Hello! Thanks for being so attentive! Things are working a bit better now with the latest build but there are some major issues. In remote mode when pressing record or play, it works for a second or half a second and then it stops. In local mode, the record function actually works using the play button in the application. But I am not getting any audio now. Here's my log: https://gist.github.com/borilibrarian/a967948cf42058d69779c90975359ad1 @borilibrarian thank you for sharing your log and letting us know how it's working for you with the latest build. Does the resulting file have audio (when the deck is in local mode and you record) or is the audio not being captured? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

I wonder if it's the tape (sometimes if the file changed audio rates this can happen during playback). Would you mind trying another tape or running that file through analysis (in the GUI) to confirm if there if there is an audio rate change?