sorry i forgot to add the initialization of the output file. output = mp4_output; opt.use_dts_compress = 1; output.open_file("video.mp4",&p_handle,&opt); -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110421/2bdd5241/attachment.html>