[FFmpeg-user] Question on AVFoundation and importing from a DV-VCR

Colin Bitterfield colin at bitterfield.com
Fri Mar 27 06:24:17 EET 2020


To Whom It May Concern:

I have been trying to get a direct import from a Sony DSR-45 DV Deck. Using OS X Final Cut Pro hot annoying with various issues.

Does anyone have suggestions or a method for doing this better? I have 500-600 more DV tapes to ingest.

Using this command brings in a 12GB DVVIDEO files

ffmpeg -hwaccel videotoolbox -hide_banner -benchmark_all -stats -loglevel error -f avfoundation -capture_raw_data true -pix_fmt 0rgb -i DV-VCR -t 600 -q 0  -c:v copy -c:a copy 'Test7.dv' -y

The problem are:

1. The file is huge (Is there a way to auto split this with a scene detect filter? I have not tried this yet.

2 The videos I am working with consist of:
	a. Intro video track no audio
	b. 60 second intro (apparently with different time codes)
	c. A 45 minute to 60 minute video

What I get is either the intro video is too slow or the actual video I want is too fast. It seems to depend on whether I start the tape before the intro text, or during a video. I am guessing different time codes.

I tried a number of test cases results varied but in all cases one or the other video was bad.

My next round of testing will be with " -capture_raw_data false"


Test Cases:

ffmpeg -hide_banner -benchmark_all -stats -loglevel error -f avfoundation -capture_raw_data true -pix_fmt 0rgb  -i DV-VCR -t 140 -copyts -copytb 0 -vsync passthrough -c:v copy -c:a copy  'Test 1.dv' 
ffmpeg -hide_banner -benchmark_all -stats -loglevel error -f avfoundation -capture_raw_data true -pix_fmt 0rgb -i DV-VCR -t 140 -c:v copy -c:a copy ‘Test 3.dv' -y		


I am running this on a MacBook Pro (10.15 Catalina) 

ffmpeg version 4.2.git Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-x86asm --enable-libx265 --enable-libdc1394 --enable-librtmp --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-version3 --enable-libsmbclient --enable-nonfree --enable-libfdk-aac



==========================================
Colin Bitterfield
colin at bitterfield.com
https://www.linkedin.com/in/colin-bitterfield-80612327/
==========================================



More information about the ffmpeg-user mailing list