I figured this out and thought I'd share. It may work on other windows based NLEs, as long as they can import and export image sequences.
The 24P mode in the HV20 creates a duplicate image every 5 images, so it doesn't seem to coorelate to any real pulldown definition. To get it into a 24P timeline the duplicate image simply needs to be removed, which can easily be done by deleting files from a jpg sequence. As a bonus the export process in Avid will stretch the raster out to 1920 if you set it properly.
For those who want to integrate the HV20 into a 24P 1920 x 1080 Avid workflow you can do the following:
CanonPulldownRemoval.bat
---------------------------------------------
@echo Off
@if not "%ECHO%"=="" echo %ECHO%
@if not "%OS%"=="Windows_NT" goto DOSEXIT
rem Set local scope and call MAIN procedure
setlocal & pushd & set RET=
set SCRIPTNAME=%~n0
set SCRIPTPATH=%~f0
if "%DEBUG%"=="1" (set TRACE=echo) else (set TRACE=rem)
if /i {%1}=={/help} (call :HELP %2) & (goto :HELPEXIT)
if /i {%1}=={/?} (call :HELP %2) & (goto :HELPEXIT)
call :MAIN %*
:HELPEXIT
popd & endlocal & set RET=%RET%
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
rem HELP procedure
rem Display brief on-line help message
rem
:HELP
if defined TRACE %TRACE% [proc %0 %*]
rem Put help message here...
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
rem MAIN procedure
rem
:MAIN
if defined TRACE %TRACE% [proc %0 %*]
Set WorkingDir=E:\Canon Test\
Set FileName=TrackTest.1_
Set FirstDup=3
Set LastNum=138
Set FileSpec=%WorkingDir%%FileName%
Set FileIndex=0
for /l %%i in (%FirstDup%,5,%LastNum%) do call DeleteFile %%i
for /f "tokens=1" %%j in ('dir /b /on "%FileSpec%*"') do call :ReIndexFiles %%j
Pause
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
DeleteFile
set Index=%1
if %1 lss 100 set Index=0%1
if %1 lss 10 set Index=00%1
echo Deleting %FileSpec%%Index%.jpg
Del "%FileSpec%%Index%.jpg"
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
:ReIndexFiles
set /a FileIndex = %FileIndex% + 1
set WorkingIndex=%FileIndex%
if %FileIndex% lss 100 set WorkingIndex=0%FileIndex%
if %FileIndex% lss 10 set WorkingIndex=00%FileIndex%
Ren "%WorkingDir%%1" %FileName%%WorkingIndex%.jpg
goto :EOF
rem These must be the FINAL LINES in the script...
DOSEXIT
echo This script requires Windows NT
rem /////////////////////////////////////////////////////////////////////////
The 24P mode in the HV20 creates a duplicate image every 5 images, so it doesn't seem to coorelate to any real pulldown definition. To get it into a 24P timeline the duplicate image simply needs to be removed, which can easily be done by deleting files from a jpg sequence. As a bonus the export process in Avid will stretch the raster out to 1920 if you set it properly.
For those who want to integrate the HV20 into a 24P 1920 x 1080 Avid workflow you can do the following:
- In an HDV project, capture your interlaced 24P footage.
- Export to a JPG sequence, resizing to 1920 x 1080
- Edit then run the batch script listed below
- Open a 24P project
- Import the JPG sequence by ctrl-selecting all of the jpg files.
- WorkingDir: Where the jpgs were exported to
- FileName : File name of the jpgs up to the index number
- FirstDup : First duplicate jpg image
- LastNum : Last number in the sequence
CanonPulldownRemoval.bat
---------------------------------------------
@echo Off
@if not "%ECHO%"=="" echo %ECHO%
@if not "%OS%"=="Windows_NT" goto DOSEXIT
rem Set local scope and call MAIN procedure
setlocal & pushd & set RET=
set SCRIPTNAME=%~n0
set SCRIPTPATH=%~f0
if "%DEBUG%"=="1" (set TRACE=echo) else (set TRACE=rem)
if /i {%1}=={/help} (call :HELP %2) & (goto :HELPEXIT)
if /i {%1}=={/?} (call :HELP %2) & (goto :HELPEXIT)
call :MAIN %*
:HELPEXIT
popd & endlocal & set RET=%RET%
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
rem HELP procedure
rem Display brief on-line help message
rem
:HELP
if defined TRACE %TRACE% [proc %0 %*]
rem Put help message here...
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
rem MAIN procedure
rem
:MAIN
if defined TRACE %TRACE% [proc %0 %*]
Set WorkingDir=E:\Canon Test\
Set FileName=TrackTest.1_
Set FirstDup=3
Set LastNum=138
Set FileSpec=%WorkingDir%%FileName%
Set FileIndex=0
for /l %%i in (%FirstDup%,5,%LastNum%) do call DeleteFile %%i
for /f "tokens=1" %%j in ('dir /b /on "%FileSpec%*"') do call :ReIndexFiles %%j
Pause
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
DeleteFile
set Index=%1
if %1 lss 100 set Index=0%1
if %1 lss 10 set Index=00%1
echo Deleting %FileSpec%%Index%.jpg
Del "%FileSpec%%Index%.jpg"
goto :EOF
rem /////////////////////////////////////////////////////////////////////////
:ReIndexFiles
set /a FileIndex = %FileIndex% + 1
set WorkingIndex=%FileIndex%
if %FileIndex% lss 100 set WorkingIndex=0%FileIndex%
if %FileIndex% lss 10 set WorkingIndex=00%FileIndex%
Ren "%WorkingDir%%1" %FileName%%WorkingIndex%.jpg
goto :EOF
rem These must be the FINAL LINES in the script...
DOSEXIT
echo This script requires Windows NT
rem /////////////////////////////////////////////////////////////////////////
Last edited: