arista icon indicating copy to clipboard operation
arista copied to clipboard

Arista Doesn't Work With openSUSE

Open arnieswap opened this issue 13 years ago • 17 comments

When I try to transcode movies for Android Tablets using Galaxy Tab or Android Droid X preset, Arista throws error 'can't add item due to missing elements"

arnieswap avatar Mar 21 '12 00:03 arnieswap

Please make sure you've installed the relevant GStreamer plugins, e.g. gstreamer-plugins-bad/ugly and gstreamer-ffmpeg.

Take care, Daniel

On Tue, Mar 20, 2012 at 20:29, arnieswap [email protected] wrote:

When I try to transcode movies for Android Tablets using Galaxy Tab or Android Droid X preset, Arista throws error 'can't add item due to missing elements"


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Mar 22 '12 12:03 danielgtaylor

Yes all those packages are installed. I installed codecs from [http://en.opensuse.org/Restricted_formats]

Output

muktware@linux-fdhk:~> arista-gtk ** Message: pygobject_register_sinkfunc is deprecated (GstObject) arista.presets [433]: INFO Attempting to install elements: x264enc ** Message: PackageKit: xid = 0 ** Message: PackageKit: Codec nice name: GStreamer element x264enc ** Message: PackageKit: structure: gstreamer0.10(element-x264enc)()(64bit) ** Message: PackageKit: Did not install codec: Message did not receive a reply (timeout by message bus) arista.presets [442]: ERROR Unable to install required elements! arista.presets [433]: INFO Attempting to install elements: x264enc ** Message: PackageKit: xid = 0 ** Message: PackageKit: Codec nice name: GStreamer element x264enc ** Message: PackageKit: structure: gstreamer0.10(element-x264enc)()(64bit) ** Message: PackageKit: Did not install codec: Message did not receive a reply (timeout by message bus) arista.presets [442]: ERROR Unable to install required elements!

The error it throws is Cannot add conversion to queue because of missing elements!

arnieswap avatar Mar 23 '12 17:03 arnieswap

Does gst-inspect-0.10 x264enc show anything in the terminal? You need to have the x264enc element installed for most of Arista's presets to work properly. Perhaps that is missing from the system packages, or is renamed or something?

Take care, Daniel

On Fri, Mar 23, 2012 at 13:37, arnieswap <reply+i-3738507-095e44302a1ec677d [email protected]> wrote:

Yes all those packages are installed. I installed codecs from [ http://en.opensuse.org/Restricted_formats]

Output

muktware@linux-fdhk:~> arista-gtk ** Message: pygobject_register_sinkfunc is deprecated (GstObject) arista.presets [433]: INFO Attempting to install elements: x264enc ** Message: PackageKit: xid = 0 ** Message: PackageKit: Codec nice name: GStreamer element x264enc ** Message: PackageKit: structure: gstreamer0.10(element-x264enc)()(64bit) ** Message: PackageKit: Did not install codec: Message did not receive a reply (timeout by message bus) arista.presets [442]: ERROR Unable to install required elements! arista.presets [433]: INFO Attempting to install elements: x264enc ** Message: PackageKit: xid = 0 ** Message: PackageKit: Codec nice name: GStreamer element x264enc ** Message: PackageKit: structure: gstreamer0.10(element-x264enc)()(64bit) ** Message: PackageKit: Did not install codec: Message did not receive a reply (timeout by message bus) arista.presets [442]: ERROR Unable to install required elements!

The error it throws is Cannot add conversion to queue because of missing elements!


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134#issuecomment-4664158

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Mar 23 '12 19:03 danielgtaylor

gst-inspect-0.10 x264enc

Output No such element of plugin 'x264enc

Best wishes Swapnil

arnieswap avatar Mar 23 '12 20:03 arnieswap

I would file a bug with your distribution or ask what package you need to install to get the x264enc gstreamer plugin. Without it you can't do all that much with Arista.

Take care, Daniel

On Fri, Mar 23, 2012 at 16:31, arnieswap < [email protected]

wrote:

gst-inspect-0.10 x264enc

Output No such element of plugin 'x264enc

Best wishes Swapnil


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134#issuecomment-4667332

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Mar 25 '12 02:03 danielgtaylor

@danielgtaylor Thanks. That will help us a lot. I will keep an eye on the page.

arnieswap avatar Mar 26 '12 10:03 arnieswap

I tried to install some packages and now I get this error:

Conversion of The_Iron_Lady.mp4 to Generic Android Droid X failed! Reason: Unable to construct pipeline! no property "profile" in element "faac0"

arnieswap avatar Mar 27 '12 12:03 arnieswap

That is a GStreamer issue - you should file a bug with OpenSUSE's GStreamer package. It's possible it is out of date or has some non-standard patches applied. You may refer to this bug when you file one there so they know the context.

On Tue, Mar 27, 2012 at 08:07, arnieswap < [email protected]

wrote:

I tried to install some packages and now I get this error:

Conversion of The_Iron_Lady.mp4 to Generic Android Droid X failed! Reason: Unable to construct pipeline! no property "profile" in element "faac0"


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134#issuecomment-4714816

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Mar 27 '12 12:03 danielgtaylor

Thanks I already filed a bug with them. https://bugzilla.novell.com/show_bug.cgi?id=753234 Thanks. Swapnil

arnieswap avatar Mar 30 '12 15:03 arnieswap

gst-inspect faac indeed shows that there is no profile property in the faac element. But I neither see it in the code: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/faac/gstfaac.c

It looks like a problem in arista (or the profile), not in the openSUSE packages.

reddwarf69 avatar Apr 03 '12 13:04 reddwarf69

It is there, take a look at e.g. lines 85, 91, 108, 415, 441-451, 598-617, etc.

On Tue, Apr 3, 2012 at 06:34, RedDwarf69 < [email protected]

wrote:

gst-inspect faac indeed shows that there is no profile property in the faac element. But I neither see it in the code: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/faac/gstfaac.c

It looks like a problem in arista (or the profile), not in the openSUSE packages.


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134#issuecomment-4901251

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Apr 03 '12 13:04 danielgtaylor

OK, it's a property of the source pad, I didn't look there. But in such a case a gst-inspect shows the element provides it.

It's really difficult to me to see anything wrong in the packages. Can you confirm that you can use the "Droid X" preset with GStreamer 0.10.36 and gst-plugins-bad 0.10.23?

Since I don't speak Python it would be a bit difficult to me to debug this. If it works for you, can you give a "gst-launch" line equivalent to what arista does when using the Droid X preset?

reddwarf69 avatar Apr 03 '12 14:04 reddwarf69

OK, I actually looked in the correct place before. The problem is this commit: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/ext/faac/gstfaac.c?id=6702de4237f6e7c3166b2807150669557220c44f Arista doesn't work with the latest version of the faac element.

I don't really know GStreamer so well to say if this is a bug or not. But you should either stop depending on the faac element providing that property or open a bug report with GStreamer for breaking your app.

reddwarf69 avatar Apr 03 '12 15:04 reddwarf69

To finish it. 0.10.23 was the first version of gst-plugins-bad to include this change. And to make it work, instead of "faac bitrate= profile=LC", "faac bitrate= ! audio/mpeg, base-profile=lc" must be used.

reddwarf69 avatar Apr 03 '12 15:04 reddwarf69

Interesting. For now you can manually update your preset .json file with that new string and things should work for you.

In the future, I'll have to detect the version and act accordingly, which means probably overriding or transforming the presets... this will be kind of a pain.

On Tue, Apr 3, 2012 at 08:30, RedDwarf69 < [email protected]

wrote:

To finish it. 0.10.23 was the first version of gst-plugins-bad to include this change. And to make it work, instead of "faac bitrate= profile=LC", "faac bitrate= ! audio/mpeg, base-profile=lc" must be used.


Reply to this email directly or view it on GitHub: https://github.com/danielgtaylor/arista/issues/134#issuecomment-4904047

Daniel G. Taylor http://programmer-art.org/

danielgtaylor avatar Apr 04 '12 14:04 danielgtaylor

Thanks that solved the problem and now I am able to transcode videos. I will write about it to help other users as well. Thanks again.

arnieswap avatar Apr 04 '12 19:04 arnieswap

Actually i had to just remove profile key, since base-profile doesn't work either here on debian/sid + deb-multimedia.

kapouer avatar Jul 13 '13 20:07 kapouer