Encoding format string

amindfv at mailbox.org amindfv at mailbox.org
Thu Oct 27 00:17:56 UTC 2022


On Wed, Oct 26, 2022 at 12:50:57PM -0700, amindfv--- via gstreamer-devel wrote:
> On Wed, Oct 26, 2022 at 08:47:51AM -0300, Thibault Saunier via gstreamer-devel wrote:
> > Hi,
> > 
> > Sounds weird as this works and is correct (apart from the 'target-
> > bitrate=20000' which won't work for x264enc for example).
> 
> Is the correct argument for x264enc simply 'bitrate' instead of 'target-bitrate'? That's what it is when I use a x264enc element directly in a pipeline.
>  
> > Without encoding the pipeline works right? If you remove the
> > restriction caps it works right?
> 
> Without any `--format` argument at all it actually does not work. I've put that error below in case it's helpful. [0] However, it does render a file with this minimal line:
> 
>     --format 'video/quicktime,variant=iso:video/x-raw'

However, this fails to render (though with the framerate argument alone it succeeds). Again, the width and height are the same as the input files:

    --format 'video/quicktime,variant=iso:video/x-raw,framerate=24/1,width=4096,height=2160'


ERROR from element qtdemux27: Internal data stream error./>

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:
streaming stopped, reason not-negotiated (-4)

Tom


More information about the gstreamer-devel mailing list