RTSP Streaming to AMINET 110

About encoding, codec settings, muxers and filter usage
__mami
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Mar 2005 16:01

RTSP Streaming to AMINET 110

Postby __mami » 25 Mar 2006 11:04

As we have understood till now:

VLC can not be used as a RTSP server for amino AMINET Devices, bacause they use their special kind of RTSP implementation.

RTSP uses mainly RTP for transferring the video stream but AMINET uses RTSP along with UDP for transferring the video.

I know VLC uses LIVE555.com package for RTSP Implementation.

Now my question:
live555.com claims that it fully supports AMINET devices and as far as I understood there are many successful cases for this.
VLC is based on live555. then, why VLC is not able to serve AMINET correctly?

__mami
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Mar 2005 16:01

Postby __mami » 27 Mar 2006 10:03

OK!
no reply?

I tested it personally,
I made a MPEG2 Transport stream, then I gave it to LIVE555 example program and it could successfully communicate with aminet.

Again i gave the same ts to vlc, and i did all of the needed configurations, i tested my config using another vlc connecting to my first vlc via rtsp and every thing was ok. but when i try to get the stream using aminet nothing happens.

i think that a very small change is needed in the source code of vlc so that every thing work correctly.

mediaguy06
Blank Cone
Blank Cone
Posts: 15
Joined: 24 Mar 2006 16:40

playout

Postby mediaguy06 » 28 Mar 2006 03:03

To stream to the amino net box you have to put on your address link igmp://239.255.0.0.0:0000 and it should see the Vln stream. Remember that your VLN steam set up depending on what you are doing if you have it to stream to the amino net box directly you have to set up a udp stream. If you are having the amino net box listen for the stream from the Vln server its a Mulitiplex stream. Unless you know what you are doing its no easy to get into th amino box to change the IP adress that set up by default. I suggest just doing the muliplex stream. It took me a long time to get on to work. Hope that helps

__mami2

Postby __mami2 » 06 Apr 2006 10:18

What????

I'm talking about RTSP streaming and VOD.

robc
Blank Cone
Blank Cone
Posts: 53
Joined: 22 Dec 2005 22:04
Location: Melbourne, Australia
Contact:

Postby robc » 27 Apr 2006 04:30

What????

I'm talking about RTSP streaming and VOD.
I have written a patch to permit VLC to be used as a RTSP VOD server for Amino STBs which can be downloaded from the vlc-devel mailing list archive at http://www.via.ecp.fr/via/ml/vlc-devel/ ... 00544.html - The changes associated with this patch are to modify the command sequence response header (from "Cseq" to "CSeq"), add command-line support to set the mux for raw UDP streams and add support for the RTSP GET_PARAMETER command.

aospan

Postby aospan » 11 May 2006 17:04

It's work :)
Compile vlc from subversion and start like this:
vlc --rtsp-host 0.0.0.0:554 --rtsp-raw-mux=ts --ttl 12 -vvv --color -I telnet

then:
telnet 127.0.0.1 4212
> new test vod enabled
> setup test input /mpeg2l.m2t

and then on amino 110:
type=VOD;servertype=MediaBase;src=rtsp://10.1.2.6:554//10.1.2.6/test

request is seems like:
18:51:33.743542 IP 10.1.2.25.1030 > 10.1.2.6.554: P 1:183(182) ack 1 win 5840 <nop,nop,timestamp 4118 827809999>
0x0000: 4500 00ea f652 4000 4006 2b9b 0a01 0219 E....R@.@.+.....
0x0010: 0a01 0206 0406 022a 9eb6 e658 0ffe 7894 .......*...X..x.
0x0020: 8018 16d0 b2e5 0000 0101 080a 0000 1016 ................
0x0030: 3157 60cf 5345 5455 5020 7274 7370 3a2f 1W`.SETUP.rtsp:/
0x0040: 2f31 302e 312e 322e 362f 6e65 7475 7020 /10.1.2.6/test.
0x0050: 5254 5350 2f31 2e30 0d0a 4353 6571 3a20 RTSP/1.0..CSeq:.
0x0060: 310d 0a55 7365 722d 4167 656e 743a 204d 1..User-Agent:.M
0x0070: 4241 5345 5f4d 5045 475f 504c 4159 4552 BASE_MPEG_PLAYER
0x0080: 5f4b 410d 0a54 7261 6e73 706f 7274 3a20 _KA..Transport:.
0x0090: 5241 572f 5241 572f 5544 503b 756e 6963 RAW/RAW/UDP;unic
0x00a0: 6173 743b 6465 7374 696e 6174 696f 6e3d ast;destination=
0x00b0: 3130 2e31 2e32 2e32 353b 636c 6965 6e74 10.1.2.25;client
0x00c0: 5f70 6f72 743d 3131 3131 313b 0d0a 782d _port=11111;..x-
0x00d0: 6d61 794e 6f74 6966 793a 0d0a 782d 706c mayNotify:..x-pl
0x00e0: 6179 4e6f 773a 0d0a 0d0a ayNow:....

answer like:

18:51:33.852491 IP 10.1.2.6.554 > 10.1.2.25.1030: P 1:171(170) ack 183 win 1716 <nop,nop,timestamp 827810258 4118>
0x0000: 4500 00de 1846 4000 4006 09b4 0a01 0206 E....F@.@.......
0x0010: 0a01 0219 022a 0406 0ffe 7894 9eb6 e70e .....*....x.....
0x0020: 8018 06b4 9c69 0000 0101 080a 3157 61d2 .....i......1Wa.
0x0030: 0000 1016 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200
0x0040: 204f 4b0d 0a54 7261 6e73 706f 7274 3a20 .OK..Transport:.
0x0050: 5241 572f 5241 572f 5544 503b 636c 6965 RAW/RAW/UDP;clie
0x0060: 6e74 5f70 6f72 743d 3131 3131 312d 3131 nt_port=11111-11
0x0070: 3131 320d 0a53 6572 7665 723a 2056 4c43 112..Server:.VLC
0x0080: 2053 6572 7665 720d 0a43 6f6e 7465 6e74 .Server..Content
0x0090: 2d4c 656e 6774 683a 2030 0d0a 4353 6571 -Length:.0..CSeq
0x00a0: 3a20 310d 0a43 6163 6865 2d43 6f6e 7472 :.1..Cache-Contr
0x00b0: 6f6c 3a20 6e6f 2d63 6163 6865 0d0a 5365 ol:.no-cache..Se
0x00c0: 7373 696f 6e3a 2035 3532 3039 3731 3630 ssion:.552097160
0x00d0: 3b74 696d 656f 7574 3d35 0d0a 0d0a ;timeout=5....

__mami2

Postby __mami2 » 11 May 2006 23:27

OK! So I see, finally the problem is solved,

what about jump, fast forward, rewind and so ... are any of these supperted?

As I remember LIVE555 does not currently support these options, it just supports pause, but no for example to jump from one location of video to another.

robc
Blank Cone
Blank Cone
Posts: 53
Joined: 22 Dec 2005 22:04
Location: Melbourne, Australia
Contact:

Postby robc » 12 May 2006 00:38

Play and pause are currently supported, and while the Amino STB will happily send through a PLAY command with a Scale header for fast-forward or rewind action, this header is currently ignored by the VLC RTSP server interface. I am intending to investigate this further once I have time to do so. Likewise position jumping is not supported currently through the VLC RTSP server interface (although can be achieved through the RC interface for active streams).

Guest

Re: RTSP Streaming to AMINET 110

Postby Guest » 15 May 2006 07:35

As we have understood till now:

VLC can not be used as a RTSP server for amino AMINET Devices, bacause they use their special kind of RTSP implementation.

RTSP uses mainly RTP for transferring the video stream but AMINET uses RTSP along with UDP for transferring the video.

I know VLC uses LIVE555.com package for RTSP Implementation.

Now my question:
live555.com claims that it fully supports AMINET devices and as far as I understood there are many successful cases for this.
VLC is based on live555. then, why VLC is not able to serve AMINET correctly?

__mami
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Mar 2005 16:01

Postby __mami » 17 May 2006 09:48

So,
For adding the jump feature ( and rewind ) we can use RC or Telnet interface. yes?

The video is sent to AMINET using RTSP, and pause is managed by RTSP. for other actions like, stop, jump and rewind, we should develope the needed codes for managin telnet or rc interfaces. correct?

Now, I'm wondering about AMINET side. As you know, when you press a key of the remote control for aminet, the pressed key can be obtained using a java script. ( the script which is running under Ant Fresco ) now, I'm wondering what will happen when you are sending the video through RTSP, will you still be able to capture the pressed key, or may be, this process will be done completely by the RTSP related code in AMINET.

RichC

Postby RichC » 21 May 2006 02:56

Here is some html code you could play with allowing the user to press
buttons and then examine the code send to RTSP routines:

<script language="javascript">
function keyAction(e) {
var keypressed = e.which;
switch(keypressed)
{
case 1073742136: // Pause
AVMedia.Pause();
break;
case 1073742131: // Play
AVMedia.Continue();
break;
case 1073742132: // FF
AVMedia.SetSpeed(10);
break;
case 1073742134: // Rewind
AVMedia.SetSpeed(-10);
break;
case 1073742133: // Stop
AVMedia.Kill();
break;
default:
// un-comment this statement to determine teh key codes for additional keys
alert("unhandled key press: "+keypressed);
break;
}
}
</script>

raliand
New Cone
New Cone
Posts: 1
Joined: 08 Aug 2006 09:08

Postby raliand » 08 Aug 2006 09:11

Hi RichC,
Do you have more examples on the javascript that the Fresco browseer uses on the Aminet boxes?

Paul Yarkov
New Cone
New Cone
Posts: 5
Joined: 17 Jan 2007 16:11

VLC 0.8.6-svn (rev. 15380) can't start TELNET interface

Postby Paul Yarkov » 17 Jan 2007 16:41

I try to compile 0.8.6-svn (rev. 15380) with lastest CygWin under Win2k. This revision has patch for Aminet 110 by Rob Casey. I am badly need for it. So I use contrib-20060428-win32-bin-gcc-3.4.5-only.tar.bz2 and cygwin-compile.txt recomendations. Compilation was almost normal exclude some warnings. But then I run vlc.exe from command-line:
vlc --rtsp-host 0.0.0.0:554 --rtsp-raw-mux=ts --ttl 12 -vvv --color -I telnet
program is "drop" and
telnet localhost 4212
command has no effect and write about connection error.
Any ideas?
PS. Excuse me for my bad English.

fongoa
New Cone
New Cone
Posts: 8
Joined: 06 Feb 2007 22:30

Postby fongoa » 20 Feb 2007 23:50

It's work :)
Compile vlc from subversion and start like this:
can you paste your configure line? what was enabled... i try to make my own too.

thankyou

Brownstone
Blank Cone
Blank Cone
Posts: 54
Joined: 19 Aug 2006 02:50

Postby Brownstone » 08 Mar 2007 16:38

Is there any further progress on this? Does VLC support RTSP trick-play on AmiNET 110? Thanks! 8)
Of course, that's just my opinion. I could be wrong.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests