lchiu7
5th April 2010, 22:09
I record movies regularly using the Kodak ZI8 HDCam. The movies are in mov format (h.264/AAC) and are either 1080p/30fps or 720p/60fps.
I am using Windows 7 Professional.
I have been trying to encode them to a H.264 format that is friendlier to play and smaller. But I have encountered a strange bug or behaviour with the encode.
Firstly I rename the files to mp4. I do that else Sony Vegas can't open them (trying to use Vegas to edit the files).
Using megui (though it really doesn't matter if I use megui or just x264 command line) I encode them to H.264 using say a standard HD profile. I then mux that output back with the original AAC audio using txmuxer. While it all goes fine, the audio and video always goes out of sync - by more than a second sometimes.
From a few posts on some other sites I decided to use Vegas to try to encode and downloaded x264vfw which appears to be a h.264 plugin encoder based on the x264 code base.
So I import the video into Vegas (8). I then choose Render as and have a bunch of options.
Two that are interesting are FFDShow and the x264vfw both of which have options to encode as H.264.
Using either option, the output video file shows the same out of sync behaviour. So this suggests to me that there is some strange attribute of the file that is causing x264 to have sync isseus.
Out of interest, those same file re-encoded by the Arcsoft Media encoder (Kodak edition, supplied with the camera) encode fine as you would expect!
For those who are interested, a sample file from the camera can be downloaded here. The picture quality is not that good since all I did was play some video on my monitor and capture it using the recorder so I could have content where I could see dialogue and therefore determine any sync issues.
http://www.adrive.com/public/7b87559095deae19b82086f22a71836b43cf6e9ea41dfc56208a93d1255221db.html
The file is called charmed.mp4 and is about 50MB
Thanks for any insight into this problem.
I am using Windows 7 Professional.
I have been trying to encode them to a H.264 format that is friendlier to play and smaller. But I have encountered a strange bug or behaviour with the encode.
Firstly I rename the files to mp4. I do that else Sony Vegas can't open them (trying to use Vegas to edit the files).
Using megui (though it really doesn't matter if I use megui or just x264 command line) I encode them to H.264 using say a standard HD profile. I then mux that output back with the original AAC audio using txmuxer. While it all goes fine, the audio and video always goes out of sync - by more than a second sometimes.
From a few posts on some other sites I decided to use Vegas to try to encode and downloaded x264vfw which appears to be a h.264 plugin encoder based on the x264 code base.
So I import the video into Vegas (8). I then choose Render as and have a bunch of options.
Two that are interesting are FFDShow and the x264vfw both of which have options to encode as H.264.
Using either option, the output video file shows the same out of sync behaviour. So this suggests to me that there is some strange attribute of the file that is causing x264 to have sync isseus.
Out of interest, those same file re-encoded by the Arcsoft Media encoder (Kodak edition, supplied with the camera) encode fine as you would expect!
For those who are interested, a sample file from the camera can be downloaded here. The picture quality is not that good since all I did was play some video on my monitor and capture it using the recorder so I could have content where I could see dialogue and therefore determine any sync issues.
http://www.adrive.com/public/7b87559095deae19b82086f22a71836b43cf6e9ea41dfc56208a93d1255221db.html
The file is called charmed.mp4 and is about 50MB
Thanks for any insight into this problem.