Useful stuff

From Buzztard

Jump to: navigation, search

Contents

[edit] gstreamer

[edit] Converting function using gstreamer pipelines

Attention: Replace the -x version for gst-launch with your actual gst-launch version. For example gst-launch-0.10.

Attention: You should have installed the required plugins for gstreamer.

[edit] Convert a ogg file to a mp3 file

gst-launch-x filesrc location="your input file.ogg" ! oggdemux ! vorbisdec ! audioconvert ! lame ! id3mux ! filesink location="your output file.mp3"

[edit] Convert all oggs in one directory to mp3

 for file in *.ogg; do gst-launch-x filesrc location="$file" ! oggdemux ! vorbisdec ! audioconvert ! lame ! id3mux ! filesink location="${file/.ogg/.mp3}"; done
Personal tools
collaboration

SourceForge Logo

GStreamer Logo

Linux Sound Logo

MediaWiki

Valgrind

GNU Library Public Licence

GNU Free Documentation License 1.2