Page 1 of 1

Panasonic P2 Card - video + audio import script

Posted: Mon Sep 10, 2018 11:18 am
by PoznanskaPyra

I made a script to import video and audio from Panasonic P2 card. Is dedicated to Panasonic HPX500 (records in 1440x1080 50i)

Code: Select all

for %%a in ("K:\CONTENTS\VIDEO\*.mxf") do C:\ffmpeg\bin\ffmpeg -i "%%a" -i "K:\CONTENTS\AUDIO\%%~na00.mxf" -i "K:\CONTENTS\AUDIO\%%~na01.mxf" -i "K:\CONTENTS\AUDIO\%%~na02.mxf" -i "K:\CONTENTS\AUDIO\%%~na03.mxf" -c:v mpeg2video -s 1440x1080 -aspect 16:9 -b:v 100000k -maxrate 100000k -bufsize 7670k -minrate 100000k -r 25 -flags ilme -top 1 -c:a copy -map 0:v:0 -map 1:a:0 -map 2:a:0 -map 3:a:0 -map 4:a:0  "output folder"

K: - name p2 card in windows