[
http://opencast.jira.com/browse/MH-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24268#comment-24268
]
Christopher Brooks commented on MH-6461:
----------------------------------------
The #gstreamer will be much faster, but try using gst-inspect to see what
elements you have installed.
Typing just gst-inspect will list all installed elements, so gst-inspect | grep
lame should list all that match lame.
For me this results in:
cab938@bobble:~$ gst-inspect | grep lame
lame: lame: L.A.M.E. mp3 encoder
lame: lamemp3enc: L.A.M.E. mp3 encoder
twolame: twolame: TwoLAME mp2 encoder
then to see the details of the element you can use gst-inspect element name.
E.g.
cab938@bobble:~$ gst-inspect lamemp3enc
Factory Details:
Long name: L.A.M.E. mp3 encoder
Class: Codec/Encoder/Audio
Description: High-quality free MP3 encoder
Author(s): Sebastian Dröge <[email protected]>
Rank: primary (256)
Plugin Details:
Name: lame
Description: Encode MP3s with LAME
Filename: /usr/lib/gstreamer-0.10/libgstlame.so
Version: 0.10.14
License: LGPL
.....
> Call SOX from within gstreamer
> ------------------------------
>
> Key: MH-6461
> URL: http://opencast.jira.com/browse/MH-6461
> Project: Matterhorn Project
> Issue Type: Sub-Task
> Components: Architecture & Services
> Affects Versions: 1.2
> Reporter: Christopher Brooks
> Assignee: Claud Wang
> Fix For: 1.2
>
>
> Before turning this into a workflow operation we should see if we can
> gstreamerize SOX.
> You had a bit of an introduction to gstreamer as well as a link to the
> gstreamer docs we wrote up, but please ask questions you might have on our
> list or irc or on #gstreamer on irc (they are good).
> SOX can read and write from stdin/std/out using the - as a command line
> parameter.
> Gstreamer can to, but it uses the fdsink and fdsrc.
> So we should be able to do something like:
> sox infile.xxx - norm [level] | gst-launch -v fdsrc ! audioconvert ! lame
> bitrate=192 ! filesink location=test.mp3
> This is new to me, so please keep this ticket updated with your progress!
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________