Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

ace8cjc

macrumors member
Feb 27, 2015
34
73
Hi again @rajs

When importing footage from a DV camcorder over FireWire, using the terminal syntax you provided above, I get this error hundreds of times during various parts of the capture:

“Application provided invalid, non monotonically increasing dts to muxer in stream”

There doesn’t seem to be an issue during playback of the file itself - at least none that I can tell.

Have you come across this at all?

If unimportant, any way to suppress this error?
 

rajs

macrumors regular
Original poster
Jan 21, 2004
111
56
Yes. Please see post number 10, 11 and 14 in this very thread … as they talk about this exact "error" message.

As far as suppressing the spammy "error" notification I don’t believe there is a way based on post below and a few other searches.

 
Last edited:
  • Like
Reactions: ace8cjc

cordialbadger

macrumors newbie
Jul 15, 2024
1
0
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.
 

ace8cjc

macrumors member
Feb 27, 2015
34
73
@cordialbadger - same thing is happening for me.

I imported .dv files in to FCP (version 10.8 running on macOS Sonoma) and they also play back without any audio. I created these files using DV Rescue, which uses FFmpeg under the hood.

They play back *with* audio in QuickTime. But, I have to click the play button twice for them to play at all. This is repeatable every time. They also play back with audio in iMovie, but the audio is choppy and intermittent.

I originally created these .dv files on macOS Monterey and none of these issues were present in these various apps. It seems like the sub-systems powering playback in Quicktime, iMovie, and FCP either have a bug or they are dropping some kind of support for .dv files in macOS Sonoma.
 

waloshin

macrumors 68040
Oct 9, 2008
3,505
270
Thanks for this...
I have successfully digitized Hi-8 and DVCAM thru firewire into thunderbolt and let FCPX do the importing.
It has worked well for DVCAM but for some unexplained reason the Hi-8 audio drifts. When I digitize using
Elgato, to create an mp4, this problem does not occur. It is a firewire issue, or a clocking issue, or ??
Is the way you mapped out here the preferred way to digitize HI-8 tapes at their maximum quality?
The HI8 audio drifted because your do not have an external time based corrector to keep everything in sync Hi8 is analogue tape not digital.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.