Вернуться   Форум RadioCMS > RadioCMS > Другие вопросы

Добро пожаловать на Форум RadioCMS.
Форум доступен только для чтения.

Ответ
Опции темы Опции просмотра
  #1  
Непрочитано 02.11.2013, 02:23
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию Проблема с StreamTranscorder

установил с вашего сайта streamtranscorder

отредактировал конфиг файл

попытался запустить streamtranscorder -c myconfig.cfg
выходит
Input Stream URL : (http://192.168.1.20/channel)
Output Stream Type : (MP3)
Output Server Type : (Icecast2)
Output Bitrate : (96kbps/44100Hz/Stereo)
Output status : (Disconnected)
Main Status : (Connecting To Output Stream)
Output status : (Connecting)
Output status : (Socket connected)
Output status : (Success)
Output status : (Connected)
Input Stream URL : (http://192.168.1.20/channel)
Main Status : (Connecting To Input)
Input Status : (Connecting...)
Output status : (Disconnecting)
Output status : (Disconnected)
Main Status : (Done)

проверяю лог файл
11/02/13 02:28:00 Info(commandline.cpp:57): Input Stream URL : (http://192.168.1.20/channel)
11/02/13 02:28:00 Info(commandline.cpp:105): Output Stream Type : (MP3)
11/02/13 02:28:00 Info(commandline.cpp:98): Output Server Type : (Icecast2)

помогите разобраться пожалуйста.
Ответить с цитированием
  #2  
Непрочитано 03.11.2013, 17:27
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

НУ ПОМОГИТЕ РАЗОБРАТЬСЯ ВАМ ЧЕ ЖАЛКО ЧТО ЛИ ????
Ответить с цитированием
  #3  
Непрочитано 04.11.2013, 15:42
admin admin вне форума
Administrator
 
Регистрация: 17.08.2010
О.С.: Debian 7
Версия: 2.5
Сообщений: 844
По умолчанию

Подробно о транскодере, сверяйте конфиг http://radiocms.ru/forum/showthread.php?t=50
__________________

1) Тем кто ничего не понимает читать это
2) Список самых частых ошибок
p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают)

Ответить с цитированием
  #4  
Непрочитано 04.11.2013, 18:20
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

Уважаемый админ. Я сверял не помогло.
Расскажу как сделал.
Установил из пакета стремтранспордер /usr/ports/audio/streamtranscorder
потом из вашего сайта установил программу вроде смогу установить конфигуре
установились библиотеки

но создается у меня только конфиг через streamtranscorder -C -c myconfig.cfg
и запускаю также. и вот дисконект...

не пойму где ступанул....
Ответить с цитированием
  #5  
Непрочитано 04.11.2013, 18:24
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

#The source URL for the broadcast. It must be in the form http://server:port/mountpoint. For those servers without a mountpoint (Shoutcast) use http://server:port. To
#
SourceURL=http://192.168.1.20/live

#
#The server to which the stream is sent. It can be a hostname or IP (example: www.stream.com, 192.168.1.100)
#
Server=192.168.1.20

#
#The port to which the stream is sent. Must be a number (example: 8000)
#
Port=8000

#
#This is the encoder password for the destination server (example: hackme)
#
ServerPassword=faro1990

#
#This setting tells the destination server to list on any available YP listings. Not all servers support this (Shoutcast does, Icecast2 doesn't) (example: 1 for YES, 0
#
ServerPublic=0

#
#This is used in the YP listing, I think only Shoutcast supports this (example: #mystream)
#
ServerIRC=

#
#This is used in the YP listing, I think only Shoutcast supports this (example: myAIMaccount)
#
ServerAIM=

#
#This is used in the YP listing, I think only Shoutcast supports this (example: 332123132)
#
ServerICQ=

#
#The URL that is associated with your stream. (example: http://www.mystream.com)
#
ServerStreamURL=http://

#
#A short description of the stream (example: Stream House on Fire!)
#
ServerDescription=This is my server desription

#
#Genre of music, can be anything you want... (example: Rock)
#
ServerGenre=Rock

#
#Used for Icecast/Icecast2 servers, The mountpoint must end in .ogg for Vorbis streams and have NO extention for MP3 streams. If you are sending to a Shoutcast server,
#
ServerMountpoint=/channel

#
#Wether or not oddcast will reconnect if it is disconnected from the destination server (example: 1 for YES, 0 for NO)
#
AutomaticReconnect=1

#
#How long it will wait (in seconds) between reconnect attempts. (example: 10)
#
AutomaticReconnectSecs=10

#
#What format to encode to. Valid values are (OGG, LAME) (example: OGG, LAME)
#What format to encode to. Valid values are (OGG, LAME) (example: OGG, LAME)
#
Encode=LAME

#
#The port used for WMA stream (example: 8200)
#
WMAPort=8200

#
#Number of clients to support WMA encoding. (example: 1, 10)
#
WMAClients=5

#
#Number of clients to support WMA encoding. (example: 1, 10)
#
WMAMode=Stereo

#
#Bitrate. This is the mean bitrate if using VBR.
#
BitrateNominal=128

#
#Minimum Bitrate. Used only if using Bitrate Management (not recommended) or LAME VBR(example: 64, 128)
#
BitrateMin=128

#
#Maximum Bitrate. Used only if using Bitrate Management (not recommended) or LAME VBR (example: 64, 128)
#
BitrateMax=128

#
#Number of channels. Valid values are (1, 2). 1 means Mono, 2 means Stereo (example: 2,1)
#
#
#Number of channels. Valid values are (1, 2). 1 means Mono, 2 means Stereo (example: 2,1)
#
NumberChannels=2

#
#Vorbis Quality Level. Valid values are between -1 (lowest quality) and 10 (highest). The lower the quality the lower the output bitrate. (example: -1, 3)
#
OggQuality=0

#
#Sample rate for the stream. Valid values depend on wether using lame or vorbis. Vorbis supports odd samplerates such as 32kHz and 48kHz, but lame appears to not.feel f
#
Samplerate=44100

#
#This flag specifies if you want Vorbis Quality or Bitrate Management. Quality is always recommended. Valid values are (Bitrate, Quality). (example: Quality, Bitrate M
#
OggBitrateQualityFlag=Quality

#
#This LAME flag indicates that CBR encoding is desired. If this flag is set then LAME with use CBR, if not set then it will use VBR (and you must then specify a VBR mod
#
LameCBRFlag=1

#
#A number between 1 and 10 which indicates the desired quality level of the stream. The higher the number, the higher the quality. Also, the higher the number, the hi
#
LameQuality=1

#
#Copywrite flag. Not used for much. Valid values (1 for YES, 0 for NO)
#
LameCopywrite=0

#
#Original flag. Not used for much. Valid values (1 for YES, 0 for NO)
#Original flag. Not used for much. Valid values (1 for YES, 0 for NO)
#
LameOriginal=0

#
#Strict ISO flag. Not used for much. Valid values (1 for YES, 0 for NO)
#
LameStrictISO=0

#
#Disable Reservior flag. Not used for much. Valid values (1 for YES, 0 for NO)
#
LameDisableReservior=0

#
#This specifies the type of VBR encoding LAME will perform if VBR encoding is set (CBRFlag is NOT SET). See the LAME documention for more on what these mean. Valid valu
#
LameVBRMode=vbr_abr

#
#Use LAMEs lowpass filter. If you set this to 0, then no filtering is done.
#
LameLowpassfreq=0

#
#Use LAMEs highpass filter. If you set this to 0, then no filtering is done.
#
LameHighpassfreq=0

#
#The destination server type. You must set this correctly otherwise you will get problems connecting the encoder. Please make sure you are using the correct one. Vali
#
ServerType=Icecast2

#
#If recording from linein, what device to use (not needed for win32) (example: /dev/dsp)
#
AdvRecDevice=/dev/dsp

#
#If recording from linein, what sample rate to open the device with. (example: 44100, 48000)
#
LiveInSamplerate=44100

#
#Used for any window positions (X value)
#
lastX=0

#
#Used for any window positions (Y value)
#
lastY=0

#
#Used for plugins that show the VU meter
#
showVU=0

#
#Flag which indicates we are recording from line in
#
LineInFlag=0

#
#Locked Metadata
#
LockMetadata=

#
#Flag which indicates if we are using locked metadata

#
LockMetadataFlag=0

#
#Save directory for archive streams
#
SaveDirectory=

#
#Flag which indicates if we are saving archives
#
SaveDirectoryFlag=0

#
#Log Level 1 = LOG_ERROR, 2 = LOG_ERROR+LOG_WARNING, 3 = LOG_ERROR+LOG_WARNING+LOG_DEBUG
#
LogLevel=1

#
#Log File
#
LogFile=oddcastv2.log

#
#Save Archives in WAV format
#
SaveAsWAV=0

#
#AAC Quality Level. Valid values are between 10 (lowest quality) and 500 (highest).
#
AACQuality=100

#
#AAC Cutoff Frequency.
#
AACCutoff=
Ответить с цитированием
  #6  
Непрочитано 05.11.2013, 17:23
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

проблема решилась.
Ответить с цитированием
  #7  
Непрочитано 13.11.2013, 14:34
Larick Larick вне форума
Junior Member
 
Регистрация: 22.06.2013
О.С.: CentOS Linux 6
Версия: 2.5
Сообщений: 24
Отправить сообщение для Larick с помощью Skype™
По умолчанию

может кто поделится информацией как устанотить AAC +AAC кодек для streamtranscorder'a?
(OS CentOS 6)
Ответить с цитированием
  #8  
Непрочитано 19.11.2013, 22:18
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

Цитата:
Сообщение от Larick Посмотреть сообщение
может кто поделится информацией как устанотить AAC +AAC кодек для streamtranscorder'a?
(OS CentOS 6)
А ты вообще смог запустить стреам?если да подскажи пожалуйста. На centos я установил вписал конфиг но запустить не смог. точнее не знаю как.
Ответить с цитированием
  #9  
Непрочитано 20.11.2013, 13:55
Larick Larick вне форума
Junior Member
 
Регистрация: 22.06.2013
О.С.: CentOS Linux 6
Версия: 2.5
Сообщений: 24
Отправить сообщение для Larick с помощью Skype™
По умолчанию

Возможно потребуется установить ещё библиотеки.
http://radiocms.ru/files/streamtranscoderv3.tar.gz
Запускается так:
Цитата:
cd /usr/local/etc/streamTranscoder
./streamTranscoderv3 -b


файл streamTranscoder_0.cfg
Цитата:
SourceURL=http://localhost:8000/live.mp3
AutomaticReconnectSecs=5
AutoConnect=0
# Log Level 1 = LOG_ERROR, 2 = LOG_ERROR+LOG_INFO, 3 = LOG_ERROR+LOG_INFO+LOG_DEBUG
LogLevel=1
# Log File
LogFile=streamTranscoder
# Number of encoders to use
NumEncoders=1
файл streamTranscoder_1.cfg
Цитата:
ServerType=Icecast2
Server=ip_adress
Port=8000
ServerPassword=icecast_пароль
ServerMountpoint=/live.mp3
ServerPublic=1
ServerIRC=
ServerAIM=
ServerICQ=
ServerStreamURL=http://
ServerName=Radio
ServerDescription=
ServerGenre=Various
AutomaticReconnectSecs=5
AutoConnect=0
Encode=MP3
AACQuality=40
AACCutoff=
BitrateNominal=128
BitrateMin=128
BitrateMax=128
NumberChannels=2
Samplerate=44100
OggQuality=0
OggBitrateQualityFlag=Quality
LameCBRFlag=1
LameQuality=5
LameCopywrite=0
LameOriginal=0
LameStrictISO=0
LameDisableReservior=0
LameVBRMode=vbr_abr
LameLowpassfreq=0
LameHighpassfreq=0
LAMEPreset=0
SaveDirectory=
SaveDirectoryFlag=0
LogLevel=1
LogFile=streamTranscoder_1
SaveAsWAV=0
LAMEJointStereo=1
Ответить с цитированием
  #10  
Непрочитано 20.11.2013, 14:12
Radio Radio вне форума
Member
 
Регистрация: 02.11.2013
О.С.: Freebsd 9.1/Centos 6.4
Версия: 2.5
Сообщений: 39
По умолчанию

Цитата:
Сообщение от Larick Посмотреть сообщение
Возможно потребуется установить ещё библиотеки.
http://radiocms.ru/files/streamtranscoderv3.tar.gz
Запускается так:



файл streamTranscoder_0.cfg


файл streamTranscoder_1.cfg
Спасибо отпишусь после установки.... у тебя аська есть ?
Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +3, время: 17:55.