gstducatividenc.c:250:gst_ducati_videnc_configure:<ducatih264enc0> couldn't create codec

57 views
Skip to first unread message

Alex Lee

unread,
Feb 10, 2012, 3:35:18 AM2/10/12
to pandaboard
hello all , i encode h264 by using gstreamer in ubuntu 11.10 , but
can't encode h264, is that miss some h264enc codec ?
also i have updated all the PPA , the kernel is 3.1



1.root@avast-desktop:/home/avast/Desktop# gst-launch -v v4l2src
device=/dev/video3 num-buffers=2000 ! video/x-raw-
yuv,width=640,height=480 ! ffmpegcolorspace ! ducatih264enc !
h264parse ! matroskamux ! filesink location=capture.264
2.Setting pipeline to PAUSED ...
3./GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/
x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
interlaced=(boolean)false, framerate=(fraction)30/1
4.Pipeline is live and does not need PREROLL ...
5.Setting pipeline to PLAYING ...
6.New clock: GstSystemClock
7./GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
interlaced=(boolean)false, framerate=(fraction)30/1
8./GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
interlaced=(boolean)false, framerate=(fraction)30/1
9./GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)NV12, width=(int)640, height=(int)480,
framerate=(fraction)30/1, interlaced=(boolean)false
10./GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480,
interlaced=(boolean)false, framerate=(fraction)30/1
11./GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:sink:
caps = video/x-raw-yuv, format=(fourcc)NV12, width=(int)640,
height=(int)480, framerate=(fraction)30/1, interlaced=(boolean)false
12.0:00:01.888244589 1600 0x1bf9df8 ERROR ducati
gstducatividenc.c:250:gst_ducati_videnc_configure:<ducatih264enc0>
couldn't create codec
13.ERROR: from element /GstPipeline:pipeline0/
GstDucatiH264Enc:ducatih264enc0: Could not encode stream.
14.Additional debug info:
15.gstducatividenc.c(532): gst_ducati_videnc_handle_frame (): /
GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0
16.Execution ended after 325346849 ns.
17.Setting pipeline to PAUSED ...
18.Setting pipeline to READY ...
19./GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0.GstPad:sink:
caps = NULL
20.0:00:01.895935019 1600 0x1bf9df8 WARN basesrc
gstbasesrc.c:2582:gst_base_src_loop:<v4l2src0> error: Internal data
flow error.
21.0:00:01.897033651 1600 0x1bf9df8 WARN basesrc
gstbasesrc.c:2582:gst_base_src_loop:<v4l2src0> error: streaming task
paused, reason error (-5)
22./GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps =
NULL
23./GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps =
NULL
24./GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
NULL
25./GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps
= NULL
26./GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = NULL
27.Setting pipeline to NULL ...
28.Freeing pipeline ...
29.root@avast-desktop:/home/avast/Desktop#
30.
31.
32.
33.
34.root@avast-desktop:/home/avast/Desktop# gst-launch -e uridecodebin
uri=file:///home/avast/Desktop/Baby.avi ! queue ! ducatih264enc !
h264parse ! qtmux ! filesink location=a.mov
35.Setting pipeline to PAUSED ...
36.Pipeline is PREROLLING ...
37.0:00:00.614257861 1616 0x2aeaa8 ERROR ducati
gstducatividenc.c:250:gst_ducati_videnc_configure:<ducatih264enc0>
couldn't create codec
38.ERROR: from element /GstPipeline:pipeline0/
GstDucatiH264Enc:ducatih264enc0: Could not encode stream.
39.Additional debug info:
40.gstducatividenc.c(532): gst_ducati_videnc_handle_frame (): /
GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0
41.ERROR: pipeline doesn't want to preroll.
42.Setting pipeline to NULL ...
43.0:00:00.624542285 1616 0x2dc1a0 ERROR ducati
gstducatividdec.c:820:gst_ducati_viddec_chain:<ducatih264dec0>
alloc_buffer failed wrong-state
44.Freeing pipeline ...
45.root@avast-desktop:/home/avast/Desktop#
Reply all
Reply to author
Forward
0 new messages