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

Used the recordPacket(AVPacket pkt)methods the FFmpegFrameRecorderin the recordPacket(AVPacket pkt)methods to the dts and pts empty value error #1096

Closed
eguid opened this issue Nov 30, 2018 · 4 comments
Labels

Comments

@eguid
Copy link
Contributor

eguid commented Nov 30, 2018

Usethe recordPacket(AVPacket pkt)methods the FFmpegFrameRecorderto the dts and pts empty valueerror, and the the view of the view and the view file to the set to the codes to the set to the view.
pkt.dts(AV_NOPTS_VALUE); pkt.pts(AV_NOPTS_VALUE); pkt.pos(-1);
In the input dts, ptsset, is be the the view of the the.and the a view of the.and a view of the source of the Dec of the time of the time,and because of this code, I couldn't specify the correct PTS / DTS value in the package,i commented out the code,it worked.
Thank you for your project.
can I submit this code?
Thanks.

@saudet
Copy link
Member

saudet commented Nov 30, 2018

Of course, please send a pull request! Thanks

BTW, is this related to issue #818?

@eguid
Copy link
Contributor Author

eguid commented Nov 30, 2018

This is different from the problem of issue #818. The program does not report errors when it runs, but the video files or streams after recordPacket cannot be decoded and played properly because of the absence of pts/dts.

@eguid
Copy link
Contributor Author

eguid commented Nov 30, 2018

Thank you for your reply.
I have submitted pull request.

@saudet
Copy link
Member

saudet commented Jan 12, 2019

Your fix is now included in JavaCV 1.4.4. Thanks for the contribution!

@saudet saudet closed this as completed Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants