Hung Nguyen <Hung.Nguyen@...> writes: > The problem I am facing now is, every time I try to > change video size when initialise encoder, the > output video does not have video duration: > > enc_ctx->height = 360; > enc_ctx->width = 640;
Did you just set the dimensions in the codec context or did you also use the scale your input (with the scale filter)? Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
