NMAAHC / nmaahcmm

NMAAHC mm scripts
7 stars 8 forks source link

camera_cards -f AVCHD (mts) to mkv: FFmpeg may have encountered errors #69

Open chialinchou1 opened 1 year ago

chialinchou1 commented 1 year ago

Test camera_cards -f mkv with AVCHD cards and have following error message:

FFmpeg may have encountered errors - review terminal output for more detail.

Except from the terminal output:

  Program 1 
  Stream #1:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #1:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
[matroska @ 0x7f9e6e005d40] No wav codec tag found for codec pcm_bluray
[out#0/matroska @ 0x7f9e6e020700] Could not write header (incorrect codec parameters ?): Invalid argument
[aost#0:1/copy @ 0x7f9e6e02e140] Error initializing output stream: 
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
    Last message repeated 1 times

the final concatenated mkv video is only 291kb and 0 secs to play. Will send full terminal output via email.

@dericed @BleakleyMcD

chialinchou1 commented 1 year ago

ps. test of Canon C300 (mxf) file was successful, and all clips are fully concatenated.

chialinchou1 commented 11 months ago

@dericed

tested new version, encountered below errors: [concat @ 0x7f7940705240] Impossible to open '/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/FILE_NAME' /var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.XEqnCRIf.ffconcat: No such file or directory

/Users/medialab/Desktop/CC_CamCards/TR2023_27_1/objects/TR2023_27_1_concatenated.mkv: No such file or directory Video concatenation process finished md5sum: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1/objects/TR2023_27_1_concatenated.mkv: No such file or directory

full terminal process copied below:

/Users/medialab
≈:≈ camera_cards -f mkv
  Drag in the input directory or type 'q' to quit: 
/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/01 
  Camera card type identified: AVCHD (e.g. Canon C100)

Card#   Index#  File Name                    Modification Date     Duration            Timecode
1       1*      00000.MTS                                          0:25:37.994778                 
1       2*      00001.MTS                                          0:25:50.053278                 
1       3*      00002.MTS                                          0:13:05.330000                 
1       4*      00003.MTS                                          0:12:09.230000                 
1       5*      00004.MTS                                          0:27:11.588278                 
1       6*      00005.MTS                                          0:26:30.592278                 
1       7*      00006.MTS                                          0:02:16.685000                 
1       8*      00007.MTS                                          0:00:02.005000                 
1       9*      00008.MTS                                          0:08:47.530000                 
1       10*     00009.MTS                                          0:25:41.498278                 
1       11*     00010.MTS                                          0:08:01.030000                 

 Enter a unique package name or 'q' to quit: TR2023_27_1
 Provide the destination for the resulting package or 'q' to quit: /Users/medialab/Desktop/CC_CamCards 

  Moving significant camera-generated metadata files to AIP...
  Copying some camera metadata files into the package.
building file list ... done
00000.CPI
00001.CPI
00002.CPI
00003.CPI
00004.CPI
00005.CPI
00006.CPI
00007.CPI
00008.CPI
00009.CPI
00010.CPI

sent 106.95K bytes  received 262 bytes  214.43K bytes/sec
total size is 106.21K  speedup is 0.99
  Generating metadata reports...
  Metadata reports generated for TR2023_27_1

  Concatenating video files into a mkv file.
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[concat @ 0x7f7940705240] Impossible to open '/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/FILE_NAME'
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.XEqnCRIf.ffconcat: No such file or directory
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
/Users/medialab/Desktop/CC_CamCards/TR2023_27_1/objects/TR2023_27_1_concatenated.mkv: No such file or directory
  Video concatenation process finished
md5sum: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1/objects/TR2023_27_1_concatenated.mkv: No such file or directory

  Checking for errors during the camera_cards process...
  Metadata generation process looks ok
  FFmpeg may have encountered errors - review terminal output for more detail.
  camera_cards process complete. Your package can be found at /Users/medialab/Desktop/CC_CamCards/TR2023_27_1. A log file can be found at /Users/medialab/Desktop/CC_CamCards/TR2023_27_1/metadata/camera_cards_2023-10-30-135959.log
dericed commented 11 months ago

can you retry with https://github.com/NMAAHC/nmaahcmm/pull/73

chialinchou1 commented 11 months ago

Looks like it worked! Thanks for fixing it so quickly!

There are some error/warning during the process:

[mpegts @ 0x7fa0bef0d340] PES packet size mismatch:20:46.94 bitrate=20765.6kbits/s speed=  34x    
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 135130183).
[mpegts @ 0x7fa0bef0d340] PES packet size mismatch:45:34.94 bitrate=20906.8kbits/s speed=33.4x    
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 135130183).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 247428000).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] Multiple frames in a packet.
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input

Full terminal output copied below:

/Users/medialab
≈:≈ camera_cards -f mkv                                                                                   
  Drag in the input directory or type 'q' to quit: 
/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/02 
  Camera card type identified: 02 is AVCHD (e.g. Canon C100)

Card#   Index#  File Name                    Modification Date     Duration            Timecode
1       1*      00000.MTS                                          0:20:48.250000                 
1       2*      00001.MTS                                          0:25:00.957778                 
1       3*      00002.MTS                                          0:25:05.506778                 
1       4*      00003.MTS                                          0:05:09.855000                 
1       5*      00004.MTS                                          0:00:43.545000                 
1       6*      00005.MTS                                          0:00:01.505000                 
1       7*      00006.MTS                                          0:25:04.961778                 
1       8*      00007.MTS                                          0:25:10.510778                 
1       9*      00008.MTS                                          0:04:34.825000                 
1       10*     00009.MTS                                          0:25:02.959778                 
1       11*     00010.MTS                                          0:24:50.989278                 
1       12*     00011.MTS                                          0:21:03.305000                 
1       13*     00012.MTS                                          0:00:06.010000                 
1       14*     00013.MTS                                          0:02:25.650000                 
1       15*     00014.MTS                                          0:02:41.165000                 
1       16*     00015.MTS                                          0:03:20.705000                 

 Enter a unique package name or 'q' to quit: TR2023_27_2
 Provide the destination for the resulting package or 'q' to quit: /Users/medialab/Desktop/CC_CamCards 

  Moving significant camera-generated metadata files to AIP...
  Copying some camera metadata files into the package.
building file list ... done
00000.CPI
00001.CPI
00002.CPI
00003.CPI
00004.CPI
00005.CPI
00006.CPI
00007.CPI
00008.CPI
00009.CPI
00010.CPI
00011.CPI
00012.CPI
00013.CPI
00014.CPI
00015.CPI

sent 131.08K bytes  received 372 bytes  87.63K bytes/sec
total size is 130.02K  speedup is 0.99
  Generating metadata reports...
  Metadata reports generated for TR2023_27_2

  Concatenating video files into a mkv file.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, concat, from '/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat':
  Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
  Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
Input #1, mpegts, from '/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/02/CANON/PRIVATE/AVCHD/BDMV/STREAM/00000.MTS':
  Duration: 00:20:48.25, start: 0.541711, bitrate: 21973 kb/s
  Program 1 
  Stream #1:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #1:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 1, only the last option '-c:a pcm_s16le' will be used.
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (pcm_bluray (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2/objects/TR2023_27_2_concatenated.mkv':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc60.3.100 pcm_s16le
[mpegts @ 0x7fa0bef0d340] PES packet size mismatch:20:46.94 bitrate=20765.6kbits/s speed=  34x    
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 135130183).
[mpegts @ 0x7fa0bef0d340] PES packet size mismatch:45:34.94 bitrate=20906.8kbits/s speed=33.4x    
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 135130183).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 247428000).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] Multiple frames in a packet.
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fa0bef0d340] PES packet size mismatch
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 270625633).
[mpegts @ 0x7fa0bef0d340] PES packet size mismatch1:10:40.80 bitrate=20923.5kbits/s speed=33.5x    
[mpegts @ 0x7fa0bef0d340] Packet corrupt (stream = 1, dts = 270625633).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 382923700).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch1:16:33.86 bitrate=20933.4kbits/s speed=33.4x    
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 135494704).
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch1:41:30.70 bitrate=20943.3kbits/s speed=33.4x    
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 135494704).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 550311710).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fa0bf916380] PES packet size mismatch
[mpegts @ 0x7fa0bf916380] Packet corrupt (stream = 1, dts = 271440154).
[mpegts @ 0x7fa0bf916380] PES packet size mismatch2:06:41.46 bitrate=20932.7kbits/s speed=33.5x    
[mpegts @ 0x7fa0bf916380] Packet corrupt (stream = 1, dts = 271440154).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 686257320).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch2:11:15.45 bitrate=20924.0kbits/s speed=33.5x    
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 135310620).
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch2:36:19.36 bitrate=20936.0kbits/s speed=33.4x    
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 135310620).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 846258490).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 269499720).
[mpegts @ 0x7fa0bf80d6c0] PES packet size mismatch3:01:11.13 bitrate=20966.4kbits/s speed=33.3x    
[mpegts @ 0x7fa0bf80d6c0] Packet corrupt (stream = 1, dts = 269499720).
[concat @ 0x7fa0bfa048c0] Packet corrupt (stream = 1, dts = 980447570).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.OVt399qC.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fa0bf814580] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
frame=296459 fps=794 q=-1.0 size=31657216kB time=03:26:04.88 bitrate=20973.6kbits/s speed=33.1x    
video:30066715kB audio:2375753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.063828%
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, matroska,webm, from '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2/objects/TR2023_27_2_concatenated.mkv':
  Metadata:
    ENCODER         : Lavf60.3.100
  Duration: 03:31:10.70, start: 0.000000, bitrate: 20988 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      DURATION        : 03:31:10.697000000
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      ENCODER         : Lavc60.3.100 pcm_s16le
      DURATION        : 03:31:10.701000000
Output #0, streamhash, to '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2/metadata/reports/TR2023_27_2_concatenated_streamhash.md5':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      DURATION        : 03:31:10.697000000
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      ENCODER         : Lavc60.3.100 pcm_s16le
      DURATION        : 03:31:10.701000000
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[streamhash @ 0x7ff5a0f12580] Non-monotonous DTS in output stream 0:0; previous: 41, current: 0; changing to 41. This may result in incorrect timestamps in the output file.
frame=303792 fps=4960 q=-1.0 Lsize=       0kB time=03:31:10.69 bitrate=   0.0kbits/s speed= 207x    
video:30066715kB audio:2375753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  Video concatenation process finished

  Checking for errors during the camera_cards process...
  Metadata generation process looks ok
  FFmpeg exit codes look ok
  Checking streamhash between input and output...
frame=303792 fps=794 q=-1.0 Lsize=32463175kB time=03:31:10.69 bitrate=20988.5kbits/s speed=33.1x    
video:30066715kB audio:2375753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.063828%
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, matroska,webm, from '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2/objects/TR2023_27_2_concatenated.mkv':
  Metadata:
    ENCODER         : Lavf60.3.100
  Duration: 03:31:10.70, start: 0.000000, bitrate: 20988 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      DURATION        : 03:31:10.697000000
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      ENCODER         : Lavc60.3.100 pcm_s16le
      DURATION        : 03:31:10.701000000
Output #0, streamhash, to '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2/metadata/reports/TR2023_27_2_concatenated_streamhash.md5':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
    Metadata:
      DURATION        : 03:31:10.697000000
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      ENCODER         : Lavc60.3.100 pcm_s16le
      DURATION        : 03:31:10.701000000
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[streamhash @ 0x7ff5a0f12580] Non-monotonous DTS in output stream 0:0; previous: 41, current: 0; changing to 41. This may result in incorrect timestamps in the output file.
frame=303792 fps=4960 q=-1.0 Lsize=       0kB time=03:31:10.69 bitrate=   0.0kbits/s speed= 207x    
video:30066715kB audio:2375753kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  Video concatenation process finished

  Checking for errors during the camera_cards process...
  Metadata generation process looks ok
  FFmpeg exit codes look ok
  Checking streamhash between input and output...
  Concatenated process looks lossless
  camera_cards process complete.
dericed commented 11 months ago

Interesting. Can you send the same output if you don't use -f mkv. That should keep it as m2t and skip transcoding the audio.

chialinchou1 commented 11 months ago

It's still running but I'm getting the same error/warning already, I'll send the full output when done and try another card?

Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (pcm_bluray (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, mpegts, to '/Users/medialab/Desktop/CC_CamCards/TR2023_27_2_mts/objects/TR2023_27_2_mts_concatenated.mts':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc60.3.100 pcm_s16le
[mpegts @ 0x7fb2259054c0] Stream 1, codec pcm_s16le, is muxed as a private data stream and may not be recognized upon reading.
[mpegts @ 0x7fb225805440] PES packet size mismatch:20:21.34 bitrate=21295.3kbits/s speed=35.4x    
[mpegts @ 0x7fb225805440] Packet corrupt (stream = 1, dts = 135130183).
[mpegts @ 0x7fb225805440] PES packet size mismatch:45:26.25 bitrate=21439.6kbits/s speed=35.4x    
[mpegts @ 0x7fb225805440] Packet corrupt (stream = 1, dts = 135130183).
[concat @ 0x7fb224705180] Packet corrupt (stream = 1, dts = 247428000).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.YFDvvQaJ.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fb225a06340] Multiple frames in a packet.
[pcm_bluray @ 0x7fb225a06340] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
dericed commented 11 months ago

can you do ffmpeg -i 00000.MTS -f null - and see if you get the same error. You may just have a corrupted m2ts.

chialinchou1 commented 11 months ago

no error... trying another card

≈:≈ ffmpeg -i /Volumes/smb-nmaahc-borndigital/CAARL_SDcards/02/CANON/PRIVATE/AVCHD/BDMV/STREAM/00000.MTS -f null - 
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Input #0, mpegts, from '/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/02/CANON/PRIVATE/AVCHD/BDMV/STREAM/00000.MTS':
  Duration: 00:20:48.25, start: 0.541711, bitrate: 21973 kb/s
  Program 1 
  Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_bluray (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: wrapped_avframe, yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn
    Metadata:
      encoder         : Lavc60.3.100 wrapped_avframe
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc60.3.100 pcm_s16le
frame=29928 fps=370 q=-0.0 Lsize=N/A time=00:20:48.24 bitrate=N/A speed=15.4x    
video:14029kB audio:234047kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
dericed commented 11 months ago

Hmmm it may not be an error with 00000.MTS but might be in one of the other files.

chialinchou1 commented 11 months ago

Tried a different card, this one only concatenated the first 4 clips (00000 to 00003)...

/Users/medialab
≈:≈ camera_cards -f mkv
  Drag in the input directory or type 'q' to quit: 
/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/01 
  Camera card type identified: 01 is AVCHD (e.g. Canon C100)

Card#   Index#  File Name                    Modification Date     Duration            Timecode
1       1*      00000.MTS                                          0:25:37.994778                 
1       2*      00001.MTS                                          0:25:50.053278                 
1       3*      00002.MTS                                          0:13:05.330000                 
1       4*      00003.MTS                                          0:12:09.230000                 
1       5*      00004.MTS                                          0:27:11.588278                 
1       6*      00005.MTS                                          0:26:30.592278                 
1       7*      00006.MTS                                          0:02:16.685000                 
1       8*      00007.MTS                                          0:00:02.005000                 
1       9*      00008.MTS                                          0:08:47.530000                 
1       10*     00009.MTS                                          0:25:41.498278                 
1       11*     00010.MTS                                          0:08:01.030000                 

 Enter a unique package name or 'q' to quit: TR2023_27_1_MKV
 Provide the destination for the resulting package or 'q' to quit: /Users/medialab/Desktop/CC_CamCards 

  Moving significant camera-generated metadata files to AIP...
  Copying some camera metadata files into the package.
building file list ... done
00000.CPI
00001.CPI
00002.CPI
00003.CPI
00004.CPI
00005.CPI
00006.CPI
00007.CPI
00008.CPI
00009.CPI
00010.CPI

sent 106.95K bytes  received 262 bytes  214.43K bytes/sec
total size is 106.21K  speedup is 0.99
  Generating metadata reports...
  Metadata reports generated for TR2023_27_1_MKV

  Concatenating video files into a mkv file.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
HEYY pcm_bluray s16 mkv 
  Note: A file contains pcm_bluray(s16) audio but the output is output is not m2t, we'll transcode to pcm_s16le.
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[mpegts @ 0x7fee0f005600] PES packet size mismatch
[mpegts @ 0x7fee0f005600] Packet corrupt (stream = 1, dts = 138467404).
Input #0, concat, from '/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.VVAwc27I.ffconcat':
  Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
  Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #0:1: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
[mpegts @ 0x7fee0f027380] PES packet size mismatch
[mpegts @ 0x7fee0f027380] Packet corrupt (stream = 1, dts = 138467404).
Input #1, mpegts, from '/Volumes/smb-nmaahc-borndigital/CAARL_SDcards/01/CANON/PRIVATE/AVCHD/BDMV/STREAM/00000.MTS':
  Duration: 00:25:37.99, start: 0.541711, bitrate: 21703 kb/s
  Program 1 
  Stream #1:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn
  Stream #1:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s16, 1536 kb/s
Multiple -c, -codec, -acodec, -vcodec, -scodec or -dcodec options specified for stream 1, only the last option '-c:a pcm_s16le' will be used.
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (pcm_bluray (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '/Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/objects/TR2023_27_1_MKV_concatenated.mkv':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc60.3.100 pcm_s16le
[mpegts @ 0x7fee0f005600] PES packet size mismatch:25:23.88 bitrate=20506.6kbits/s speed=30.2x    
[mpegts @ 0x7fee0f005600] Packet corrupt (stream = 1, dts = 138467404).
[concat @ 0x7fee0f104ac0] Packet corrupt (stream = 1, dts = 138418650).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.VVAwc27I.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fee0f0077c0] Multiple frames in a packet.
[pcm_bluray @ 0x7fee0f0077c0] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
[mpegts @ 0x7fee0f1063c0] PES packet size mismatch
[mpegts @ 0x7fee0f1063c0] Packet corrupt (stream = 1, dts = 277971904).
[mpegts @ 0x7fee0f1063c0] PES packet size mismatch:51:13.60 bitrate=20427.7kbits/s speed=31.7x    
[mpegts @ 0x7fee0f1063c0] Packet corrupt (stream = 1, dts = 277971904).
[concat @ 0x7fee0f104ac0] Packet corrupt (stream = 1, dts = 277923580).
/var/folders/c0/5djtjc2n7g90gkcr36nqbdfw0000gp/T/camera_cards.VVAwc27I.ffconcat: corrupt input packet in stream 1
[pcm_bluray @ 0x7fee0f0077c0] PCM packet too small
Error while decoding stream #0:1: Invalid data found when processing input
av_interleaved_write_frame(): No space left on device2:12.49 bitrate=20170.9kbits/s speed=32.3x    
[out#0/matroska @ 0x7fee0e73c100] Error muxing a packet
[out#0/matroska @ 0x7fee0e73c100] Error writing trailer: No space left on device
frame=103945 fps=771 q=-1.0 Lsize=10673920kB time=01:12:15.49 bitrate=20168.6kbits/s speed=32.2x    
video:9855921kB audio:812896kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.047831%
Conversion failed!
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.0 (clang-1400.0.29.202)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --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
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, matroska,webm, from '/Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/objects/TR2023_27_1_MKV_concatenated.mkv':
  Metadata:
    ENCODER         : Lavf60.3.100
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
  Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      ENCODER         : Lavc60.3.100 pcm_s16le
/Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/reports/TR2023_27_1_MKV_concatenated_streamhash.md5: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
  Video concatenation process finished
/usr/local/bin/camera_cards: line 572: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/reports/TR2023_27_1_MKV_concatenated.md5: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device
/usr/local/bin/camera_cards: line 122: /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log: No space left on device

  Checking for errors during the camera_cards process...
  Metadata generation process looks ok
  FFmpeg may have encountered errors - review terminal output for more detail.
  camera_cards process complete. Your package can be found at /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV. A log file can be found at /Users/medialab/Desktop/CC_CamCards/TR2023_27_1_MKV/metadata/camera_cards_2023-10-30-160315.log
dericed commented 11 months ago

No space left on device

:D

chialinchou1 commented 11 months ago

duh...

BleakleyMcD commented 5 months ago

@chialinchou1 @dericed is this issue still open?

BleakleyMcD commented 5 months ago

@dericed @chialinchou1 can this be combine with #79 ?

BleakleyMcD commented 5 months ago

@dericed 🥇

dericed commented 2 months ago

This is addressed in https://github.com/NMAAHC/nmaahcmm/pull/102/commits/76e0a594198d1eccf554b4bded836ae2cf471b15. Please test.