Sorry to re-awaken this thread. I am finally getting around to trying to archive my tapes and this thread has been a godsend. I tried FCP and iMovie to capture but I prefer not to have my clip split into pieces (for scene changes, etc). The ffmpeg command line is working fine but I don't seem to have any audio when I import the files in FCP. Quicktime can play the files just fine.
I'm a little confused and that is due to my lack of knowledge when it comes to video and audio formats. I have a Canon HV20 which should support 2 channel 16-bit audio at 48Khz. When I capture using ffmpeg, mediainfo shows me that I have two audio "streams", PCM, Big / Signed, 32.0 kHz, 12 bits. I am not sure if the audio is supposed to be mixed with the video or if these audio streams are correct. I can't tell if ffmpeg transcoded them. When I captured using FCP, I get a different result but more inline with what I expected.
Audio #1
ID : 3
Format : PCM
Format settings : Little / Signed
Codec ID : lpcm
Duration : 38 s 872 ms
Source duration : 38 s 839 ms
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
I tried to force ffmpeg to transcode the audio is that I could verify that is changes but it doesn't seem to impact the output file.
Does audio work just fine in FCP for everyone else and if so, what am I doing wrong.
I am running the latest ffmpeg
$ ffmpeg -f avfoundation -capture_raw_data true -i "HV20" -c copy -map 0 -f rawvideo output.dv
ffmpeg version 7.0.1 Copyright (c) 2000-2024 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.3.9.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/7.0.1 --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
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
2024-07-15 23:06:45.968 ffmpeg[16931:250558] WARNING: Add NSCameraUseContinuityCameraDeviceType to your Info.plist to use AVCaptureDeviceTypeContinuityCamera.
2024-07-15 23:06:46.171 ffmpeg[16931:250558] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.