Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip_loop_filter和skip_frame #753

Closed
playererer opened this issue Dec 21, 2015 · 3 comments
Closed

skip_loop_filter和skip_frame #753

playererer opened this issue Dec 21, 2015 · 3 comments

Comments

@playererer
Copy link

/**
 * Skip loop filtering for selected frames.
 * - encoding: unused
 * - decoding: Set by user.
 */
enum AVDiscard skip_loop_filter;

/**
 * Skip decoding for selected frames.
 * - encoding: unused
 * - decoding: Set by user.
 */
enum AVDiscard skip_frame;

请问一下这两个参数的具体含义,从注释里面没看明白,
skip_loop_filter:48 是指选中的48帧不进行环路滤波吗?这是怎么选的呢?
skip_frame:8 是指在解码性能不足的情况下跳过选中的8帧不解吗?还是其他的含义呢?

麻烦知道的帮忙解答一下,谢谢!

@weyless
Copy link

weyless commented Dec 21, 2015

https://www.ffmpeg.org/ffplay-all.html
(search skip_loop_filter)
https://www.ffmpeg.org/doxygen/trunk/group__lavc__decoding.html
(search AVDISCARD)

@playererer
Copy link
Author

非常感谢!

@DysaniazzZ
Copy link

As the ffplay Document says: skip_frame means skips decoding, and skip_loop_filter means skips frame loop filtering. And the value is below:

IJK_AVDISCARD_NONE = -16, discard nothing;
IJK_AVDISCARD_DEFAULT = 0, discard useless packets like 0 size packets in avi;
IJK_AVDISCARD_NONREF = 8, discard all non reference;
IJK_AVDISCARD_BIDIR = 16, discard all bidirectional frames;
IJK_AVDISCARD_NONKEY = 32, discard all frames except keyframes;
IJK_AVDISCARD_ALL = 48, discard all;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants