Re: h264parse

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: h264parse

Nicolas Dufresne-5
Le vendredi 24 mars 2017 à 08:52 -0700, [hidden email] a
écrit :
> Hi!
>
> Do you maybe know is there any way to get NAL from h264parse? I think
> I am getting AU
> gsth264parse.c:405:gst_h264_parse_negotiate:<h264parse0> selected
> format avc, alignment au
>
> I am trying to attach to NVIDIA parser and it wants NAL, maybe
> decoder it'selfe requires AU.. I don't know :(

Yes, by using a downstream caps filter

  ... ! h264parse ! video/x-h264,stream-format=byte-stream,alignment=nal ! ...

Ideally, that would be in your new element caps filter. Have you notice
that we have NVEnc support already in upstream GStreamer ?

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/nvenc

>
> And sorry cause I contacted you directly.
>
> _____________________________________
> Sent from http://gstreamer-devel.966125.n4.nabble.com

Considering this is sent from nabble.com, I guess you don't mind if I
CC back the gstreamer-devel list here.

regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: h264parse

Nicolas Dufresne-5
Le vendredi 24 mars 2017 à 21:00 +0100, Andrej a écrit :
> I've tried to add this "video/x-h264,stream-format=byte-
> stream,alignment=nal" to pipeline after h264parse, but I was
> unsecesful. I guest I jast did it wrong...you are mentioning
> downstream...most likely it means I have to put caps at appsink for
> example?
>
> Because currently I only have caps at appsrc. My pipeline looks like
> this: appsrc (with caps) ! rtpjitterbuffer ! rtph264depay ! h264parse
> ! appsink

Yes, downstream means after h264parse.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Loading...