<div dir="ltr">Hi Tom,<div><br></div><div>Glad I could be of assistance.</div><div><br></div><div>Unfortunately, I am no GES expert. And I guess as mentioned by Thibault, I don't think that this is the best/safe way to set your caps and/or encoding profiles.</div><div><br></div><div>But regarding the I420_10LE part, there definitely should exist a way where you can inform individual elements of your desired setting. For example this upcoming pipeline forces videoconvert to convert from I420 to I420_10LE as well as rescale the default resolution coming out of videotestsrc.<br>gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw,format=I420_10LE,width=1280,height=720 ! fakesink<br></div><div><br></div><div>I think the `format=I420_10LE` might be needed in your GES launch line to force the pixel format. Perhaps, some other members in this community might have a better input on this.</div><div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 10:32 AM amindfv--- via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Thibault - I tried the encoding string you advised but I still see a similar error:<br>
<br>
    $ ges-launch-1.0 --track-types=video +clip /home/foo/bar0.MOV inpoint=16.0 duration=2.0 +clip /home/foo/bar1.MOV inpoint=15.0 duration=3.0 --outputuri file:///home/foo/out.mp4 --format 'video/quicktime,variant=iso:video/x-raw,width=4096,height=2160->video/x-h264|element-properties,target-bitrate=200000'<br>
<br>
    [...]<br>
<br>
    ERROR from element qtdemux27: Internal data stream error./><br>
<br>
    Debugging info: ../gst/isomp4/qtdemux.c(6545): gst_qtdemux_loop (): /GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0/GstBin:current-bin/NleSource:GESVideoUriSource:nlesource1/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin56/GstQTDemux:qtdemux27:<br>
    streaming stopped, reason not-negotiated (-4)<br>
<br>
Any help would be very appreciated - I'm on the last day of a later deadline (first one missed) and the output file is incrediby low-quality at the moment.<br>
<br>
Thanks!<br>
Tom<br>
<br>
<br>
On Tue, Oct 25, 2022 at 09:54:59AM -0300, Thibault Saunier via gstreamer-devel wrote:<br>
> Hi,<br>
> <br>
> I think what you want is to set restriction caps (so the video is<br>
> scalled up to the size you are setting), meaning:<br>
> <br>
> ```<br>
> video/quicktime,variant=iso:video/x-raw,width=4096,height=2160-<br>
> >video/x-h264|element-properties,target-bitrate=200000<br>
> ```<br>
> <br>
> Also the way you set properties doesn't sound so safe as you are not<br>
> specifying what underlying encoder will be used and the various encoder<br>
> don't have the same API to set bitrate (sadly).<br>
> <br>
> - Thibault<br>
> <br>
> On Mon, 2022-10-24 at 23:34 -0700, amindfv--- via gstreamer-devel<br>
> wrote:<br>
> > Hello, can anyone help here? I'm working with quite a simple setup:<br>
> > all clips have the same geometry, bitrate, fixed framerate, etc., and<br>
> > I simply want to render a file with matching specs (geometry,<br>
> > bitrate, and notably 10-bit color pixel format).<br>
> > <br>
> > I'm using `ges-launch` and all I need, as far as I know, is a `--<br>
> > format` string to specify this.<br>
> > <br>
> > Any help would be very appreciated.<br>
> > <br>
> > Thanks,<br>
> > Tom<br>
> > <br>
> > On Fri, Oct 21, 2022 at 01:40:45PM -0700, amindfv--- via gstreamer-<br>
> > devel wrote:<br>
> > > Running on very little sleep with a deadline looming, I find myself<br>
> > > unable to come up with a GstEncoding profile for `ges-launch-1.0`<br>
> > > (a task that seems simple enough).<br>
> > > <br>
> > > I've got input sources that are 4096x2160 with a pixel format of<br>
> > > yuv420p10le; I'd like to preserve that as the output format (and<br>
> > > make sure the pixel format isn't getting downgraded anywhere in the<br>
> > > pipeline). I'd also like to make sure the bitrate stays at 200mb/s.<br>
> > > <br>
> > > I've tried things from this page<br>
> > > (<a href="https://gstreamer.freedesktop.org/documentation/pbutils/encoding-p" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/pbutils/encoding-p</a><br>
> > > rofile.html?gi-language=c), and come up with things like <br>
> > > <br>
> > >     video/quicktime,variant=iso:video/x-<br>
> > > h264,width=4096,height=2160|target-bitrate=200000<br>
> > > <br>
> > > (There's one video track, no audio)<br>
> > > <br>
> > > But I get errors from ges-launch like:<br>
> > > <br>
> > >     ERROR from element qtdemux27: Internal data stream error./><br>
> > > <br>
> > >     Debugging info: ../gst/isomp4/qtdemux.c(6545): gst_qtdemux_loop<br>
> > > ():<br>
> > > /GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:ge<br>
> > > svideotrack0/NleComposition:video_nlecomposition0/GstBin:current-<br>
> > > bin/NleSource:GESVideoUriSource:nlesource0/GstBin:videosrcbin/GstUR<br>
> > > IDecodeBin:uridecodebin0/GstDecodeBin:decodebin56/GstQTDemux:qtdemu<br>
> > > x27:<br>
> > > streaming stopped, reason not-negotiated (-4)<br>
> > > <br>
> > > <br>
> > > As I say, I'm on quite a deadline; any help would be very<br>
> > > appreciated!<br>
> > > <br>
> > > Thanks,<br>
> > > Tom<br>
> <br>
</blockquote></div>