<div dir="ltr"><div>Hi guys</div><div><br></div><div>I'm testing Rygel with Gstreamer Media engine and found out transcoding from MOV to Mpeg doesn't work than expected.</div><div>It seems to me that encodebin can't find appropriate encoder when gstencodebin tries to create stream group.</div>
<div>So I installed gst-plugin-bad that I believe it would has mpeg2enc needed for this case.</div><div>But it doesn't work as well and can't find libgstmpeg2enc.so.</div><div><br></div><div><br></div><div>Where or How can I get encoder plugin for this case???</div>
<div>Please help me. </div><div><br></div><div>-log-</div><div>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)</div>
<div>0:01:16.781079364 22746       0xf696f0 DEBUG              encodebin gstencodebin.c:1091:_create_stream_group: avoid_reencoding:0</div><div>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</div>
<div>0:01:16.781099464 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:823:gst_element_factory_list_filter: finding factories</div><div>0:01:16.781105151 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying adpcmenc</div>
<div>0:01:16.781112972 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'layout'</div><div>0:01:16.781118569 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'string'</div>
<div>0:01:16.781125640 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'block_align'</div><div>0:01:16.781130430 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.781138174 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'</div><div>0:01:16.781142937 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.781148596 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'</div><div>0:01:16.781153303 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.781159081 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying alawenc</div><div>0:01:16.781165959 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'</div>
<div>0:01:16.781170568 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.781182921 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'</div>
<div>0:01:16.781187880 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.781193594 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying flacenc</div>
<div>0:01:16.781200759 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying jpegenc</div><div>0:01:16.781210637 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'width'</div>
<div>0:01:16.781215544 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.781221048 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'height'</div>
<div>0:01:16.781225573 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.781230796 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'</div>
<div>0:01:16.781235798 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'</div><div>0:01:16.781252611 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'sof-marker'</div>
<div>0:01:16.781257960 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796365651 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying mulawenc</div>
<div>0:01:16.796388860 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'</div><div>0:01:16.796396048 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.796406362 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'</div><div>0:01:16.796411897 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.796421412 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying pngenc</div><div>0:01:16.796429562 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'width'</div>
<div>0:01:16.796434919 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796441197 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'height'</div>
<div>0:01:16.796446303 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796452234 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'</div>
<div>0:01:16.796457696 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'</div><div>0:01:16.796470880 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying pnmenc</div>
<div>0:01:16.796487587 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying theoraenc</div><div>0:01:16.796496011 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'framerate'</div>
<div>0:01:16.796501355 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'fraction'</div><div>0:01:16.796509221 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'width'</div>
<div>0:01:16.796514566 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796520855 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'height'</div>
<div>0:01:16.796526030 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796532491 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying vorbisenc</div>
<div>0:01:16.796540058 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'rate'</div><div>0:01:16.796545070 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.796550906 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'channels'</div><div>0:01:16.796555902 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div>0:01:16.796562220 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying y4menc</div><div>0:01:16.796569821 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'y4mversion'</div>
<div>0:01:16.796574947 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div><div>0:01:16.796581852 22746       0xf696f0 DEBUG    GST_ELEMENT_FACTORY gstelementfactory.c:834:gst_element_factory_list_filter: Trying sirenenc</div>
<div>0:01:16.796589159 22746       0xf696f0 DEBUG              structure gststructure.c:2126:gst_structure_parse_field: trying field name 'dct-length'</div><div>0:01:16.796594203 22746       0xf696f0 DEBUG              structure gststructure.c:2177:gst_structure_parse_value: trying type name 'int'</div>
<div><b>0:01:16.796610391 22746       0xf696f0 DEBUG              encodebin gstencodebin.c:942:_get_encoder: Couldn't find any compatible encoders</b></div><div><b>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</b></div>
<div>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</div><div>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</div>
<div>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</div><div>0:01:16.796794327 22746       0xf696f0 DEBUG            GST_MESSAGE gstelement.c:1700:gst_element_post_message_default:<encodebin> not posting message 0x1910130: no bus</div>
<div><b>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</b></div>
<div><br></div><div><br></div><div>Thanks</div><div>Song.</div></div>