[gst-devel] ffenc_mpeg4 not found
David Liontooth
liontooth at cogweb.net
Thu Nov 9 02:18:44 CET 2006
When I issue
gst-launch-0.10 avimux name=mux ! filesink location=$DIR/$FIL.avi
v4l2src device=/dev/video$DEV ! \
video/x-raw-yuv,width=640,height=480,framerate=\(fraction\)30000/1001 !
ffmpegcolorspace ! \
ffenc_mpeg4 ! queue ! mux. alsasrc device=hw:$DEV,0 !
audio/x-raw-int,channels=2,rate=32000,depth=16 ! \
audioconvert ! lame ! mux.
I get
WARNING: erroneous pipeline: link without sink element
/usr/local/bin/channel-gst: line 271: ffenc_mpeg4: command not found
/usr/local/bin/channel-gst: line 272: audioconvert: command not found
Yet gst-inspect ffenc_mpeg4 indicates it's in place, as does gst-inspect
audioconvert (below). If I give the command with oggmux and theoraenc
instead, it works fine.
This is on Debian sid with Marillat's gstreamer0.10-ffmpeg-full.
Dave
# just list gstreamer
ii gstreamer0.10-alsa
0.10.10-2 GStreamer plugin for ALSA
ii gstreamer0.10-ffmpeg-full
0.10.1-0.0 FFmpeg plugin for GStreamer
ii gstreamer0.10-fluendo-mp3
0.10.2.debian-1 Fluendo mp3 decoder GStreamer plugin
ii gstreamer0.10-lame
0.10.4-0.0 GStreamer lame plugins
ii gstreamer0.10-plugins-bad
0.10.3-3 various GStreamer plugins
ii gstreamer0.10-plugins-base
0.10.10-2 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-base-apps
0.10.10-2 GStreamer helper programs from the "base" se
ii gstreamer0.10-plugins-good
0.10.4-3 GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly
0.10.4-2sid2 GStreamer plugins from the "ugly" set
ii gstreamer0.10-tools
0.10.10-2 Tools for use with GStreamer
ii gstreamer0.10-x
0.10.10-2 GStreamer plugins for X11 and Pango
ii libgstreamer0.10-0
0.10.10-2 Core GStreamer libraries and elements
ii libgstreamer-plugins-base0.10-0
0.10.10-2 GStreamer libraries from the "base" set
$ gst-inspect ffenc_mpeg4
Factory Details:
Long name: FFMPEG MPEG-4 compatible video encoder
Class: Codec/Encoder/Video
Description: FFMPEG mpeg4 encoder
Author(s): Wim Taymans <wim.taymans at chello.be>, Ronald Bultje
<rbultje at ronald.bitfreak.net>
Rank: none (0)
Plugin Details:
Name: ffmpeg
Description: All FFMPEG codecs
Filename: /usr/lib/gstreamer-0.10/libgstffmpeg.so
Version: 0.10.1
License: LGPL
Source module: gst-ffmpeg
Binary package: FFMpeg
Origin URL: http://ffmpeg.sourceforge.net/
GObject
+----GstObject
+----GstElement
+----ffenc_mpeg4
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/mpeg
width: [ 16, 4096 ]
height: [ 16, 4096 ]
framerate: [ 0/1, 2147483647/1 ]
mpegversion: 4
systemstream: false
video/x-divx
width: [ 16, 4096 ]
height: [ 16, 4096 ]
framerate: [ 0/1, 2147483647/1 ]
divxversion: 5
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw-rgb
video/x-raw-yuv
Element Flags:
no flags set
Element Implementation:
No loopfunc(), must be chain-based or not configured yet
Has change_state() function: 0x2ac2be63cb70
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Pads:
SRC: 'src'
Implementation:
Pad Template: 'src'
SINK: 'sink'
Implementation:
Has chainfunc(): 0x2ac2be63c180
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "ffenc_mpeg40"
bitrate : Target Video Bitrate
flags: readable, writable
Unsigned Long. Range: 0 - 18446744073709551615
Default: 300000 Current: 300000
gop-size : Number of frames within one GOP
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 15
Current: 15
me-method : Motion Estimation Method
flags: readable, writable
Enum "GstFFMpegEncMeMethod" Current: 0, "(null)"
1) zero - 0
2) full - 1
3) logarithmic - 2
4) phods - 3
5) epzs - 4
6) x1 - 5
buffer-size : Size of the video buffers
flags: readable, writable
Unsigned Long. Range: 0 - 18446744073709551615
Default: 0 Current: 524288
rtp-payload-size : Target GOB length
flags: readable, writable
Unsigned Long. Range: 0 - 18446744073709551615
Default: 0 Current: 0
# gst-inspect audioconvert
Factory Details:
Long name: Audio converter
Class: Filter/Converter/Audio
Description: Convert audio to different formats
Author(s): Benjamin Otte <in7y118 at public.uni-hamburg.de>
Rank: primary (256)
Plugin Details:
Name: audioconvert
Description: Convert audio to different formats
Filename: /usr/lib/gstreamer-0.10/libgstaudioconvert.so
Version: 0.10.10
License: LGPL
Source module: gst-plugins-base
Binary package: GStreamer Plugins (Debian)
Origin URL: http://packages.qa.debian.org/gst-plugins-base0.10
GObject
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstAudioConvert
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
audio/x-raw-float
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: 1234
width: 32
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 32
depth: [ 1, 32 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 24
depth: [ 1, 24 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 16
depth: [ 1, 16 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 8
depth: [ 1, 8 ]
signed: { true, false }
SINK template: 'sink'
Availability: Always
Capabilities:
audio/x-raw-float
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: 1234
width: 32
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 32
depth: [ 1, 32 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 24
depth: [ 1, 24 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 16
depth: [ 1, 16 ]
signed: { true, false }
audio/x-raw-int
rate: [ 1, 2147483647 ]
channels: [ 1, 8 ]
endianness: { 1234, 4321 }
width: 8
depth: [ 1, 8 ]
signed: { true, false }
Element Flags:
no flags set
Element Implementation:
No loopfunc(), must be chain-based or not configured yet
Has change_state() function: gst_base_transform_change_state
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Pads:
SRC: 'src'
Implementation:
Has getrangefunc(): gst_base_transform_getrange
Has custom eventfunc(): gst_base_transform_src_event
Pad Template: 'src'
SINK: 'sink'
Implementation:
Has chainfunc(): gst_base_transform_chain
Has custom eventfunc(): gst_base_transform_sink_event
Has bufferallocfunc(): gst_base_transform_buffer_alloc
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "audioconvert0"
qos : handle QoS messages
flags: readable, writable
Boolean. Default: false Current: false
More information about the gstreamer-devel
mailing list