Profile set to high but output shows baseline
Sapna kumari
sapna344 at gmail.com
Tue Oct 5 09:41:33 UTC 2021
Hi,
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.
Thanks.
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
> pipeline.
> 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
> profile.
>
> 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.
>
> Thanks,
> Sapna
>
> On Thu, 23 Sep 2021, 6:29 pm Nicolas Dufresne, <nicolas at ndufresne.ca>
> wrote:
>
>> 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
>> below
>> > rtsp server pipeline:
>> >
>> > appsrc ! amcvidenc-omxexynosavcencoder ! video/x-h264,profile=high !
>> h264parse
>> > ! rtph264pay name=pay0 pt=96
>> >
>> > On client side :
>> > gst-launch-1.0.exe rtspsrc lication=rtsp://ip:port ! rtph264depay !
>> h264parse
>> > ! 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
>> the
>> format configure was altered. As a consequence, you HW driver (Exynos)
>> which
>> likely does not support High profile, changed it back to baseline and
>> GStreamer
>> didn't notice.
>>
>> Perhaps you may try to force a call to getOutputFormat() after each
>> set_format()
>> ? Though, I'm pretty sure what you are asking from you Exynos encoder is
>> not
>> possible.
>>
>> regards,
>> Nicolas
>>
>> >
>> > Thanks ,
>> > Sapna
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211005/2ce0a5d4/attachment.htm>
More information about the gstreamer-devel
mailing list