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

Repair the problem of error decoding and playback caused by the absen… #1097

Merged
merged 3 commits into from
Dec 2, 2018
Merged

Conversation

eguid
Copy link
Contributor

@eguid eguid commented Nov 30, 2018

Repair the problem of error decoding and playback caused by the absence of dts/pts in the output audio/video file or audio/video stream,Comment out this line of code so that PTS / DTS can specify the timestamp manually.

…ce of dts/pts in the output audio/video file or audio/video stream,Comment out this line of code so that PTS / DTS can specify the timestamp manually.
@saudet
Copy link
Member

saudet commented Nov 30, 2018

Can we do the same thing with pts as well?

@eguid
Copy link
Contributor Author

eguid commented Dec 1, 2018

PTS may not be able to solve this problem, we encountered this problem in daily audio and video development, found that most decoders or player implementations are based on DTS to determine how to decode and display video frames (such as FFMPEG, VLC, WMP, etc.), you can do without pts, but you can not do without dts.

@eguid
Copy link
Contributor Author

eguid commented Dec 1, 2018

These are some of our personal suggestions. I hope they will be helpful to you.
Thank you again for your selfless contribution.
Thanks.

@saudet
Copy link
Member

saudet commented Dec 1, 2018 via email

@saudet saudet added the bug label Dec 2, 2018
@saudet
Copy link
Member

saudet commented Dec 2, 2018

Well, I've done the same for pts. Let me know if that introduces any additional issues! Thanks

@saudet
Copy link
Member

saudet commented Dec 2, 2018

Fixes #1096

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

Successfully merging this pull request may close these issues.

2 participants