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

[Bug]: Unable to determine Video-Bitrate for the stream {'-resolution': '1280x720', '-framerate': '23.976023976023978'}. Skipped! #423

Closed
3 tasks done
juniorcines opened this issue Oct 10, 2024 · 6 comments
Labels
MISSING : INFORMATION 🔍 Requested proper information/evidence about the Issue/PR in context. QUESTION ❓ User asked about the working/usage of VidGear APIs. WON'T FIXED 🚫 This issue will not be worked on

Comments

@juniorcines
Copy link

Description

Unable to determine Video-Bitrate for the stream {'-resolution': '1280x720', '-framerate': '23.976023976023978'}. Skipped!

Hi, I'm getting this error.

For example, if I do it for multiple qualities, if any of them I get the error that it does not add it, and also if I set the video_bitrate it also causes some videos not to convert.

Issue Checklist

  • I have searched open or closed issues for my problem and found nothing related or helpful.
  • I have read the Documentation and found nothing related to my problem.
  • I've read the Issue Guidelines and wholeheartedly agree.

Expected behaviour

?

Actual behaviour

?

Steps to reproduce

stream_params =
{"-streams":
[
{"-resolution": "1920x1080", "-video_bitrate": "4000k"}, # Stream1: 1920x1080 at 4000kbs bitrate
{"-resolution": "1280x720", "-framerate": 30}, # Stream2: 1280x720 at 30fps
{"-resolution": "640x360", "-framerate": 60.0}, # Stream3: 640x360 at 60fps
]
}

Terminal log output

No response

Python Code(Optional)

stream_params = 
    {"-streams": 
        [
        {"-resolution": "1920x1080", "-video_bitrate": "4000k"}, # Stream1: 1920x1080 at 4000kbs bitrate
        {"-resolution": "1280x720", "-framerate": 30}, # Stream2: 1280x720 at 30fps
        {"-resolution": "640x360", "-framerate": 60.0},  # Stream3: 640x360 at 60fps 
        ]
    }

VidGear Version

0.2.6

Python version

3.7

OpenCV version

lastest

Operating System version

Ubuntu 20

Any other Relevant Information?

No response

@juniorcines juniorcines added the BUG 🐛 Vidgear api's error, flaw or fault label Oct 10, 2024
@juniorcines
Copy link
Author

image

When I want to make multi quality, this appears and it avoids creating the 1280x720.

I'm using an mkv and I also tried with an mp4, and the video dimension is 1920, 1080

Also, if I set the video_bitrate manually, it causes problems and does not convert the videos.

@juniorcines
Copy link
Author

image

Here it would be if I configure the video_bitrate, when it avoids converting to multiple quality by adding 1280x720

@juniorcines
Copy link
Author

I hope they can fix this problem.

Since it is becoming impossible to create multiple qualities.

My only solution was to create my own quality list, and use single source to convert it to the quality I want and then create the playlist.m3u8

@abhiTronix
Copy link
Owner

image

When I want to make multi quality, this appears and it avoids creating the 1280x720.

I'm using an mkv and I also tried with an mp4, and the video dimension is 1920, 1080

Also, if I set the video_bitrate manually, it causes problems and does not convert the videos.

@juniorcines Here you're just providing just resolution 1280x720 and not the framerate or video bitrate. That's why it didn't worked.

@abhiTronix
Copy link
Owner

image

Here it would be if I configure the video_bitrate, when it avoids converting to multiple quality by adding 1280x720

@juniorcines 5000k is really high, try instead fps such as "-framerate": 30.0

@abhiTronix abhiTronix added QUESTION ❓ User asked about the working/usage of VidGear APIs. MISSING : INFORMATION 🔍 Requested proper information/evidence about the Issue/PR in context. and removed BUG 🐛 Vidgear api's error, flaw or fault labels Oct 20, 2024
@abhiTronix abhiTronix removed their assignment Oct 20, 2024
@abhiTronix abhiTronix added the WON'T FIXED 🚫 This issue will not be worked on label Nov 13, 2024
@abhiTronix
Copy link
Owner

Closing this for missing information. Please feel free to re-open this if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MISSING : INFORMATION 🔍 Requested proper information/evidence about the Issue/PR in context. QUESTION ❓ User asked about the working/usage of VidGear APIs. WON'T FIXED 🚫 This issue will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants