Profile set to high but output shows baseline
sapna344 at gmail.com
Tue Oct 5 09:41:33 UTC 2021
Along with this, how can i measure output of encoder? I need to get details
of compressed data size per sec, output per second from encoder.
On Tue, 28 Sep 2021, 1:23 pm Sapna kumari, <sapna344 at gmail.com> wrote:
> Hello Nicolas,
> Thanks for sharing these details.
> I am quite new to this and currently in android native I have added the
> gstreamer pipeline using gst-rtsp-server.
> So I am not quite sure how I can query the format from gst-rtsp-server
> I have checked in dot graph. Output caps of omx exynos avc encoder shows
> baseline, constrained baseline, high and main.
> And if in case high is set, when I am saving the rtsp stream to file, size
> of file has also increased for same duration than the one with baseline
> Can you please guide me on how I can check this with some sample example?
> Also if there is any field to be updated in rtsp server pipeline.
> On Thu, 23 Sep 2021, 6:29 pm Nicolas Dufresne, <nicolas at ndufresne.ca>
>> Le jeudi 23 septembre 2021 à 15:21 +0530, Sapna kumari via
>> gstreamer-devel a
>> écrit :
>> > Hi,
>> > I am trying to set profile for H264 from baseline to high. I have used
>> > rtsp server pipeline:
>> > appsrc ! amcvidenc-omxexynosavcencoder ! video/x-h264,profile=high !
>> > ! rtph264pay name=pay0 pt=96
>> > On client side :
>> > gst-launch-1.0.exe rtspsrc lication=rtsp://ip:port ! rtph264depay !
>> > ! splitmuxsink .......and so on.
>> > In dot graph of client pipeline, I see profile as baseline in output
>> caps of
>> > rtph264depay element.
>> > Can anyone guide me on what could be wrong with this?
>> I've looked at the code, media_codec.configure() is fail safe in Android,
>> returns void. But encoders seems not to set INFO_OUTPUT_FORMAT_CHANGED if
>> format configure was altered. As a consequence, you HW driver (Exynos)
>> likely does not support High profile, changed it back to baseline and
>> didn't notice.
>> Perhaps you may try to force a call to getOutputFormat() after each
>> ? Though, I'm pretty sure what you are asking from you Exynos encoder is
>> > Thanks ,
>> > Sapna
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel