Gstreamer Editing Services Video Rendering Bitrate Drops

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer Editing Services Video Rendering Bitrate Drops

GStreamer-devel mailing list
Hello,

I'm trying to figure out why the bitrate on my render output tanks down to about 1600kbps from the 60000kbps input. I'm having a hard time finding a way to set the bitrate using the video encoding profile structs. I've tried setting the bitrate in the format caps, but that didn't seem to work, maybe I'm doing it wrong? I'm also using the rust bindings if that makes a difference, but it seems that the rust bindings are 1:1 with the original api.

This is my first time posting here and using a mailing list so I'm really not sure about the proper edicate. Sorry about that in advance.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer Editing Services Video Rendering Bitrate Drops

GStreamer-devel mailing list
Hello,

Following up on this with more info in hopes of getting a response.

looking more into the issue it seems like the gstreamer editing services pipeline isadding the x264enc element to itself when it sees my video/x-h264 format. I believe I would need to set the bitrate in that element rather than the video/x-h264 part. I'm lost on where in the ges api I would be able to do that.

I attached my code. Encoding profiles are made on line 111.

On Wed, May 19, 2021 at 11:29 PM Ryan Callahan <[hidden email]> wrote:
Hello,

I'm trying to figure out why the bitrate on my render output tanks down to about 1600kbps from the 60000kbps input. I'm having a hard time finding a way to set the bitrate using the video encoding profile structs. I've tried setting the bitrate in the format caps, but that didn't seem to work, maybe I'm doing it wrong? I'm also using the rust bindings if that makes a difference, but it seems that the rust bindings are 1:1 with the original api.

This is my first time posting here and using a mailing list so I'm really not sure about the proper edicate. Sorry about that in advance.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

lib.rs (5K) Download Attachment