I have a i.mx6 Dual,
and the gstreamer-imx compiled.
My task is to receive a jpeg-stream, and transcode it to a h264 video stream.
Of course, for streaming over wifi, and very fast ;-)
Here, this line is working,
I got the jpeg-stream stored to the file.
gst-launch-1.0 udpsrc buffer-size=1000000 port=5006 ! queue ! jpegdec ! imxipuvideotransform ! matroskamux name=mux ! filesink location=test.mkv
Now, I want to transcode it to h264.
I try different lines with gstreamer, mostly I run into not-negotiated (-4) error.
for example with this one.
gst-launch-1.0 --gst-debug=3 udpsrc buffer-size=1000000 port=5006 ! jpegdec ! queue ! imxvpuenc_h264 bitrate=4096 ! "video/x-h264,stream-format=byte-stream,profile=high" ! h264parse ! matroskamux name=mux ! filesink location=test.mkv
Would be nice to get a hint.
Thanks
Peter
Hi Peter,
Did you try to set the "caps" options for udpsrc (e.g. caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, ....") ?
Regards,
Luca
I think it makes sense to post this issue to meta-fsl-arm mailing list,
since there is no official Freescale gst-launch-1.0 release.
https://lists.yoctoproject.org/listinfo/meta-freescale
~Yuri.