Hi all,
can I keep timecode data in output file then I transcode using mencoder?
and can I convert 601 to 709 color matrix?
and how can I achieve the help command under mencoder?
thanks
+ Reply to Thread
Results 1 to 4 of 4
-
-
Why are you still trying to stuff a Ferrari engine in a Cinquecento?
I don't use mendcoder, but the word timecode is not even mentioned in the documentation. Plus, your XDCam files have the timecode stored as part of the metadata in the folder structure. That is another reason why you need a modern NLE. -
smrpix thank you but in the meantime I have solved all.
My fantastic NLE (it's not Ferrari... it's not Cinquecento... it's a lamborghini) can now read the timecode track of the original .mxf file using FFMPEG with a modify in ffmpeg.exe with the hex editor.
ffmbc -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -vf colormatrix=bt709:bt601 -sameq -vtag MJPG -an testout.avi
can transcode the video part OK but FFMBC don't have timecode
ffmpeg -y -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -q:v 0 -vf colormatrix=bt709:bt601 -vtag MJPG -an out.avi
FFMPEG can transfer timecode in the output file but wrong the video part! Only now I have understand why: is guilty the vprp wrapper !!
With the Hex editor I have modify ffmpeg.exe so it write in the output file "vpr2" in place of "vprp": this way Speed Razor ignore all the data in the vprp segment of the avi file and can import correctly the video part from ffmpeg.
IN FACT ffmbc don't write vprp header and the NLE can import the avi files.
With this batch file I can convert all the .mxf of a xdcam disc in the structure suitable for my Speed Razor HD
color 2
md wav
md CH3CH4
set ext=.mxf
set file=
for /f "tokens=1,*" %%A in ("%*") do set folder=%%A %%B
if "%folder%"=="" set folder=%cd%
if not "%folder:~1,1%"==":" set folder=%cd%\%folder%
if not exist *%ext% goto:EOF
if exist temp%ext% goto:EOF
for /f "delims=" %%G in ('dir *%ext% /b /o:-d /t:w') do set file=%%G
for %%H in ("%file%") do set filename=%%~nH
set "filepath=%folder%\%filename%"
set "percorso2=%folder%\avi"
echo %filepath% | clip 2>nul
if %errorlevel%==1 goto:EOF
v:\automazioneclip\core\ffmbc -y -i %filename%.mxf -map 0:1 -map 0:2 -acodec pcm_s16le -vn -vol 350 track1.wav -acodec pcm_s16le -vn track2.wav
v:\automazioneclip\core\sox -M track1.wav track2.wav temp12.wav
ren temp12.wav %filename%.wav
v:\automazioneclip\core\ffmbc -y -i %filename%.mxf -map 0:3 -map 0:4 -acodec pcm_s16le -vn -vol 350 track3.wav -acodec pcm_s16le -vn track4.wav
v:\automazioneclip\core\sox -M track3.wav track4.wav temp34.wav
ren temp34.wav %filename%CH3CH4.wav
del track1.wav
del track2.wav
del track3.wav
del track4.wav
move /y %filename%CH3CH4.wav ch3ch4
move /y %filename%.wav wav
v:\automazioneclip\core\ffmpeg.exe -y -i %filename%.mxf -vcodec mjpeg -pix_fmt yuvj422p -vf colormatrix=bt709:bt601 -q:v 0 -vtag MJPG -an %filename%.avi
ren %filename%.mxf %filename%.tmp
Now all file are pretty converted in mjpeg .avi, the quality is absolutly the same and Speed Razor, with some software adapter on the speed razor .dll & .rzf files is possible to edit perfectly the .mxf xdcam hd422 files -
Well done. I'm very impressed.
Finding the timecide data is a little trickier. I'll keep looking and assume you will too.
Similar Threads
-
Program to replace timecode in srt with timecode from another srt
By TehBotolSOsro in forum SubtitleReplies: 19Last Post: 13th Sep 2012, 12:28 -
deinterlacing source mpeg2 when transcoding it to dv
By codemaster in forum EditingReplies: 14Last Post: 20th Apr 2012, 13:18 -
need to replace audio source with a different source
By sec1968 in forum AudioReplies: 0Last Post: 6th Mar 2011, 22:59 -
Timecode skipping
By rds11 in forum EditingReplies: 1Last Post: 23rd Dec 2010, 09:24 -
Burned in timecode - HOW?
By synaptic in forum Newbie / General discussionsReplies: 3Last Post: 20th Apr 2009, 23:41