ezstream encoding error "Unterminated quoted string"
When using ezstream 1.0.1 (1.0.2-1 has libshout bug) I encountered errors when encoding with lame.
I want to re-encode by decoding with madplay and encoding with lame. In the 0.5.6 version this worked well.
Using the new xml syntax the program returns for (I guess every file from the playlist)
"sh: 1: Syntax error: Unterminated quoted string
ezstream[2102]: shout_set_metadata: No error"
When documenting the encoder out of the <streams> section the madplay decoder works fine.
It turns out that in case of an mp3 source I actually do not need lame to re-encode. Madplay apparently streams to the icecast server in 128kbit and thus downsizing the high input bitrate. Which is the purpose of this re-encoding.
The related xml sections read:
<stream>
..
..etcetera
and:
the Intake is a playlist with mp3's.
<decoder>
<!-- Decoder name -->
<
<!-- Program and options -->
<
<!-- File extensions to use this decoder for -->
<
</decoder>
<encoder>
<!-- Encoder name -->
<
<!-- Output stream format -->
<
<!-- Program and options -->
<program>lame --preset cbr 128 -r -s 44.1 --bitwidth 16 - -</program>
The program options are those of the provided sample 'full' xml file and afaik the same as for the 0.5.6 version.
I am not stuck but this isnt very elegant.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Freek Boersma for more information if necessary.