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
83 stars 19 forks source link

2023-1208 m1, decklink capture stalls #795

Closed dericed closed 2 weeks ago

dericed commented 6 months ago

/usr/local/bin/dvrescue "device://84:3c0a102a:00000000" --control "/dev/tty.RS422 Deck Control" --decklink-video-mode ntsc --decklink-video-source composite --decklink-audio-source embedded --decklink-timecode-format vitc -m test234.mkv

Command just hangs and leaves a 577 byte output.

$ xxd test234.mkv 
00000000: 1a45 dfa3 a342 8681 0142 f781 0142 f281  .E...B...B...B..
00000010: 0442 f381 0842 8288 6d61 7472 6f73 6b61  .B...B..matroska
00000020: 4287 8104 4285 8102 1853 8067 01ff ffff  B...B....S.g....
00000030: ffff ffff 114d 9b74 c6bf 84cb 9496 f44d  .....M.t.......M
00000040: bb8b 53ab 8415 49a9 6653 ac81 a14d bb8b  ..S...I.fS...M..
00000050: 53ab 8416 54ae 6b53 ac81 f3ec 8d00 0000  S...T.kS........
00000060: 0000 0000 0000 0000 0000 ec93 0000 0000  ................
00000070: 0000 0000 0000 0000 0000 0000 0000 00ec  ................
00000080: 0100 0000 0000 004d 0000 0000 0000 0000  .......M........
00000090: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000d0: 0000 0000 0015 49a9 66cd bf84 da6b 782e  ......I.f....kx.
000000e0: 2ad7 b183 0f42 404d 808e 4456 5265 7363  *....B@M..DVResc
000000f0: 7565 2030 302e 3030 5741 8e44 5652 6573  ue 00.00WA.DVRes
00000100: 6375 6520 3030 2e30 30ec 9100 0000 0000  cue 00.00.......
00000110: 0000 0000 0000 0000 0000 0000 ec89 0000  ................
00000120: 0000 0000 0000 0016 54ae 6b41 14bf 8437  ........T.kA...7
00000130: 3117 03ae 0100 0000 0000 0098 d781 0173  1..............s
00000140: c581 01ec 8900 0000 0000 0000 0000 9c81  ................
00000150: 0022 b59c 8375 6e64 8381 0123 e383 8401  ."...und...#....
00000160: fd22 8b86 8f56 5f4d 532f 5646 572f 464f  ."...V_MS/VFW/FO
00000170: 5552 4343 e0a6 b082 02d0 ba82 01e6 9a81  URCC............
00000180: 019d 8106 54b0 8104 54ba 8103 54b2 8103  ....T...T...T...
00000190: ec8a 0000 0000 0000 0000 0000 63a2 a828  ............c..(
000001a0: 0000 00d0 0200 00e6 0100 0001 0018 0076  ...............v
000001b0: 3231 3000 3d0e 0000 0000 0000 0000 0000  210.=...........
000001c0: 0000 0000 0000 0041 e48a 41e7 8331 3231  .......A..A..121
000001d0: 41f0 8179 ae01 0000 0000 0000 41d7 8102  A..y........A...
000001e0: 73c5 8102 ec89 0000 0000 0000 0000 009c  s...............
000001f0: 8100 22b5 9c83 756e 6486 8d41 5f50 434d  .."...und..A_PCM
00000200: 2f49 4e54 2f4c 4954 8381 02e1 919f 8102  /INT/LIT........
00000210: b588 40e7 7000 0000 0000 6264 8120 aea1  ..@.p.....bd. ..
00000220: d781 0373 c581 03ec 8500 0000 0000 8381  ...s............
00000230: 1186 8b53 5f54 4558 542f 5554 4638 9c81  ...S_TEXT/UTF8..
00000240: 00                                       .
JeromeMartinez commented 6 months ago

@g-maxime an idea why no frame?

dericed commented 3 months ago

I'm rerunning this with version 20240330 and the same command.

With the deck stopped, I run the command /usr/local/bin/dvrescue "device://84:3c0a102a:00000000" --control "/dev/tty.RS422 Deck Control" --decklink-video-mode ntsc --decklink-video-source composite --decklink-audio-source embedded --decklink-timecode-format vitc -m test234.mkv and then I get a 12M output (two are attached). But the capture quits before any frame is received: test235.mkv.zip test234.mkv.zip So the events are:

For a third try, I put the deck into play mode, and then run command and this works.