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

Please tell me the way to debug in ffmpeg #25

Closed
minhtoantm opened this issue Jun 4, 2020 · 7 comments
Closed

Please tell me the way to debug in ffmpeg #25

minhtoantm opened this issue Jun 4, 2020 · 7 comments

Comments

@minhtoantm
Copy link

Hi @kingslay .
Please tell me the way to debug in ffmpeg, I want to debug to know some value of variants.
Thank you very much for greate player.

@kingslay
Copy link
Owner

kingslay commented Jun 4, 2020

@minhtoantm
Copy link
Author

Thank you very much.
I read your code and develop "hls adaptive bitrate" for ijkplayer.
But i have an issue when change stream by set discard=AVDISCARD_DEFAULT like you:
In KSPlayer, i see log is: decode_slide_header error. -> no frame! -> Reinit context to 640x368
But in ijkplayer, stream is paused.

Do you know cause of this issue? or tell me any solution for this?
Again, thank you very much.

@minhtoantm
Copy link
Author

https://github.com/kingslay/KSPlayer/blob/develop/documents/%E8%B0%83%E8%AF%95FFmpeg.md

Sorry but when i rebuild ffmpeg, i get this error: ERROR: libxml-2.0 not found using pkg-config
Althought I installed: "brew install libxml2" and "brew install sdl2"
But error still happens.

@kingslay
Copy link
Owner

kingslay commented Jun 5, 2020

brew install pkg-config

@kingslay
Copy link
Owner

kingslay commented Jun 5, 2020

Thank you very much.
I read your code and develop "hls adaptive bitrate" for ijkplayer.
But i have an issue when change stream by set discard=AVDISCARD_DEFAULT like you:
In KSPlayer, i see log is: decode_slide_header error. -> no frame! -> Reinit context to 640x368
But in ijkplayer, stream is paused.

Do you know cause of this issue? or tell me any solution for this?
Again, thank you very much.

ijkplayer uses an older version of ffmpeg, and has modified it itself. So there's no way to know for sure what this one is about. You can use KSPlayer.KSPlayer uses ffmpeg which is the latest

@minhtoantm
Copy link
Author

I build successfull, but can not debug line by line with clear code.
Can you have any solution for this? or if you have any link to research this, please give for me.
Thanks.

image

@kingslay
Copy link
Owner

kingslay commented Jun 6, 2020

you need use Mac Catalyst
image

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

2 participants