PNG file to encoding h264 data problem..

Anton Pryima zingfrid at gmail.com
Tue Apr 28 07:45:21 UTC 2020


Hello,
Your question is quite spread around. Looking on your pipelines I see a
couple of issues from the beginning:

SENDER :
gst-launch-1.0 *filesrc location=test.png *! pngdec ! videoconvert ! x264enc
tune=zerolatenc! rtph264pay ! udpsink host=127.0.0.1 port=5000

I'm not quite sure that it will work. I think it is better to use
multifilesrc and loop property. It reads the file, converts and produce a
single frame of h264, after that pipeline should be finished.

CLIENT :
gst-launch-1.0 -v
*udpsrc multicast-group=224.0.0.7 auto-multicast=trueport=5001*
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96"
! rtpjitterbuffer latency=500 ! rtph264depay ! h264parse ! imxvpudec !
imxipuvideotransform ! imxipuvideosink framebuffer=/dev/fb0 use-vsync=true

It is weird - you're sending stream as a single multicast stream, but
trying to receive it from the multicast group from different addresses and
port.
Are you using imx board? (you did not state that in your question)

Best regards,
Anton.

On Mon, Apr 27, 2020 at 12:10 PM kukuman <sja05065 at gmail.com> wrote:

> Hi Everyone.
>
> I'm noob of gstreamer.
>
> i send to udpsink about my encoding PNG file data.
>
> i think PNG file to decoding -> videoconvert -> x264enc -> rtph264pay ->
> udpsink
>
> so SENDER give to my CLIENT h264 data. but my CLIENT is not receive h264
> data.
>
> CLIENT doesn't show SENDER sended h264 data.
>
> SENDER :
> gst-launch-1.0 filesrc location=test.png ! pngdec ! videoconvert ! x264enc
> tune=zerolatenc! rtph264pay ! udpsink host=127.0.0.1 port=5000
>
> CLIENT :
> gst-launch-1.0 -v udpsrc multicast-group=224.0.0.7 auto-multicast=true
> port=5001
>
> caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96"
> ! rtpjitterbuffer latency=500 ! rtph264depay ! h264parse ! imxvpudec !
> imxipuvideotransform ! imxipuvideosink framebuffer=/dev/fb0 use-vsync=true
>
> please give me mercy..
>
>
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200428/1432ccbc/attachment.htm>


More information about the gstreamer-devel mailing list