[gst-devel] BUG: both h264 encoders fail
Csaba Varró
varrocs at gmail.com
Thu Nov 6 15:37:50 CET 2008
Hello!
I want to send an encoded h264 stream over RTP. There are two h264 encoders
in gstreamer I found: ffenc_libx264 and x264enc. Both fails.
The stream encoded by x264enc is rejected by the rtph264pay:
gst-launch v4lsrc device=/dev/video0 ! x264enc ! rtph264pay ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
x264 [warning]: width or height not divisible by 16 (160x120), compression
will suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 SSE3 Cache64
ERROR: from element /pipeline0/rtph264pay0: The stream is in the wrong
format.
Additional debug info:
gstrtph264pay.c(673): gst_rtp_h264_pay_handle_buffer ():
/pipeline0/rtph264pay0:
AVC H264 is not supported yet
Execution ended after 182851632 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
x264 [info]: slice I:1 Avg QP:15.62 size: 7192
x264 [info]: mb I I16..4: 0.0% 0.0% 100.0%
x264 [info]: SSIM Mean Y:0.9969846
x264 [info]: kb/s:1438.4
FREEING pipeline ...
The ffenc_libx264 can't encode from my v4l2src source:
gst-launch v4l2src device=/dev/video1 ! ffenc_libx264 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Caught SIGSEGV accessing address (nil)
Killed
Are these problems bugs in the encoders or I am doing something wrong?
Thanks,
Csaba Varró
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081106/9494cb45/attachment.htm>
More information about the gstreamer-devel
mailing list