VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. 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
    Quote Quote  
  2. 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.
    Quote Quote  
  3. 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
    Image Attached Thumbnails Click image for larger version

Name:	TC.JPG
Views:	367
Size:	94.7 KB
ID:	20490  

    Click image for larger version

Name:	VPR2.JPG
Views:	351
Size:	276.5 KB
ID:	20491  

    Quote Quote  
  4. Well done. I'm very impressed.

    Finding the timecide data is a little trickier. I'll keep looking and assume you will too.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!