Conversion settings

2 replies [Last post]
Joined: 09/21/2009
Points: 7

I have the KalturaCE server running on a Windows 2003 server with xampp 1.7.1, but it seems the conversions are setting the audio way out of sync with the video. Are there some settings I should be aware of when uploading a type of media file, be it .avi, wmv, or mpeg?

Thanks

Joined: 02/26/2010
Points: 5

I haven't figured out all the details, but one of the cases I think this happens is if your source uses any kind of 3:2 pulldown, you'll see this kind of behavior. mencoder is dropping the duplicate frames it sees. I solved it by adding to the conversion_params [s:14:"mencoderParams";s:12:" -vf harddup";]

note the leading space in front of the '-vf' flag - otherwise it will append it directly to the end of the default params.

with this flag, duplicate frames will not be dropped and you should stay in sync.

Joined: 02/26/2010
Points: 5

also, I had success replacing the ffmpeg binary with a more recent build. there is a known issue with the one in the package I downloaded where it always reports an error with the audio encoding, forcing the server to attempt to convert with mencoder. replacing the ffmpeg binary with one that does not throw the error works for most of my media.