Gstreamer transcode to h264

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Gstreamer transcode to h264

1,747件の閲覧回数
peterhafner
Contributor I

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

ラベル(3)
0 件の賞賛
2 返答(返信)

716件の閲覧回数
nluca
Contributor III

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

0 件の賞賛

716件の閲覧回数
Yuri
NXP Employee
NXP Employee

  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.

0 件の賞賛