Помогите с транскодированием iptv на телек через Mediatomb. Цепочка такая: Кабель провайдера идет в маршрутизатор с UDPXY, оттуда через wifi (n) к ноуту, на ноуте настроен NAT и медиатомб. Далее обычным ланом подклчюается к телеку. Телек медиатомб видит, показывает отлично видео с ноута, но вот с IPTV не задалось. сначала пробовал так добавить канал :
External Link (URL)
Title: 1 канал
URL: http://192.168.222.1:4022/udp/255.255.254.1:1234
Protocol: http-get
Class: object.item.videoItem
Description: 1 канал
Mimetype: video/mpeg
Однако телек выдал что не знает формат :(. (согласно VLC провайдер вещает в mpgv и mpga)
Затем попробовал транскодированием по инструкции на оф. вики
<transcoding enabled="yes">
<mimetype-profile-mappings>
<transcode mimetype="video/x-flv" using="vlcmpeg"/>
</mimetype-profile-mappings>
<profiles>
<profile name="vlcmpeg" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
<buffer size="262144" chunk-size="131072" fill-size="2144"/>
<accept-url>yes</accept-url>
<first-resource>no</first-resource>
<hide-original-resource>yes</hide-original-resource>
</profile>
</profiles>
</transcoding>
hellsman@hellsman-laptop:~$ mediatomb
MediaTomb UPnP Server version 0.12.0 - http://mediatomb.cc/
===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2
2011-11-21 23:08:11 INFO: Loading configuration from: /home/hellsman/.mediatomb/config.xml
2011-11-21 23:08:11 INFO: Checking configuration...
2011-11-21 23:08:11 INFO: Setting filesystem import charset to UTF-8
2011-11-21 23:08:11 INFO: Setting metadata import charset to UTF-8
2011-11-21 23:08:11 INFO: Setting playlist charset to UTF-8
2011-11-21 23:08:11 INFO: Configuration check succeeded.
2011-11-21 23:08:11 INFO: Initialized port: 49152
2011-11-21 23:08:11 INFO: Server bound to: 192.168.0.1
2011-11-21 23:08:11 INFO: Adding HTTP header "X-User-Agent: redsonic"
2011-11-21 23:08:11 INFO: Adding HTTP header "transferMode.dlna.org: Streaming"
2011-11-21 23:08:11 INFO: Adding HTTP header "contentFeatures.dlna.org:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000"
2011-11-21 23:08:12 INFO: MediaTomb Web UI can be reached by following this link:
2011-11-21 23:08:12 INFO: http://192.168.0.1:49152/
2011-11-21 23:08:12 ERROR: Inotify thread caught exception: Отказано в доступе
2011-11-21 23:08:19 ERROR: ActionRequest::update(): response is nil, code -115
2011-11-21 23:08:19 ERROR: ActionRequest::update(): response is nil, code -115
2011-11-21 23:08:19 ERROR: ActionRequest::update(): response is nil, code -115
2011-11-21 23:08:19 ERROR: ActionRequest::update(): response is nil, code -115
2011-11-21 23:08:22 INFO: Arguments: -I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x8f03038] dummy interface: using the dummy interface module...
[0x8f16418] mux_ps mux: Open
2011-11-21 23:08:24 INFO: Arguments: -I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x8e24860] signals interface error: Caught Завершено signal, exiting...
[0x8f16418] mux_ps mux: Close
[0x97c5a50] dummy interface: using the dummy interface module...
[0x97db550] mux_ps mux: Open
2011-11-21 23:08:27 INFO: Arguments: -I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x8e130a0] dummy interface: using the dummy interface module...
[0x8e267f0] mux_ps mux: Open
[0x97c7650] main input error: ES_OUT_SET_(GROUP_)PCR is called too late, increasing pts_delay to 1200 ms
[0x97c7650] main input error: ES_OUT_RESET_PCR called
[0x96e7800] signals interface error: Caught Завершено signal, exiting...
2011-11-21 23:08:29 INFO: Arguments: -I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x917a658] dummy interface: using the dummy interface module...
[0x918eb38] mux_ps mux: Open
[0x8d33a98] signals interface error: Caught Завершено signal, exiting...
[0x8e267f0] mux_ps mux: Close
2011-11-21 23:08:33 INFO: Arguments: -I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mpgv,vb=2048,fps=25,aenc=ffmpeg,acodec=mpga,ab=128,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit
VLC media player 1.0.6 Goldeneye
[0x8d4d810] dummy interface: using the dummy interface module...
[0x8d61a78] mux_ps mux: Open
[0x909aa30] signals interface error: Caught Завершено signal, exiting...
[0x918eb38] mux_ps mux: Close
[0x8c6da30] signals interface error: Caught Завершено signal, exiting...
^C2011-11-21 23:08:36 INFO: MediaTomb shutting down. Please wait...
2011-11-21 23:08:38 INFO: Server terminating
Подскажите куда копать? (система Ubuntu 10.04 LTS ) Иногда вываливается еще такая ошибка:
0xb7305908] libmpeg2 decoder error: invalid picture encountered
[0xb7305908] libmpeg2 decoder error: invalid picture encountered