Advertisement
tuxmartin

Untitled

Jul 31st, 2015
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 KB | None | 0 0
  1. https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad1.0/+bug/1299376/comments/6
  2.  
  3. $ gst-launch-1.0 -v -e v4l2src device=/dev/video0 ! capsfilter name=mycapsfilter caps=video/x-raw,width=1280,height=720 ! x264enc tune=zerolatency ! queue ! mp4mux name=m ! filesink location=/tmp/file.mp4 alsasrc device=hw:2,0 ! audioconvert ! audioresample ! avenc_aac ! queue ! m.
  4. Setting pipeline to PAUSED ...
  5. Pipeline is live and does not need PREROLL ...
  6. Setting pipeline to PLAYING ...
  7. New clock: GstAudioSrcClock
  8. /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 200000
  9. /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 10000
  10. /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)1"
  11. /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)F32LE\,\ channels\=\(int\)1"
  12. /GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:src: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)F32LE\,\ channels\=\(int\)1"
  13. /GstPipeline:pipeline0/avenc_aac:avenc_aac0.GstPad:sink: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)F32LE\,\ channels\=\(int\)1"
  14. /GstPipeline:pipeline0/GstAudioResample:audioresample0.GstPad:sink: caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ format\=\(string\)F32LE\,\ channels\=\(int\)1"
  15. /GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)1"
  16. ERROR: from element /GstPipeline:pipeline0/avenc_aac:avenc_aac0: Codec is experimental, but settings don't allow encoders to produce output of experimental quality
  17. Additional debug info:
  18. gstavaudenc.c(335): gst_ffmpegaudenc_set_format (): /GstPipeline:pipeline0/avenc_aac:avenc_aac0:
  19. This codec may not create output that is conformant to the specs or of good quality. If you must use it anyway, set the compliance property to experimental
  20. EOS on shutdown enabled -- waiting for EOS after Error
  21. Waiting for EOS...
  22. ERROR: from element /GstPipeline:pipeline0/avenc_aac:avenc_aac0: GStreamer error: negotiation problem.
  23. Additional debug info:
  24. gstaudioencoder.c(1225): gst_audio_encoder_chain (): /GstPipeline:pipeline0/avenc_aac:avenc_aac0:
  25. encoder not initialized
  26. ERROR: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Internal data flow error.
  27. Additional debug info:
  28. gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
  29. streaming task paused, reason not-negotiated (-4)
  30. /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1"
  31. /GstPipeline:pipeline0/GstCapsFilter:mycapsfilter.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1"
  32. /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1"
  33. /GstPipeline:pipeline0/GstCapsFilter:mycapsfilter.GstPad:sink: caps = "video/x-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ framerate\=\(fraction\)30/1"
  34. Redistribute latency...
  35. /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = "video/x-h264\,\ codec_data\=\(buffer\)0164001fffe100186764001facb200a00b760220000003002000000791e3064901000568ebccb22c\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)3.1\,\ profile\=\(string\)high\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
  36. /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = "video/x-h264\,\ codec_data\=\(buffer\)0164001fffe100186764001facb200a00b760220000003002000000791e3064901000568ebccb22c\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)3.1\,\ profile\=\(string\)high\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
  37. /GstPipeline:pipeline0/GstMP4Mux:m.GstPad:video_0: caps = "video/x-h264\,\ codec_data\=\(buffer\)0164001fffe100186764001facb200a00b760220000003002000000791e3064901000568ebccb22c\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)3.1\,\ profile\=\(string\)high\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
  38. /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "video/x-h264\,\ codec_data\=\(buffer\)0164001fffe100186764001facb200a00b760220000003002000000791e3064901000568ebccb22c\,\ stream-format\=\(string\)avc\,\ alignment\=\(string\)au\,\ level\=\(string\)3.1\,\ profile\=\(string\)high\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ framerate\=\(fraction\)30/1"
  39. /GstPipeline:pipeline0/GstMP4Mux:m.GstPad:src: caps = "video/quicktime\,\ variant\=\(string\)iso"
  40. /GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = "video/quicktime\,\ variant\=\(string\)iso"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement