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ó ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Thu, 2008-11-06 at 15:37 +0100, Csaba Varró wrote:
> > 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. Use x264enc byte-stream=true or upgrade good to the latest release. Wim > 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ó > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |