iTunes isn't the best program for manipulating files. Try ffmpeg
(http://ffmpeg.org/download.html). There are other tools, but I wouldn't
use iTunes for anything other than personal use. Definitely not for
encoding files for a radio station, where reliability and quality make
or break your stream.
On 01/23/12 18:45, Brandon Olivares wrote:
> Hi,
>
> They are tracks from the iTunes store, if that helps at all.
>
> And like I said, strangely, it doesn't fail until *after* the file was played.
>
> But perhaps I will encode them into a specific bitrate, with iTunes, and
> maybe that will help.
>
> On Jan 23, 2012, at 1:43 PM, Audiodef Online wrote:
>
>> If your playlist consistently fails on the same files, but not
>> otherwise, the files are definitely the culprit. Reencode or eliminate
>> them.
>>
>> I thought LS would simply skip over "bad" files, though. Can anyone
>> confirm if that is supposed to happen?
>>
>> On 01/23/12 18:22, Brandon Olivares wrote:
>>> Hi,
>>>
>>> I will do this. It is only three specific files in the playlist that seem
>>> to fail.
>>> On Jan 23, 2012, at 1:18 PM, Audiodef Online wrote:
>>>
>>>> Try this. Keep a log of the files that fail. Create a playlist
>>>> consisting only of these files. If they all fail, then the problem is
>>>> indeed that they are improperly encoded. If LS continues to randomly
>>>> fail, then encoding isn't the problem.
>>>>
>>>> On 01/23/12 18:12, Brandon Olivares wrote:
>>>>> Sorry to keep updating this, but I just found something else.
>>>>>
>>>>> I found several instances in my log file where I get something like this
>>>>> message:
>>>>>
>>>>> 2012/01/23 11:32:05 [decoder:4] Decoding
>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/01_A_Day_Without_Rain.m4a"
>>>>> ended: Faad.Failed.
>>>>>
>>>>> The weird part is that when this happens, that song has already played,
>>>>> and it is a track or two after it.
>>>>>
>>>>> Still no idea what is causing this. Are they somehow encoded improperly?
>>>>> The tracks that are causing this error come from iTunes, and are m4a
>>>>> files. However, sometimes it seems to pass over them without any problem.
>>>>>
>>>>> On Jan 22, 2012, at 12:47 PM, Audiodef Online wrote:
>>>>>
>>>>>> Well, that might not be the problem, but spaces in file names is still
>>>>>> an issue for a lot of programs. I think it's worth trying, if only to
>>>>>> help narrow it down.
>>>>>>
>>>>>> On 01/22/12 16:55, Brandon Olivares wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I will try, but do you really think that is the problem? All of the
>>>>>>> files have spaces in them, and it only arbitrarily fails. In this case,
>>>>>>> it failed on the 7th track.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Brandon
>>>>>>> On Jan 22, 2012, at 11:52 AM, Audiodef Online wrote:
>>>>>>>
>>>>>>>> Try taking the spaces out of the file names.
>>>>>>>>
>>>>>>>> On 01/22/12 16:44, Brandon Olivares wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I spoke too soon. It failed, but only after about 40 minutes. I'm not
>>>>>>>>> sure what caused it, as there were not really any errors.
>>>>>>>>>
>>>>>>>>> here are the last several lines of the log.
>>>>>>>>>
>>>>>>>>> 2012/01/22 11:32:40 [spiritual_1(dot)pls:4] Remaining: 0.0s, queued:
>>>>>>>>> 30.0s, taking: 30.0s
>>>>>>>>> 2012/01/22 11:32:40 [spiritual_1(dot)pls:3] Prepared
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Enya/A
>>>>>>>>> Day Without Rain/10 One By One.m4a" (RID 3).
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "META" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "WAV" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.wav:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [decoder.wav:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MIDI" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "FLAC" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.flac:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [decoder.flac:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "AAC" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.aac:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [decoder.aac:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MP4" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.mp4:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [decoder.mp4:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "OGG" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.ogg:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [decoder.ogg:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MP3" for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"...
>>>>>>>>> 2012/01/22 11:36:21 [decoder.mp3:4] Libmad recognizes
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3" as MP3 (layer III, 192kbps, 44100Hz, 2 channels).
>>>>>>>>> 2012/01/22 11:36:21 [decoder:3] Method "MP3" accepted
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3".
>>>>>>>>> 2012/01/22 11:36:21 [metadata.flac:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [metadata.flac:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [metadata.mp4:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [metadata.mp4:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [metadata.ogg:4] Invalid MIME type for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3": audio/mpeg!
>>>>>>>>> 2012/01/22 11:36:21 [metadata.ogg:4] Invalid file extension for
>>>>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>>>>> Headlands.mp3"!
>>>>>>>>> 2012/01/22 11:36:21 [spiritual_1(dot)pls:4] Remaining: 10.0s, queued:
>>>>>>>>> 0.0s, adding: 30.0s (RID 5)
>>>>>>>>>
>>>>>>>>> On Jan 21, 2012, at 3:54 PM, Audiodef Online wrote:
>>>>>>>>>
>>>>>>>>>> The output might help people figure out what's going on. You should
>>>>>>>>>> be
>>>>>>>>>> able to open the log file with a text editor so you can copy and
>>>>>>>>>> paste
>>>>>>>>>> the relevant section here. Also, if you haven't done so already, set
>>>>>>>>>> the
>>>>>>>>>> log level to 4, which provides more information than the default. You
>>>>>>>>>> can do this by putting
>>>>>>>>>>
>>>>>>>>>> set("log.level",4)
>>>>>>>>>>
>>>>>>>>>> near the beginning of your script and restarting the script. I also
>>>>>>>>>> prefer to set my own log file path so I always know where to find it.
>>>>>>>>>> You can put this in your script with
>>>>>>>>>>
>>>>>>>>>> set("log.file.path","/dir/anotherdir/maybeanotherone/liquidradio.log")
>>>>>>>>>>
>>>>>>>>>> I usually put it in my user's home dir for convenience.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 01/21/12 08:37, Brandon Olivares wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I'm having another problem. I finally got it installed, but now it
>>>>>>>>>>> randomly fails.
>>>>>>>>>>>
>>>>>>>>>>> I am streaming it through Icecast. So I pointed it to a directory
>>>>>>>>>>> to randomly choose files, which is working. But sometimes at the
>>>>>>>>>>> end of songs, it completely fails and outputs a bunch of
>>>>>>>>>>> information about different libraries. I can't paste the error here
>>>>>>>>>>> as it spans the more than the entire page of the terminal window.
>>>>>>>>>>> If your playlist consistently fails on the same files, but not
>>>>>>>>>>> otherwise, the files are definitely the culprit. Reencode or
>>>>>>>>>>> eliminate
>>>>>>>>>>> them!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Here is my script I'm using to test:
>>>>>>>>>>>
>>>>>>>>>>> #!/usr/local/bin/liquidsoap
>>>>>>>>>>>
>>>>>>>>>>> s =
>>>>>>>>>>> mksafe(playlist('/home/azavia/radio.christs-light-ministries.org/music/Spiritual'))
>>>>>>>>>>> output.icecast(mount = 'radio', password = '***', %mp3(bitrate =
>>>>>>>>>>> 96), s)
>>>>>>>>>>>
>>>>>>>>>>> I am so close; I just want to get this started and working.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Brandon
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> Try before you buy = See our experts in action!
>>>>>>>>>>> The most comprehensive online learning library for Microsoft
>>>>>>>>>>> developers
>>>>>>>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
>>>>>>>>>>> MVC3,
>>>>>>>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>>>>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Savonet-users mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> My music: http://audiodef.com
>>>>>>>>>> Synthetronica: http://synthetronica.com
>>>>>>>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> Try before you buy = See our experts in action!
>>>>>>>>>> The most comprehensive online learning library for Microsoft
>>>>>>>>>> developers
>>>>>>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
>>>>>>>>>> MVC3,
>>>>>>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>>>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Savonet-users mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>>> --
>>>>>>>> My music: http://audiodef.com
>>>>>>>> Synthetronica: http://synthetronica.com
>>>>>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>>>>>
>>>>>> --
>>>>>> My music: http://audiodef.com
>>>>>> Synthetronica: http://synthetronica.com
>>>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Try before you buy = See our experts in action!
>>>>> The most comprehensive online learning library for Microsoft developers
>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>> _______________________________________________
>>>>> Savonet-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>
>>>> --
>>>> My music: http://audiodef.com
>>>> Synthetronica: http://synthetronica.com
>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Try before you buy = See our experts in action!
>>>> The most comprehensive online learning library for Microsoft developers
>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>> --
>> My music: http://audiodef.com
>> Synthetronica: http://synthetronica.com
>> Male survivors of domestic violence: http://abusedmen.org
>>
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
--
My music: http://audiodef.com
Synthetronica: http://synthetronica.com
Male survivors of domestic violence: http://abusedmen.org
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users