-
Notifications
You must be signed in to change notification settings - Fork 34
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
check if the stream contains mjpeg as codec_name, then treat media as audio #91
base: main
Are you sure you want to change the base?
Conversation
Hey @Rushi1109, thanks for the PR. Frankly, I wasn't familiar with the full output set of Thanks for checking! |
Hey @omeryusufyagci, When looking at the raw data of the media I see But, When I tried to get the information about |
Moreover @omeryusufyagci, I have researched a bit and got to know that If the video stream contains a static image, the average frame rate for that stream will be Do you see any issue with this approach? |
Please make sure you include Could you try like that, and if there's still an issue please provide the command you used and the output you received.
Thanks for figuring this out! Good to know that'd be a valid fix. The Could you please verify this and let me know if it resolves the issue? Thank you! |
Yes I included Can you check it on your side? Do you see disposition in output? |
fixes the bug raised in #90
The
ffprobe
tool is used to check if any stream contains codec_name as mjpeg.If mjpeg is present, the media is treated as Audio, other media is treated as Video