TEEing the video
Sérgio Agostinho
sergio.r.agostinho at gmail.com
Sat Nov 29 05:20:28 PST 2014
If I’m not mistaken it is
g_object_set (G_OBJECT(enc), "tune", 0x0004, NULL);
gst-inspect x264enc just to be sure of the exact hex value
Sérgio
> On 29 Nov 2014, at 12:40, Ian Davidson <id012c3076 at blueyonder.co.uk> wrote:
>
> How do I set "tune=zerolatency" onto the x264enc element in a C program?
>
> I tried g_object_set (G_OBJECT(enc), "tune", "zerolatency", NULL) which compiled OK but failed at runtime with a "value is out of range for property" message.
>
> I have tried to download the source of x264enc (so that I can see what is expected) - but I have not fathomed out how to do it.
>
> I have looked at the unit test for x264enc - but that does not seem to reference "tune".
>
> Ian
>
> On 28/11/2014 17:26, Ian Davidson wrote:
>> Thanks Nicolas,
>>
>> That worked with that pipeline on my development machine.
>>
>> Ian
>>
>> On 28/11/2014 17:09, Nicolas Dufresne wrote:
>>>
>>> Le 2014-11-28 11:48, Ian Davidson a écrit :
>>>>
>>>> What should I do to, either, find out what is going wrong, or fix the pipeline so that it does what I want?
>>>
>>> Looks like some latency issue. This pipeline can't hold all the latency introduced by x264enc. A simple way forward is to use x264enc tune=zerolatency.
>>>
>>> Nicolas
>>> _______________________________________________
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141129/1c9d03e1/attachment-0001.html>
More information about the gstreamer-devel
mailing list