Hardware accelerated H.264 encoding and streaming on Android

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jun 27 19:51:29 UTC 2019


Le jeudi 27 juin 2019 à 14:04 -0500, maestro157340 a écrit :
> Hi,
> 
> I have a similar problem, my pipeline is:
> "ahcsrc name=ahc device=0 !
> video/x-raw,width=(int)640,height=(int)480,format=(string)NV21 ! queue !
> videoconvert ! x264enc ! rtph264pay ! udpsink host=192.168.0.120 port=4567"
> 
> The pipeline delivers about 0.5 frames per second. I assume, that there is a
> problem with the encoding or with the ahcsrc element directly.

For software encoding, you will need a much lower complexity setting on
x264enc. You could try with tune=zerolatency to start with, and
configure a decent bitrate.

Though on hanghelf, I strongly suggest to use HW accelerator. These can
be abstracted by using encodebin.

> 
> Did you fix your problem yet?
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190627/e512d5ab/attachment.sig>


More information about the gstreamer-devel mailing list