ОсновноеRadiotalkПользовательское
Общие вопросы по интернет радио вещанию
7   •   Посмотреть все темы

StreamTranscoder выдает ошибку Broken pipe.

 

15
molodejnoe @molodejnoe
Добрый день! У меня сервер на FreeBSD. Установлена RadioCMS(icecast и ezstream). Установил StreamTranscoderv3(не из портов). Проблема в том, что когда я запускаю Streamtranscoderv3 командой
/usr/local/bin/streamTranscoderv3 start
то он пишет
  1. Encoder 1 is connected
  2. Source is connected
  3. Metadata Updated: Amelie - Ill Take You
  4. Broken pipe

Подскажите пожалуйста в чем может быть проблема? Если нужны еще какие-нибудь данные чтобы разобраться - пожалуйста, напишите какие. Конфиг streamtranscoder_1.cfg выглядит так:
  1. # Destination server details (to where you are encoding). Valid server types : Shoutcast, Icecast, Icecast2
  2. ServerType=Icecast2
  3. Server=ip_сервера
  4. Port=порт_сервера
  5. ServerPassword=***
  6. ServerMountpoint=/live_64
  7. # YP (Stream Directory) Settings
  8. ServerPublic=1
  9. ServerIRC=
  10. ServerAIM=
  11. ServerICQ=
  12. ServerStreamURL=http://www.molodejnoe.fm
  13. ServerName=Molodejnoe.FM
  14. ServerDescription=Molodejnoe.FM -radio for young and energetic.
  15. ServerGenre=Dance, Rock
  16. AutomaticReconnectSecs=10
  17. AutoConnect=1
  18. # Output codec selection (Valid selections : MP3, OggVorbis, Ogg FLAC, AAC, AAC Plus)
  19. Encode=MP3
  20. # General settings (non-codec related). Note : NumberChannels = 1 for MONO, 2 for STEREO
  21. BitrateNominal=64
  22. BitrateMin=64
  23. BitrateMax=64
  24. NumberChannels=2
  25. Samplerate=48000
  26. # Ogg Vorbis specific settings. Note: Valid settings for BitrateQuality flag are (Quality, Bitrate Management)
  27. OggQuality=0
  28. # LAME specific settings. Note: Setting the low/highpass freq to 0 will disable them.
  29. LameCBRFlag=1
  30. LameQuality=1
  31. LameCopywrite=0
  32. LameOriginal=0
  33. LameStrictISO=0
  34. LameDisableReservior=0
  35. LameVBRMode=vbr_abr
  36. LameLowpassfreq=0
  37. LameHighpassfreq=0
  38. LAMEPreset=0
  39. # AAC (FAAC) specific settings.
  40. AACQuality=100
  41. AACCutoff=
  42. # Save directory for archive streams
  43. SaveDirectory=
  44. # Flag which indicates if we are saving archives
  45. SaveDirectoryFlag=0
  46. # Log Level 1 = LOG_ERROR, 2 = LOG_ERROR+LOG_INFO, 3 = LOG_ERROR+LOG_INFO+LOG_DEBUG
  47. LogLevel=2
  48. # Log File
  49. LogFile=streamTranscoder_1
  50. # Save Archives in WAV format
  51. SaveAsWAV=0
  52. # LAME Joint Stereo Flag
  53. LAMEJointStereo=1
  54. OggBitrateQualityFlag=Quality

Заранее спасибо!

0
6245
Тарас @tarasian666
LogLevel=3
и покажите что напишет

0
15
molodejnoe @molodejnoe
Лог левел сделал 3. При запуске все то-же. Вот что в файле streamTranscoder_1.log
  1. 07/31/12 17:27:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
  2. 07/31/12 17:27:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
  3. 07/31/12 17:27:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Success
  4. 07/31/12 17:27:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Connected
  5. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:131): Encoder 1: MP3: 64kbps/48000Hz/Stereo
  6. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
  7. 07/31/12 17:29:53 Debug(liboddcast.cpp:1340): Connecting encoder 1
  8. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
  9. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
  10. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:65): Encoder 1: Success
  11. 07/31/12 17:29:53 Info(streamTranscoderv3.cpp:65): Encoder 1: Connected
  12. 07/31/12 17:29:55 Debug(liboddcast.cpp:3353): 1 Calling handle output
  13. 07/31/12 17:29:55 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 48000
  14. 07/31/12 17:29:55 Debug(liboddcast.cpp:3441): Initializing resampler
  15. 07/31/12 17:29:55 Debug(liboddcast.cpp:3448): calling ocConvertAudio
  16. 07/31/12 17:29:55 Debug(liboddcast.cpp:3458): ready to do encoding
  17. 07/31/12 17:29:55 Debug(liboddcast.cpp:3464): do_encoding start
  18. 07/31/12 17:29:55 Debug(liboddcast.cpp:2488): determining left/right max...
  19. 07/31/12 17:29:55 Debug(liboddcast.cpp:3466): do_encoding end (1)
  20. 07/31/12 17:29:55 Debug(liboddcast.cpp:3489): 1 Calling handle output - Ret = 1
  21. 07/31/12 17:29:55 Debug(liboddcast.cpp:3353): 1 Calling handle output
  22. 07/31/12 17:29:55 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 48000
  23. 07/31/12 17:29:55 Debug(liboddcast.cpp:3441): Initializing resampler
  24. 07/31/12 17:29:55 Debug(liboddcast.cpp:3448): calling ocConvertAudio
  25. 07/31/12 17:29:55 Debug(liboddcast.cpp:3458): ready to do encoding
  26. 07/31/12 17:29:55 Debug(liboddcast.cpp:3464): do_encoding start
  27. 07/31/12 17:29:55 Debug(liboddcast.cpp:2488): determining left/right max...
  28. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:131): Encoder 1: MP3: 64kbps/48000Hz/Stereo
  29. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
  30. 07/31/12 17:30:04 Debug(liboddcast.cpp:1340): Connecting encoder 1
  31. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
  32. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
  33. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:65): Encoder 1: Success
  34. 07/31/12 17:30:04 Info(streamTranscoderv3.cpp:65): Encoder 1: Connected
  35. 07/31/12 17:30:05 Debug(liboddcast.cpp:3353): 1 Calling handle output
  36. 07/31/12 17:30:05 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 48000
  37. 07/31/12 17:30:05 Debug(liboddcast.cpp:3441): Initializing resampler
  38. 07/31/12 17:30:05 Debug(liboddcast.cpp:3448): calling ocConvertAudio
  39. 07/31/12 17:30:05 Debug(liboddcast.cpp:3458): ready to do encoding
  40. 07/31/12 17:30:05 Debug(liboddcast.cpp:3464): do_encoding start
  41. 07/31/12 17:30:05 Debug(liboddcast.cpp:2488): determining left/right max...
  42. 07/31/12 17:30:05 Debug(liboddcast.cpp:3466): do_encoding end (1)
  43. 07/31/12 17:30:05 Debug(liboddcast.cpp:3489): 1 Calling handle output - Ret = 1
  44. 07/31/12 17:30:05 Debug(liboddcast.cpp:3353): 1 Calling handle output
  45. 07/31/12 17:30:05 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 48000
  46. 07/31/12 17:30:05 Debug(liboddcast.cpp:3441): Initializing resampler
  47. 07/31/12 17:30:05 Debug(liboddcast.cpp:3448): calling ocConvertAudio
  48. 07/31/12 17:30:05 Debug(liboddcast.cpp:3458): ready to do encoding
  49. 07/31/12 17:30:05 Debug(liboddcast.cpp:3464): do_encoding start
  50. 07/31/12 17:30:05 Debug(liboddcast.cpp:2488): determining left/right max...

0
15
molodejnoe @molodejnoe
tarasian666 пишет:

LogLevel=3
и покажите что напишет

Нашел ошибку, исправил, запустил, но все то-же самое только лог поменялся
  1. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:131): Encoder 1: MP3: 64kbps/44100Hz/Stereo
  2. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
  3. 07/31/12 17:44:40 Debug(liboddcast.cpp:1340): Connecting encoder 1
  4. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
  5. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
  6. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Success
  7. 07/31/12 17:44:40 Info(streamTranscoderv3.cpp:65): Encoder 1: Connected
  8. 07/31/12 17:44:41 Debug(liboddcast.cpp:3353): 1 Calling handle output
  9. 07/31/12 17:44:41 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 44100
  10. 07/31/12 17:44:41 Debug(liboddcast.cpp:3480): do_encoding start
  11. 07/31/12 17:44:41 Debug(liboddcast.cpp:2488): determining left/right max...
  12. 07/31/12 17:44:41 Debug(liboddcast.cpp:3482): do_encoding end (1)
  13. 07/31/12 17:44:41 Debug(liboddcast.cpp:3489): 1 Calling handle output - Ret = 1
  14. 07/31/12 17:44:41 Debug(liboddcast.cpp:3353): 1 Calling handle output
  15. 07/31/12 17:44:41 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 44100
  16. 07/31/12 17:44:41 Debug(liboddcast.cpp:3480): do_encoding start
  17. 07/31/12 17:44:41 Debug(liboddcast.cpp:2488): determining left/right max...
  18. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:131): Encoder 1: MP3: 64kbps/44100Hz/Stereo
  19. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
  20. 07/31/12 17:45:07 Debug(liboddcast.cpp:1340): Connecting encoder 1
  21. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
  22. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
  23. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:65): Encoder 1: Success
  24. 07/31/12 17:45:07 Info(streamTranscoderv3.cpp:65): Encoder 1: Connected
  25. 07/31/12 17:45:09 Debug(liboddcast.cpp:3353): 1 Calling handle output
  26. 07/31/12 17:45:09 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 44100
  27. 07/31/12 17:45:09 Debug(liboddcast.cpp:3480): do_encoding start
  28. 07/31/12 17:45:09 Debug(liboddcast.cpp:2488): determining left/right max...
  29. 07/31/12 17:45:09 Debug(liboddcast.cpp:3482): do_encoding end (1)
  30. 07/31/12 17:45:09 Debug(liboddcast.cpp:3489): 1 Calling handle output - Ret = 1
  31. 07/31/12 17:45:09 Debug(liboddcast.cpp:3353): 1 Calling handle output
  32. 07/31/12 17:45:09 Debug(liboddcast.cpp:3433): In samplerate = 44100, Out = 44100
  33. 07/31/12 17:45:09 Debug(liboddcast.cpp:3480): do_encoding start
  34. 07/31/12 17:45:09 Debug(liboddcast.cpp:2488): determining left/right max...

Отредактировано molodejnoe - 31.07.2012
0