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

dvpackager mov won't open #948

Open billbrand opened 2 weeks ago

billbrand commented 2 weeks ago

iMac M1 OS 15.0.1 (24A348)

I am trying to capture minidv tapes with vrecord/dvrescue using a Panasonic AG-HVX200 camcorder as a deck with dvpackeger set to QuickTime.

Problem: resulting .mov files won't open in QuickTime:

Error message: The document “test13repack_part1.mov” could not be opened. THe file isn't compatible with QuickTime Player.

Possible related problem?: in vrecord capture doesn't stop after specified time (2) so I stopped it manually with escape.

Terminal window: Starting the vrecord GUI. To bypass the GUI, run like 'vrecord FILENAME'. Summary: Copying video from 0x80458228c7d009: AG-HVX200 (Panasonic AG-HVX200) [DV]. Technician=BB. Inputs recorded to /Volumes/ThunderBay4_BBO/BB DV Capture/test13repack.dv and Auxiliary Files created in /Volumes/ThunderBay4_BBO/BB DV Auxilliary. Tape duration set to: 2 minutes. Hit enter to start recording

Close the playback window to stop recording. 2024-11-03 13:16:05.572 dvrescue[10609:134231] Frame dropped.=0/0
DVRescue v.24.07 (MediaInfoLib v.24.06) by MIPoPS sq= 0B f=0/0
Input #0, dv, from 'pipe:':11 19:02:03 (1.0x, DV 32)= 0B f=0/0
Duration: N/A, start: 0.000000, bitrate: 28771 kb/s Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s No such filter: '' 2024-11-03 13:16:08.641 ffplay-dl[10612:134227] +[IMKClient subclass]: chose IMKClient_Legacy 2024-11-03 13:16:08.641 ffplay-dl[10612:134227] +[IMKInputSession subclass]: chose IMKInputSession_Legacy 5535 00:53:36;23 1999-06-11 19:05:06 (1.0x, DV 32)= 0B f=0/0

5536 frames in total.

How frames are merged: 5536 = 100.0000% of frames are recovered from full frames.

Usage of input files: 8304000 = 100.0000% of blocks from file 0 used.

Input files summary: File 0: No error detected

Result: 0 = 0.0000% of blocks have errors, in 0 = 0.0000% of frames mv: /Volumes/ThunderBay4_BBO/BB DV Auxilliary/test13repack_vrecord_input.log: set owner/group (was: 501/0): Operation not permitted Please wait: running dvpackager on file. Packaging test13repack.dv

Segmentation options. Split on: Recording_Start_Marker = 0, Recording_Timestamp_Jump = 0, Timecode_Jump = 0, Audio_characteristics_change = 0, Aspect_Ratio_change = 1

St='Flagged Start of a recording', ncTC='non-continuous timecode value', ncR='non-continuous recording timestamp value'

| PTS Range | Duration | Frame Range | Byte Range | Timecode | Recording Timestamp | Size | Frame Rate | DAR | ChSub | Audio | St | ncTC | ncR |

1 | 00:00:00.000000 - 00:03:04.717866 | 184.718 | 0 - 5535 | 0 - 664320000 | 00:50:32;03 | 1999-06-11 19:02:02 | 720x480 | 30000/1001 | 4/3 | 4:1:1 | 4ch 32000 | | | |

The results will be written to /Volumes/ThunderBay4_BBO/BB DV Capture

Packaging started: /Volumes/ThunderBay4_BBO/BB DV Capture/test13repack_part1.mov

frame= 1188 fps=0.0 q=-1.0 size= 148992KiB time=00:00:39.63 bitrate=30791.0kbitframe= 2132 fps=2111 q=-1.0 size= 267264KiB time=00:01:11.13 bitrate=30777.3kbiframe= 3049 fps=2012 q=-1.0 size= 382464KiB time=00:01:41.73 bitrate=30797.1kbiframe= 3993 fps=1977 q=-1.0 size= 500992KiB time=00:02:13.23 bitrate=30804.1kbiframe= 4937 fps=1955 q=-1.0 size= 619520KiB time=00:02:44.73 bitrate=30808.4kbiframe= 5536 fps=1942 q=-1.0 Lsize= 695065KiB time=00:03:04.71 bitrate=30825.2kbits/s speed=64.8x

Done:seg_input=1|seg_output=1|output_frames=5536|input_frames=5536|audio_fill=0|output_file=/Volumes/ThunderBay4_BBO/BB DV Capture/test13repack_part1.mov

Packaging finished: /Volumes/ThunderBay4_BBO/BB DV Capture/test13repack_part1.mov

test13repack.dv.dvrescue.xml: <?xml version="1.0" encoding="UTF-8"?>

dvrescue 24.07 MediaInfoLib

MediaInfo for test13repack_part1.mov: MPEG-4 (QuickTime) (DVCPRO): 679 MiB, 3 min 4 s 1 Video stream: DV 4 Audio streams: PCM / PCM / PCM / PCM

Duration: 3 min 4 s Overall bit rate: 30.8 Mb/s Frame rate: 29.970 FPS Recorded date: 1999-06-11 19:02:02.000

Video: 24.24 Mb/s. 720*480 (4:3) at 29/970 (30000/1001) PFS, DV (NTSC) (DVCPRO) Audio #1: 1.024 kb/s 32/0 kHz, 16 bits, 2 channels, PCM (Little / Signed) Audio #2: 1.024 kb/s 32/0 kHz, 16 bits, 2 channels, PCM (Little / Signed) Audio #3: 768 kb/s 32/0 kHz, 12 bits, 2 channels, PCM (DV) (Little / Signed) Audio #4: 768 kb/s 32/0 kHz, 12 bits, 2 channels, PCM (DV) (Little / Signed)

billbrand commented 2 weeks ago

If I set dvpackager to matroska it does make an mkv file that opens in VLC. If I then use ffmpeg to rewrap the mkv to mov I get these errors. Maybe this provides a clue to what's going on:

ffmpeg -i /Volumes/ThunderBay4_BBO/BB\ DV\ Capture/ID1187_The_Basics_ofPKD#10_Lisa_M._Guay-Woodford_part2.mkv -c:v copy -c:a copy /Volumes/ThunderBay4_BBO/BB\ DV\ Capture/ID1187_The_Basics_ofPKD#10_Lisa_M._Guay-Woodford_part2.mov ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers built with Apple clang version 16.0.0 (clang-1600.0.26.4) configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 [aist#0:1/pcm_s16le @ 0x14c8067c0] Guessed Channel Layout: stereo [aist#0:2/pcm_s16le @ 0x14c806dd0] Guessed Channel Layout: stereo Input #0, matroska,webm, from '/Volumes/ThunderBay4_BBO/BB DV Capture/ID1187_The_Basics_ofPKD#10_Lisa_M._Guay-Woodford_part2.mkv': Metadata: DATE_RECORDED : 1999-06-11 18:16:15 TIMECODE : 00:04:45;10 ENCODER : Lavf61.7.100 Duration: 00:44:29.43, start: 0.000000, bitrate: 30835 kb/s Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, 30k fps, 29.97 tbr, 1k tbn Metadata: DURATION : 00:44:29.433000000 Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s (default) Metadata: ENCODER : Lavc61.19.100 pcm_s16le DURATION : 00:44:29.434000000 Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s Metadata: ENCODER : Lavc61.19.100 pcm_s16le DURATION : 00:44:29.434000000 Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) [mov @ 0x14c806f40] Using non-standard frame rate 30000/1 Last message repeated 1 times Output #0, mov, to '/Volumes/ThunderBay4_BBO/BB DV Capture/ID1187_The_Basics_ofPKD#10_Lisa_M._Guay-Woodford_part2x.mov': Metadata: DATE_RECORDED : 1999-06-11 18:16:15 TIMECODE : 00:04:45;10 encoder : Lavf61.7.100 Stream #0:0: Video: dvvideo (dvcp / 0x70637664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 28771 kb/s, 30k fps, 29.97 tbr, 16k tbn Metadata: DURATION : 00:44:29.433000000 Stream #0:1: Audio: pcm_s16le (sowt / 0x74776F73), 32000 Hz, stereo, s16, 1024 kb/s (default) Metadata: ENCODER : Lavc61.19.100 pcm_s16le DURATION : 00:44:29.434000000 Press [q] to stop, [?] for help frame= 1142 fps=0.0 q=-1.0 size= 138240KiB time=00:00:38.23 bitrate=29616.2kbitframe= 1948 fps=1929 q=-1.0 size= 236032KiB time=00:01:04.99 bitrate=29748.2kbiframe= 2853 fps=1883 q=-1.0 size= 346112KiB time=00:01:35.19 bitrate=29784.7kbiframe= 3758 fps=1860 q=-1.0 size= 455936KiB time=00:02:05.39 bitrate=29786.8kbiframe= 4590 fps=1818 q=-1.0 size= 556800KiB time=00:02:33.15 bitrate=29782.7kbiframe= 5520 fps=1824 q=-1.0 size= 669696KiB time=00:03:04.18 bitrate=29786.2kbiframe= 6351 fps=1798 q=-1.0 size= 770560KiB time=00:03:31.91 bitrate=29788.1kbiframe= 7281 fps=1804 q=-1.0 size= 883456KiB time=00:04:02.94 bitrate=29790.1kbiframe= 8137 fps=1792 q=-1.0 size= 987136KiB time=00:04:31.50 bitrate=29784.5kbiframe= 9067 fps=1797 q=-1.0 size= 1100032KiB time=00:05:02.53 bitrate=29786.5kbiframe= 9996 fps=1801 q=-1.0 size= 1212928KiB time=00:05:33.53 bitrate=29791.1kbiframe=10877 fps=1796 q=-1.0 size= 1319680KiB time=00:06:02.92 bitrate=29787.7kbiframe=11807 fps=1799 q=-1.0 size= 1432576KiB time=00:06:33.96 bitrate=29789.0kbiframe=12687 fps=1795 q=-1.0 size= 1539328KiB time=00:07:03.32 bitrate=29788.5kbiframe=13642 fps=1802 q=-1.0 size= 1655296KiB time=00:07:35.18 bitrate=29790.3kbiframe=14553 fps=1802 q=-1.0 size= 1765888KiB time=00:08:05.61 bitrate=29789.2kbiframe=15501 fps=1806 q=-1.0 size= 1880832KiB time=00:08:37.21 bitrate=29789.8kbiframe=16357 fps=1800 q=-1.0 size= 1984768KiB time=00:09:05.77 bitrate=29790.9kbiframe=17287 fps=1802 q=-1.0 size= 2097664KiB time=00:09:36.80 bitrate=29791.6kbiframe=18167 fps=1799 q=-1.0 size= 2204416KiB time=00:10:06.17 bitrate=29791.2kbiframe=19048 fps=1797 q=-1.0 size= 2311424KiB time=00:10:35.56 bitrate=29792.5kbiframe=19929 fps=1794 q=-1.0 size= 2418176KiB time=00:11:04.96 bitrate=29790.6kbiframe=20834 fps=1794 q=-1.0 size= 2528256KiB time=00:11:35.16 bitrate=29793.8kbiframe=21568 fps=1780 q=-1.0 size= 2617088KiB time=00:11:59.78 bitrate=29785.5kbiframe=22448 fps=1779 q=-1.0 size= 2724096KiB time=00:12:29.01 bitrate=29793.5kbiframe=23305 fps=1775 q=-1.0 size= 2828032KiB time=00:12:57.61 bitrate=29792.9kbiframe=24185 fps=1774 q=-1.0 size= 2934784KiB time=00:13:26.97 bitrate=29792.5kbiframe=25066 fps=1773 q=-1.0 size= 3041792KiB time=00:13:56.36 bitrate=29793.5kbiframe=25922 fps=1770 q=-1.0 size= 3145728KiB time=00:14:24.93 bitrate=29794.1kbiframe=26827 fps=1771 q=-1.0 size= 3255552KiB time=00:14:55.12 bitrate=29794.1kbiframe=27708 fps=1770 q=-1.0 size= 3362304KiB time=00:15:24.52 bitrate=29792.7kbiframe=28589 fps=1770 q=-1.0 size= 3469312KiB time=00:15:53.91 bitrate=29793.5kbiframe=29494 fps=1770 q=-1.0 size= 3579136KiB time=00:16:24.11 bitrate=29793.5kbiframe=30399 fps=1771 q=-1.0 size= 3688960KiB time=00:16:54.31 bitrate=29793.5kbiframe=31280 fps=1770 q=-1.0 size= 3795712KiB time=00:17:23.70 bitrate=29792.3kbiframe=32185 fps=1771 q=-1.0 size= 3905792KiB time=00:17:53.90 bitrate=29794.3kbiframe=33065 fps=1770 q=-1.0 size= 4012544KiB time=00:18:23.26 bitrate=29794.0kbiframe=33946 fps=1770 q=-1.0 size= 4119296KiB time=00:18:52.66 bitrate=29792.8kbiframe=34827 fps=1769 q=-1.0 size= 4226304KiB time=00:19:22.06 bitrate=29793.5kbiframe=35683 fps=1767 q=-1.0 size= 4330240KiB time=00:19:50.62 bitrate=29793.9kbiframe=36588 fps=1768 q=-1.0 size= 4440064KiB time=00:20:20.81 bitrate=29793.9kbiframe=37487 fps=1768 q=-1.0 size= 4549120KiB time=00:20:50.91 bitrate=29791.3kbiframe=38399 fps=1769 q=-1.0 size= 4659712KiB time=00:21:21.24 bitrate=29793.2kbiframe=39279 fps=1768 q=-1.0 size= 4766464KiB time=00:21:50.60 bitrate=29792.9kbiframe=40160 fps=1768 q=-1.0 size= 4873472KiB time=00:22:20.00 bitrate=29793.5kbiframe=41065 fps=1768 q=-1.0 size= 4983296KiB time=00:22:50.20 bitrate=29793.5kbiframe=41897 fps=1766 q=-1.0 size= 5084416KiB time=00:23:17.96 bitrate=29794.4kbiframe=42704 fps=1762 q=-1.0 size= 5182208KiB time=00:23:44.89 bitrate=29793.6kbiframe=43552 fps=1761 q=-1.0 size= 5285120KiB time=00:24:13.21 bitrate=29793.0kbiframe=44319 fps=1756 q=-1.0 size= 5378304KiB time=00:24:38.77 bitrate=29794.3kbiframe=45215 fps=1756 q=-1.0 size= 5486848KiB time=00:25:08.80 bitrate=29790.6kbiframe=45713 fps=1741 q=-1.0 size= 5547520KiB time=00:25:25.29 bitrate=29794.5kbiframe=46569 fps=1740 q=-1.0 size= 5651200KiB time=00:25:53.85 bitrate=29793.5kbiframe=47474 fps=1741 q=-1.0 size= 5761024KiB time=00:26:24.04 bitrate=29793.5kbiframe=48404 fps=1743 q=-1.0 size= 5873920KiB time=00:26:55.08 bitrate=29793.7kbiframe=49260 fps=1742 q=-1.0 size= 5977856KiB time=00:27:23.64 bitrate=29794.0kbiframe=50214 fps=1745 q=-1.0 size= 6093568KiB time=00:27:55.47 bitrate=29793.7kbiframe=51120 fps=1746 q=-1.0 size= 6203648KiB time=00:28:25.70 bitrate=29794.3kbiframe=52025 fps=1746 q=-1.0 size= 6313472KiB time=00:28:55.90 bitrate=29794.3kbiframe=52905 fps=1746 q=-1.0 size= 6420224KiB time=00:29:25.26 bitrate=29794.1kbiframe=53835 fps=1748 q=-1.0 size= 6533120KiB time=00:29:56.29 bitrate=29794.3kbiframe=54642 fps=1746 q=-1.0 size= 6630912KiB time=00:30:23.22 bitrate=29793.7kbiframe=55425 fps=1742 q=-1.0 size= 6726144KiB time=00:30:49.34 bitrate=29794.6kbiframe=56257 fps=1741 q=-1.0 size= 6827008KiB time=00:31:17.10 bitrate=29794.2kbiframe=57113 fps=1740 q=-1.0 size= 6930944KiB time=00:31:45.67 bitrate=29794.4kbiframe=57994 fps=1740 q=-1.0 size= 7037696KiB time=00:32:15.06 bitrate=29793.7kbiframe=58899 fps=1741 q=-1.0 size= 7147520KiB time=00:32:45.26 bitrate=29793.7kbiframe=59829 fps=1743 q=-1.0 size= 7260416KiB time=00:33:16.29 bitrate=29793.9kbiframe=60660 fps=1741 q=-1.0 size= 7361280KiB time=00:33:44.02 bitrate=29793.9kbiframe=61565 fps=1742 q=-1.0 size= 7471104KiB time=00:34:14.21 bitrate=29794.0kbiframe=62373 fps=1740 q=-1.0 size= 7569152KiB time=00:34:41.17 bitrate=29793.9kbiframe=63229 fps=1739 q=-1.0 size= 7673088KiB time=00:35:09.74 bitrate=29794.1kbiframe=64110 fps=1739 q=-1.0 size= 7780096KiB time=00:35:39.13 bitrate=29794.5kbiframe=65039 fps=1741 q=-1.0 size= 7892736KiB time=00:36:10.13 bitrate=29794.1kbiframe=65871 fps=1740 q=-1.0 size= 7993856KiB time=00:36:37.89 bitrate=29794.7kbiframe=66825 fps=1742 q=-1.0 size= 8109568KiB time=00:37:09.72 bitrate=29794.5kbiframe=67706 fps=1742 q=-1.0 size= 8216320KiB time=00:37:39.12 bitrate=29793.9kbiframe=68611 fps=1742 q=-1.0 size= 8326144KiB time=00:38:09.32 bitrate=29793.9kbiframe=69540 fps=1743 q=-1.0 size= 8439040KiB time=00:38:40.31 bitrate=29794.5kbiframe=70421 fps=1744 q=-1.0 size= 8546048KiB time=00:39:09.71 bitrate=29794.8kbiframe=71351 fps=1745 q=-1.0 size= 8658688KiB time=00:39:40.74 bitrate=29794.0kbiframe=72256 fps=1745 q=-1.0 size= 8768512KiB time=00:40:10.94 bitrate=29794.0kbiframe=73234 fps=1748 q=-1.0 size= 8887296KiB time=00:40:43.57 bitrate=29794.4kbiframe=74140 fps=1748 q=-1.0 size= 8997376KiB time=00:41:13.80 bitrate=29794.8kbiframe=75069 fps=1750 q=-1.0 size= 9110016KiB time=00:41:44.80 bitrate=29794.5kbiframe=75999 fps=1751 q=-1.0 size= 9222912KiB time=00:42:15.83 bitrate=29794.6kbiframe=76928 fps=1752 q=-1.0 size= 9335552KiB time=00:42:46.83 bitrate=29794.3kbiframe=77834 fps=1752 q=-1.0 size= 9445632KiB time=00:43:17.06 bitrate=29794.7kbiframe=78739 fps=1753 q=-1.0 size= 9555456KiB time=00:43:47.25 bitrate=29794.7kbiframe=79619 fps=1752 q=-1.0 size= 9662208KiB time=00:44:16.62 bitrate=29794.6kbifps 30000 is too large [out#0/mov @ 0x600003da80c0] Error writing trailer: Invalid argument [out#0/mov @ 0x600003da80c0] video:9375352KiB audio:333679KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.022776% frame=80003 fps=1747 q=-1.0 Lsize= 9711242KiB time=00:44:29.43 bitrate=29802.0kbits/s speed=58.3x
Conversion failed!

libbyhopfauf commented 1 week ago

sounds like this is related to https://github.com/mipops/dvrescue/issues/950

libbyhopfauf commented 1 week ago

@billbrand it sounds like you are experiencing a similar problem as is described in issue #950 which was resolved by installing this version of the daily builds for the GUI and CLI for DVRescue. Would you mind installing these snapshots and see if they resolve the issue for you?

If this version doesn't work, will you please take the following steps and share the results here?

libbyhopfauf commented 1 week ago

@billbrand for reference, the command used in the CLI to package by the user who had the same issue as you that was resolved by installing new versions of the daily build used the following command:

dvpackager -e mov -a n INPUT.dv