Ben Middleton
2004-Aug-06 14:57 UTC
[icecast-dev] Metadata not updating with oss input module in ices2
Hello. I am running an up-to-date cvs snapshot (10 Aug 03) of ices2, and I cannot get the Metadata update from file to work (indeed this has always been true on all previous versions of ices2 that I have used). If I send the ices process a SIGUSR1, then the error log shows that the update is taking place, but immediately followed by a read error from the OSS input module, causing ices to die. I am running ices on a Solaris 8 for x86 machine with OSS sound driver. Any ideas on how to get this metadata update to work? I am guessing that the usr1 signal handler is interrupting the oss input stream somehow. The error log is shown below: [2003-08-10 10:41:32] DBUG encode/encode_clear Clearing encoder engine [2003-08-10 10:41:32] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channel(s), 44100 Hz, quality 5.000000 [2003-08-10 10:41:50] INFO signals/signal_usr1_handler Metadata update requested [2003-08-10 10:41:50] EROR input-oss/oss_read Error reading from audio device: I/O error [2003-08-10 10:41:50] INFO metadata/metadata_thread_signal tag 1 is TITLE=Breakfast got lost [2003-08-10 10:41:50] INFO metadata/metadata_thread_signal tag 2 is ARTIST=Ron Kin [2003-08-10 10:41:50] INFO metadata/metadata_thread_signal tag 3 is ALBUM=Duke's Greatest Hits [2003-08-10 10:41:50] INFO metadata/metadata_thread_signal Updating metadata [2003-08-10 10:41:50] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down [2003-08-10 10:41:50] DBUG encode/encode_clear Clearing encoder engine [2003-08-10 10:41:50] DBUG input/input_loop An instance died, removing it [2003-08-10 10:41:50] DBUG input/input_flush_queue Input queue flush requested [2003-08-10 10:41:50] DBUG input/input_loop All instances removed, shutting down control thread. [2003-08-10 10:41:50] INFO ices-core/main Shutdown complete <p>Thanks. Ben --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Karl Heyes
2004-Aug-06 14:57 UTC
[icecast-dev] Metadata not updating with oss input module in ices2
On Sun, 2003-08-10 at 10:56, Ben Middleton wrote:> Hello. > > I am running an up-to-date cvs snapshot (10 Aug 03) of ices2, and I > cannot get the Metadata update from file to work (indeed this has always > been true on all previous versions of ices2 that I have used). > > If I send the ices process a SIGUSR1, then the error log shows that the > update is taking place, but immediately followed by a read error from > the OSS input module, causing ices to die.well it's the first I've heard of it. it has been working for many people just fine.> I am running ices on a Solaris 8 for x86 machine with OSS sound driver.not a combination I've used for sure. <p>> [2003-08-10 10:41:32] DBUG encode/encode_clear Clearing encoder engine> [2003-08-10 10:41:32] INFO encode/encode_initialise Encoder > initialising in VBR mode: 2 channel(s), 44100 Hz, quality 5.000000 > [2003-08-10 10:41:50] INFO signals/signal_usr1_handler Metadata update > requested > [2003-08-10 10:41:50] EROR input-oss/oss_read Error reading from audio > device: I/O errorThis isn't nice, the read returned IO error which is a fatal error, and thats why ices2 terminated. If this always occurs when a signal is sent then the driver is broken wrt signal handling. Check to see if there are any fixes to the driver first. karl. <p><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Ben Middleton
2004-Aug-06 14:57 UTC
[icecast-dev] Metadata not updating with oss input module inices2
Karl,> > [2003-08-10 10:41:32] DBUG encode/encode_clear Clearing encoder > > engine [2003-08-10 10:41:32] INFO encode/encode_initialise Encoder > > initialising in VBR mode: 2 channel(s), 44100 Hz, quality 5.000000 > > [2003-08-10 10:41:50] INFO signals/signal_usr1_handler Metadata > > update requested [2003-08-10 10:41:50] EROR > input-oss/oss_read Error > > reading from audio > > device: I/O error > > This isn't nice, the read returned IO error which is a fatal > error, and thats why ices2 terminated. If this always occurs > when a signal is sent then the driver is broken wrt signal > handling. Check to see if there are any fixes to the driver first.Do you mean the OSS audio driver itself for Solaris x86? If so - can you think of how I could check this independently of ices2? For instance - running some other audio capture app, and sending a signal to another process? BTW I have tried upgrading to the latest OSS driver, but still no joy. Should I pursue this through the OSS support folk instead? Ben --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Apparently Analagous Threads
- ices2, metadata, bumps and crashes
- Ices crashes all of a sudden: EROR input-oss/oss_read Error reading from audio device: Input/output error
- ices2, metadata, bumps and crashes
- ices2 not re-connecting on live stream
- Metadata not updating with oss input module inices2