hi, I'm using ffmpeg in a embedded system. when the file is out of the ability of the system, but not too much, I'm trying to skip some frames. at first, I'm synchronizing video to audio, judging the pts difference after a frame is shown, if the difference is larger than some kind of value, then start to set skip_frame, skip_idct, skip_loop_filter to AVDISCARD_NONREF, other values seems cause serious quality loss, and it seems not to be a very good idea. then I calculate the average decoding time and compare it to fps, but I don't know when skip frame flag is set, how many frames will be skipped.
does anyone have a good solution? -- language: Chinese, Japanese, English _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
