logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

h264+aac=mpeg4

Monday, April 15 2013, 07:43 PM
0
Hi. Problem following: it is necessary to take video and a sound from the usb-camera, and to transfer on udp. I have igep com module.
For a start I want to write turned out in the file.
Line of start:
gst-launch-0.10 -v v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! TIVidenc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE ! queue ! mux. alsasrc device=hw:1,0 ! TIAudenc1 codecName=aacheenc ! queue ! mux. mp4mux name=mux ! rtpmp4vpay ! filesink location=test.mp4
.
Here that turned out:
Setting pipeline to PAUSED ...
0:00:00.192597048  1661  0x1eb9050 WARN                    alsa conf.c:4571arse_args: alsalib error: Unknown parameter 1
0:00:00.192810671  1661  0x1eb9050 WARN                    alsa conf.c:4704:snd_config_expand: alsalib error: Parse arguments error: No such file or directory
0:00:00.192902224  1661  0x1eb9050 WARN                    alsa control.c:951:snd_ctl_open_noupdate: alsalib error: Invalid CTL hw:1,0
0:00:00.192963259  1661  0x1eb9050 WARN                    alsa gstalsamixer.c:69:gst_alsa_mixer_open: Cannot open mixer for sound device 'hw:1,0': No such file or directory
/GstPipelineipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 200000
/GstPipelineipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 10000
/GstPipelineipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)1
/GstPipelineipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
/GstPipelineipeline0/GstTIAudenc1:tiaudenc10.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)1
/GstPipelineipeline0/GstTIAudenc1:tiaudenc10.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)64000
/GstPipelineipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)64000
/GstPipelineipeline0/GstQueue:queue1.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)64000
0:00:00.450318009  1661  0x1ee4930 WARN                   qtmux gstqtmux.c:2719:gst_qt_mux_audio_sink_set_caps: No stream-format present in caps, assuming 'raw'
0:00:00.450501114  1661  0x1ee4930 WARN                   qtmux gstqtmux.c:2723:gst_qt_mux_audio_sink_set_caps: no (valid) codec_data for AAC audio
/GstPipelineipeline0/GstMP4Mux:mux.GstPad:audio_00: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)64000
/GstPipelineipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipelineipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipelineipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPipelineipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipelineipeline0/GstTIPrepEncBuf:tiprepencbuf0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPipelineipeline0/GstTIPrepEncBuf:tiprepencbuf0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPipelineipeline0/GstTIVidenc1:tividenc10.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)30/1, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1
/GstPipelineipeline0/GstTIVidenc1:tividenc10.GstPad:src: caps = video/x-h264, framerate=(fraction)30000/1001, width=(int)320, height=(int)240, codec_data=(buffer)01428014ffe10009674280148b68141f1001000668ce01a87720
/GstPipelineipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, framerate=(fraction)30000/1001, width=(int)320, height=(int)240, codec_data=(buffer)01428014ffe10009674280148b68141f1001000668ce01a87720
/GstPipelineipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, framerate=(fraction)30000/1001, width=(int)320, height=(int)240, codec_data=(buffer)01428014ffe10009674280148b68141f1001000668ce01a87720
0:00:00.623078019  1661  0x1f9e430 WARN                   qtmux gstqtmux.c:3093:gst_qt_mux_video_sink_set_caps: no stream-format field in h264 caps
0:00:00.623200090  1661  0x1f9e430 WARN                   qtmux gstqtmux.c:3251:gst_qt_mux_video_sink_set_caps: pad video_00 refused caps video/x-h264, framerate=(fraction)30000/1001, width=(int)320, height=(int)240, codec_data=(buffer)01428014ffe10009674280148b68141f1001000668ce01a87720

(gst-launch-0.10:1661): GStreamer-CRITICAL **: gst_mini_object_unref: assertion `GST_IS_MINI_OBJECT (mini_object)' failed
. What you will advise? I will be glad to any councils. Thanks!
Responses (1)
  • Accepted Answer

    Thursday, June 13 2013, 05:28 PM - #permalink
    0
    How do you connect USB camera to IGEP COM MODULE? Do you use OTG USB port or HOST USB port ? Which baseboard are you using ?
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat