Image 01
profile-image

foxmatt

Matt Milford Belfast, United Kingdom
Quick and Dirty Transcoder

Amarok 1.x Scripts by deanpovey 11 comments

Just hacked the main script file:

Added the oggmux parameter, you could possibly add the parameter to the options in the file in you home folder by appending "! oggmux" to it.

For the default vorbis options, not read from the file, I changed the line:

error=`gst-launch filesrc location="$file" ! decodebin ! audioconvert ! audioresample ! $encoder ! filesink location="$outfile" 2>&1`

to this:

if [ $format = ogg ];
then
error=`gst-launch filesrc location="$file" ! decodebin ! audioconvert ! audioresample ! vorbisenc ! oggmux ! filesink location="$outfile" 2>&1`
else
error=`gst-launch filesrc location="$file" ! decodebin ! audioconvert ! audioresample ! $encoder ! filesink location="$outfile" 2>&1`
fi - Feb 04 2008
Quick and Dirty Transcoder

Amarok 1.x Scripts by deanpovey 11 comments

I couldn't get the script to transcode to vorbis and put it in the ogg wrapper.

I fixed this by running a slightly modified gstlaunch command if ogg is selected as the format it adds the ogg wrapper parameter.

Anyone else have this problem, or have I made an elaborate workaround to a non existent problem? - Jan 31 2008