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

xavs2编码错误? #10

Closed
yaowangvrviu opened this issue Sep 21, 2018 · 2 comments
Closed

xavs2编码错误? #10

yaowangvrviu opened this issue Sep 21, 2018 · 2 comments

Comments

@yaowangvrviu
Copy link

davs的build/linux目录中有一个test.avs2码流,使用这个码流做如下的测试:

  1. 先解码: davs2 -i test.avs2 -o test.yuv 执行正确
    使用yuv软件,可以看到test.yuv的每一帧数据,看起来都正确
  2. 再编码: xavs2 --width=416 --height=240 --input=test.yuv --output=enc.avs2
    可以执行结束,但有一行错误提示
    �[0m�f[a1i;l3e6dm xtavos 2r[eda]d: o n e9 8Y U(VF )f r3a3m e [ 1 0409/512007 3 73451.882046]8
    40.9687 38.8869 8 [ 90 88]
  3. 再解码:davs2 -i enc.avs2 -o enc.yuv
    davs2 crash
    �[1;32m[davs2 debug]: Dec[ 1] 6274a0: discontinuous COI (prev: 90 --> curr: 90).�[0m
    Assertion failed!

Program: \build\linux\davs2.exe
File: /source/common/decoder.cc, Line 294
Expression: curr == NULL || curr->frame->i_poc > pic->frame->i_poc
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

@luofalei
Copy link
Member

luofalei commented Nov 7, 2018

看起来和 pkuvcl/davs2#6 错误信息相同。

@zhongyizengzy
Copy link

看起来和 pkuvcl/davs2#6 错误信息相同。

已经发现问题了,xavs2编码器一定要输入编码的帧数才不会报错,只要不输入编码的帧数,就一定会报错,麻烦修复此BUG

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

No branches or pull requests

3 participants