Can't find encoder when trying to transcode from mov to mpeg.

song eundoo sedman.ddu at gmail.com
Fri Jun 28 08:24:11 PDT 2013


Hi guys

I'm testing Rygel with Gstreamer Media engine and found out transcoding
from MOV to Mpeg doesn't work than expected.
It seems to me that encodebin can't find appropriate encoder when
gstencodebin tries to create stream group.
So I installed gst-plugin-bad that I believe it would has mpeg2enc needed
for this case.
But it doesn't work as well and can't find libgstmpeg2enc.so.


Where or How can I get encoder plugin for this case???
Please help me.

-log-
0:01:16.781068852 22746       0xf696f0 DEBUG              encodebin
gstencodebin.c:1090:_create_stream_group: Creating group. format
audio/mpeg, mpegversion=(int)1, layer=(int)2, for caps (NULL)
0:01:16.781079364 22746       0xf696f0 DEBUG              encodebin
gstencodebin.c:1091:_create_stream_group: avoid_reencoding:0
0:01:16.781084405 22746       0xf696f0 DEBUG              encodebin
gstencodebin.c:928:_get_encoder: Getting list of encoders for format
audio/mpeg, mpegversion=(int)1, layer=(int)2
0:01:16.781099464 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:823:gst_element_factory_list_filter: finding factories
0:01:16.781105151 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying adpcmenc
0:01:16.781112972 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'layout'
0:01:16.781118569 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'string'
0:01:16.781125640 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name
'block_align'
0:01:16.781130430 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781138174 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'
0:01:16.781142937 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781148596 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'
0:01:16.781153303 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781159081 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying alawenc
0:01:16.781165959 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'
0:01:16.781170568 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781182921 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'
0:01:16.781187880 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781193594 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying flacenc
0:01:16.781200759 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying jpegenc
0:01:16.781210637 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'width'
0:01:16.781215544 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781221048 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'height'
0:01:16.781225573 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.781230796 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'
0:01:16.781235798 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'
0:01:16.781252611 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name
'sof-marker'
0:01:16.781257960 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796365651 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying mulawenc
0:01:16.796388860 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'
0:01:16.796396048 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796406362 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'
0:01:16.796411897 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796421412 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying pngenc
0:01:16.796429562 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'width'
0:01:16.796434919 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796441197 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'height'
0:01:16.796446303 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796452234 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'
0:01:16.796457696 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'
0:01:16.796470880 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying pnmenc
0:01:16.796487587 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying theoraenc
0:01:16.796496011 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'
0:01:16.796501355 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'
0:01:16.796509221 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'width'
0:01:16.796514566 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796520855 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'height'
0:01:16.796526030 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796532491 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying vorbisenc
0:01:16.796540058 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'
0:01:16.796545070 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796550906 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'
0:01:16.796555902 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796562220 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying y4menc
0:01:16.796569821 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name
'y4mversion'
0:01:16.796574947 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
0:01:16.796581852 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY
gstelementfactory.c:834:gst_element_factory_list_filter: Trying sirenenc
0:01:16.796589159 22746       0xf696f0 DEBUG              structure
gststructure.c:2126:gst_structure_parse_field: trying field name
'dct-length'
0:01:16.796594203 22746       0xf696f0 DEBUG              structure
gststructure.c:2177:gst_structure_parse_value: trying type name 'int'
*0:01:16.796610391 22746       0xf696f0 DEBUG              encodebin
gstencodebin.c:942:_get_encoder: Couldn't find any compatible encoders*
*0:01:16.796618712 22746       0xf696f0 ERROR              encodebin
gstencodebin.c:1456:_create_stream_group:<encodebin> Couldn't create
encoder for format audio/mpeg, mpegversion=(int)1, layer=(int)2*
0:01:16.796638720 22746       0xf696f0 DEBUG        GST_PERFORMANCE
gstcaps.c:162:_gst_caps_copy:audio/mpeg, mpegversion=(int)1, layer=(int)2
doing copy 0xfd0c00 -> 0x16ba140
0:01:16.796660530 22746       0xf696f0 DEBUG        GST_PERFORMANCE
gstcaps.c:162:_gst_caps_copy:audio/mpeg, mpegversion=(int)1, layer=(int)2
doing copy 0x16ba140 -> 0x16ba190
0:01:16.796774591 22746       0xf696f0 DEBUG        GST_PERFORMANCE
gstcaps.c:162:_gst_caps_copy:audio/mpeg, mpegversion=(int)1, layer=(int)2
doing copy 0xfd0c00 -> 0x16ba1e0
0:01:16.796794327 22746       0xf696f0 DEBUG            GST_MESSAGE
gstelement.c:1700:gst_element_post_message_default:<encodebin> not posting
message 0x1910130: no bus
*0:01:16.796807144 22746       0xf696f0 WARN               encodebin
gstencodebin.c:1461:_create_stream_group:<encodebin> error: Couldn't create
encoder for format audio/mpeg, mpegversion=(int)1, layer=(int)2*


Thanks
Song.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130629/4b3b13ae/attachment-0001.html>


More information about the gstreamer-devel mailing list