<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>13912</bug_id>
          
          <creation_ts>2008-01-06 23:02:54 +0300</creation_ts>
          <short_desc>can&apos;t play RTSP streams</short_desc>
          <delta_ts>2014-11-05 20:15:30 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>libxine</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>zerg</cc>
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60486</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-01-06 23:02:54 +0300</bug_when>
    <thetext>kaffeine-0.8.5-alt4

Since kaffeine is the only player available on the Desktop 4.0.2 LiveCD, the
lack of support of RTSP makes it impossible to use the LiveCD for watching video
streams (e.g., TV in the LAN).

(I tested these streams with vlc -- vlc plays them.)
Steps to Reproduce:
1. kaffeine rtsp://217.70.16.32:554/Channel1.sdp (to test it, you have to find
an RTSP stream -- sorry, I know only some in my LAN)

Actual Results:  
In a window, it is written:

Не найдено расширение для обработки этого ресурса
(rtsp://217.70.16.32:554/Channel1.sdp)

18:38:50: xine: cannot find input plugin for MRL
[rtsp://217.70.16.32:554/Channel1.sdp]
18:38:50: xine: input plugin cannot open MRL [rtsp://217.70.16.32:554/Channel1.sdp]
18:38:49: xine: found input plugin : rtsp streaming input plugin

In the terminal:

if kaffeine hangs here run &apos;configure --with-xinit-workaround&apos; and recompile /
reinstall ... ok
0
kaffeine: No DVB device found.
kaffeine: PLAYLIST
kaffeine: PlayList: add 1 items to playlist
kaffeine: PlayList: Check for kaffeine/noatun/m3u/pls/asx playlist
kaffeine: PlayList: Try loading kaffeine playlist
kaffeine: PlaylistImport: kaffeine:
/home/altlinux/.kde/share/apps/kaffeine/playlists/НОВЫЙ.kaffeine
kaffeine: Window manager: KWin found
kaffeine: Kaffeine:: Try to load service: xine_part
kaffeine: This is a KaffeinePart...
kaffeine: XinePart: Creating new XinePart...
kaffeine: XinePart: Using xine-config file:
kaffeine: KXineWidget: Using default config file ~/.xine/config
kaffeine: PlayList: add 1 items to playlist
kaffeine: XinePart::openURL(): rtsp://217.70.16.32:554/Channel1.sdp
kaffeine: XinePart: Got single track
kaffeine: XinePart::slotPlay()
kaffeine: KXineWidget: Xinerama extension present
kaffeine: KXineWidget: 1 screens detected
kaffeine: KXineWidget: Display aspect ratio (v/h): 1
kaffeine: KXineWidget: Using xine version 1.1.7
kaffeine: KXineWidget: Post-init xine engine
kaffeine: KXineWidget: Use audio driver auto
kaffeine: KXineWidget: Use video driver auto
kaffeine: KXineWidget: Init video driver
kaffeine: KXineWidget: Init audio driver
kaffeine: KXineWidget: Init OSD
kaffeine: KXineWidget: Font for OSD: sans
kaffeine: KXineWidget: Unscaled OSD available
kaffeine: KXineWidget: xine init successful
kaffeine: XinePart: load config
kaffeine: Set volume to: 59
kaffeine: KXineWidget: New visualization plugin: goom
kaffeine: PostFilter: Create Postprocessing Filter: tvtime
kaffeine: PostFilter: Parameter: method
kaffeine: PostFilter: Parameter: enabled
kaffeine: PostFilter: Parameter: pulldown
kaffeine: PostFilter: Parameter: framerate_mode
kaffeine: PostFilter: Parameter: judder_correction
kaffeine: PostFilter: Parameter: use_progressive_frame_flag
kaffeine: PostFilter: Parameter: chroma_filter
kaffeine: PostFilter: Parameter: cheap_mode
kaffeine: PostFilter: Get input
kaffeine: PostFilter: Get output
kaffeine: PostFilter: SetConfig
tvtime:method=LinearBlend,enabled=1,pulldown=none,framerate_mode=half_top,judder_correction=0,use_progressive_frame_flag=1,chroma_filter=0,cheap_mode=1
kaffeine: PostFilter: Set parameter &apos;method&apos; to value &apos;LinearBlend&apos;
kaffeine: PostFilter: tvtime Apply integer value 2 on offset 0
kaffeine: PostFilter: Set parameter &apos;enabled&apos; to value &apos;1&apos;
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 4
kaffeine: PostFilter: Set parameter &apos;pulldown&apos; to value &apos;none&apos;
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 8
kaffeine: PostFilter: Set parameter &apos;framerate_mode&apos; to value &apos;half_top&apos;
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 12
kaffeine: PostFilter: Set parameter &apos;judder_correction&apos; to value &apos;0&apos;
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16
kaffeine: PostFilter: Set parameter &apos;use_progressive_frame_flag&apos; to value &apos;1&apos;
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 20
kaffeine: PostFilter: Set parameter &apos;chroma_filter&apos; to value &apos;0&apos;
kaffeine: PostFilter: tvtime Apply integer value 0 on offset 24
kaffeine: PostFilter: Set parameter &apos;cheap_mode&apos; to value &apos;1&apos;
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28
kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28
kaffeine: KXineWidget: Deinterlace enabled: 1
kaffeine: PostFilter: Get output
kaffeine: PostFilter: Get input
kaffeine: KXineWidget: Playing: rtsp://217.70.16.32:554/Channel1.sdp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62140</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2008-01-28 19:09:25 +0300</bug_when>
    <thetext>А с libxine-1.1.10-alt1 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62328</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-01-31 04:25:10 +0300</bug_when>
    <thetext>Нет, всё равно не показывает. 
$ rpm -qa \*kaffeine\*  libxine
libkaffeine-0.8.6-alt1
kaffeine-engine-gstreamer-0.8.6-alt1
libxine-1.1.10-alt1
kaffeine-engine-xine-0.8.6-alt1
kaffeine-0.8.6-alt1
$ 

vlc показывает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62329</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-01-31 04:27:01 +0300</bug_when>
    <thetext>с тем же сообщением.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62363</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2008-01-31 15:09:32 +0300</bug_when>
    <thetext>Все-таки, это скорее xine, т.к. в нем тоже на пашет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62713</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-06 00:29:29 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; Все-таки, это скорее xine, т.к. в нем тоже на пашет.

Да, так -- проверил у себя.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62714</commentid>
    <comment_count>6</comment_count>
    <who name="">led</who>
    <bug_when>2008-02-06 01:28:06 +0300</bug_when>
    <thetext>Кто-нибудь укажет рабочий MRL, на котором это можно проверить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63062</commentid>
    <comment_count>7</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-12 15:28:15 +0300</bug_when>
    <thetext>(In reply to comment #6)
&gt; Кто-нибудь укажет рабочий MRL, на котором это можно проверить?

Не знаю, можно ли найти рабочее в И-нете, хотя бы потому что этот rtsp может
плохо поддерживаться на шлюзах
(https://bugzilla.altlinux.org/show_bug.cgi?id=13881 ). Но можно сделать тест у
себя так, как написано на http://www.live555.com/liveMedia/#testProgs .

0. отключаю интерфейс и отсоединяю LAN и т.п. для безопасности, и делаю service
iptables stop (чтобы никакие нужные пакеты для теста не блокировались)
1. какой-нибудь тестовый mp3: ln -s .... test.mp3
2. testOnDemandRTSPServer из live555-0.0.0-alt0.2007.11.01; он пишет среди прочего:

&quot;mp3AudioTest&quot; stream, from the file &quot;test.mp3&quot;
Play this stream using the URL &quot;rtsp://0.0.0.0:8554/mp3AudioTest&quot;

3. убеждаемся с помощью vlc-maxi-0.8.6d-alt5, что работает:

$ vlc rtsp://0.0.0.0:8554/mp3AudioTest
VLC media player 0.8.6d Janus
Sending request: OPTIONS rtsp://0.0.0.0:8554/mp3AudioTest RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2007.10.31)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Date: Tue, Feb 12 2008 12:24:49 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: DESCRIBE rtsp://0.0.0.0:8554/mp3AudioTest RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2007.10.31)


Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Date: Tue, Feb 12 2008 12:24:49 GMT
Content-Base: rtsp://127.0.0.1:8554/mp3AudioTest/
Content-Type: application/sdp
Content-Length: 363


Need to read 363 extra bytes
Read 363 extra bytes: v=0
o=- 1202819005534295 1 IN IP4 0.0.0.0
s=Session streamed by &quot;testOnDemandRTSPServer&quot;
i=mp3AudioTest
t=0 0
a=tool:LIVE555 Streaming Media v2007.10.31
a=type:broadcast
a=control:*
a=range:npt=0-512.096
a=x-qt-text-nam:Session streamed by &quot;testOnDemandRTSPServer&quot;
a=x-qt-text-inf:mp3AudioTest
m=audio 0 RTP/AVP 14
c=IN IP4 0.0.0.0
a=control:track1

Unable to determine our source address: This computer has an invalid IP address: 0x0
Unable to determine our source address: This computer has an invalid IP address: 0x0
Sending request: SETUP rtsp://127.0.0.1:8554/mp3AudioTest/track1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=51150-51151
User-Agent: VLC media player (LIVE555 Streaming Media v2007.10.31)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Date: Tue, Feb 12 2008 12:24:49 GMT
Transport:
RTP/AVP;unicast;destination=127.0.0.1;source=127.0.0.1;client_port=51150-51151;server_port=6970-6971
Session: 2


Sending request: PLAY rtsp://127.0.0.1:8554/mp3AudioTest/ RTSP/1.0
CSeq: 4
Session: 2
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2007.10.31)


Received PLAY response: RTSP/1.0 200 OK
CSeq: 4
Date: Tue, Feb 12 2008 12:24:49 GMT
Range: npt=0.000-
Session: 2
RTP-Info: url=rtsp://127.0.0.1:8554/mp3AudioTest/track1;seq=60213;rtptime=219040823


4. теперь xine rtsp://0.0.0.0:8554/mp3AudioTest -- не работает, с описанной ошибкой.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63780</commentid>
    <comment_count>8</comment_count>
    <who name="">led</who>
    <bug_when>2008-02-15 23:43:20 +0300</bug_when>
    <thetext>Похоже, libxine (как и mplayer) понимает далеко не всякие RTSP-потоки :(
Предлагаю, всё же, &quot;переименовать&quot; этот багрепорт в фичреквест.
Патчи - бэкпорты поддержки RTSP из vlc в libxine (и mplayer) приветствуются:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64117</commentid>
    <comment_count>9</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-18 22:37:31 +0300</bug_when>
    <thetext>всё началось с того, что понадобилась возможность посомтреть RTSP в LiveCD --
добавил сообщение про это общее пожелание:
https://bugzilla.altlinux.org/show_bug.cgi?id=14574 .
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64119</commentid>
    <comment_count>10</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-18 22:38:17 +0300</bug_when>
    <thetext>А насчёт severity этого бага -- можно и поменять. Но откуда известно, что про
xine предполагается, что он такие потоки не может играть? У них в
http://xinehq.de/index.php/faq#AEN354 нет упоминания того, что какие-то
RTSP-потоки не должны проигрываться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64122</commentid>
    <comment_count>11</comment_count>
    <who name="">led</who>
    <bug_when>2008-02-18 22:46:24 +0300</bug_when>
    <thetext>(In reply to comment #10)
&gt; Но откуда известно, что про
&gt; xine предполагается, что он такие потоки не может играть? У них в
&gt; http://xinehq.de/index.php/faq#AEN354 нет упоминания того, что какие-то
&gt; RTSP-потоки не должны проигрываться.

У libxine с mplayer&apos;ом практически идентичный код для RTSP, но mplayer ьолее 
подробно говорит, что именно этот поток он не распознал. 
Попробуйте &quot;mplayer -v&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81039</commentid>
    <comment_count>12</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2008-11-12 18:19:47 +0300</bug_when>
    <thetext>У меня kaffine играет первую ссылку с http://feetup.org/wiki/MobileRadio
kaffeine-0.8.7-alt3
libxine-1.1.16-alt0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148407</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:15:30 +0300</bug_when>
    <thetext>В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>