[vlc] RTSP: How to Announce EOF event to the RTSP Client

ravinder ravinder.bhukya at zenmediasolutions.net
Sat Jul 11 11:40:05 CEST 2009


Message: 3
Date: Fri, 10 Jul 2009 14:22:54 +0200
From: R?mi Denis-Courmont <remi at remlab.net>
Subject: Re: [vlc] RTSP: How to Announce EOF event to the RTSP Client
To: Mailing list for VLC media player users <vlc at videolan.org>
Message-ID: <185fe154231d128a9fe8870687a4cbc6 at chewa.net>
Content-Type: text/plain; charset="UTF-8"


>>On Fri, 10 Jul 2009 17:27:26 +0530, "ravinder"
>><ravinder.bhukya at zenmediasolutions.net> wrote:
>> I have transcoded a file using x264. The resultant, transcoded file is
not
>> giving timestamp while playing. I have ingested that file into VLC
>> streamming server through command line. As its duration is not retrieved
>> the SDP doesn't contain the duration of the video so that at the end of
>> the file client can send the TEARDOWN.

>The TEARDOWN should occur as a consequence of the server sending an RTCP
>BYE compound for each medias. There is no need to advertise the duration of
>the session for this to work. In fact, sometimes even the server does not
>know the length.

>It is very likely that misc/rtsp.c fails to send a BYE compound since it is
>very low-quality code.

>-- 
>R?mi Denis-Courmont



First of all thanks Remi Denis for your reply and I absolutely agree with
your reply in case of stream is delivered through RTP/RTCP protocol. I am
sorry that I forgot to mention the protocol that I used to deliver the media
and it is: I am using MPEG-2 Transport Stream in which there is no concept
of RTCP so, there is no way to announce the EOF reached event to the client
and client is still waiting for the data instead of sending TEARDOWN. I feel
in such cases server need to ANNOUNCE EOF event to the client so that it
will teardown the RTSP session. Another doubt that I had is how I can add
another RTSP method to server? Which files and area of code that I need to
modify. Once what happened is I have added PING method to the server in
misc/rtsp.c file which has given me core dump. Another thing which I didn't
understand is that why the two functions named "RtspCallback" and "
RtspCallbackES" were present as it seems that both were implemented the same
functionality?


Ravinder



-----Original Message-----
From: vlc-bounces at videolan.org [mailto:vlc-bounces at videolan.org] On Behalf
Of vlc-request at videolan.org
Sent: Saturday, July 11, 2009 1:21 PM
To: vlc at videolan.org
Subject: vlc Digest, Vol 26, Issue 14

Send vlc mailing list submissions to
	vlc at videolan.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.videolan.org/listinfo/vlc
or, via email, send a message with subject or body 'help' to
	vlc-request at videolan.org

You can reach the person managing the list at
	vlc-owner at videolan.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of vlc digest..."


Today's Topics:

   1.  RTSP: How to Announce EOF event to the RTSP Client (ravinder)
   2.  Determine alive RTSP session on particular label (ravinder)
   3. Re:  RTSP: How to Announce EOF event to the RTSP Client
      (R?mi Denis-Courmont)
   4. Re:  libvlc_media_player_get_time always return 0 of rtsp
      stream (??)
   5.  Bug Report (Ivan White)
   6.  Bug Versi?n 1.0.0 Mac OS X (Juan Gabriel Benitez Rodriguez)
   7.  VLC installer clickwrap (Andrew Nagy)


----------------------------------------------------------------------

Message: 1
Date: Fri, 10 Jul 2009 17:27:26 +0530
From: "ravinder" <ravinder.bhukya at zenmediasolutions.net>
Subject: [vlc] RTSP: How to Announce EOF event to the RTSP Client
To: <vlc at videolan.org>
Message-ID:
	<012701ca0155$97ef97f0$c7cec7d0$@bhukya at zenmediasolutions.net>
Content-Type: text/plain; charset="us-ascii"

Hi,

I have transcoded a file using x264. The resultant, transcoded file is not
giving timestamp while playing. I have ingested that file into VLC
streamming server through command line. As its duration is not retrieved the
SDP doesn't contain the duration of the video so that at the end of the file
client can send the TEARDOWN. So, now the problem is: The EOF (end of file)
event is occurring at server end and client is not known about that and it's
still expecting rtp data. But, at the server end the EOF is occurred and
RTSP session is still alive and there is flow of media data. To resolve this
problem I want to ANNOUNCE about the EOF event to the client so that it will
send TEARDOWN to the server and the RTSP session can be stopped.
Can, anyone help me how I can know about the EOF event in
modules/misc/rtsp.c file for that particular session? and 
How can I send a ANNOUNCE message to the client?

 

Thanks & Regards,

Ravinder

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.videolan.org/pipermail/vlc/attachments/20090710/09df65f0/att
achment-0001.htm>

------------------------------

Message: 2
Date: Fri, 10 Jul 2009 17:28:07 +0530
From: "ravinder" <ravinder.bhukya at zenmediasolutions.net>
Subject: [vlc] Determine alive RTSP session on particular label
To: <vlc at videolan.org>
Message-ID:
	<012c01ca0155$b08ba470$11a2ed50$@bhukya at zenmediasolutions.net>
Content-Type: text/plain; charset="us-ascii"

Hi,

I have started VLC in vod server mode. I have ingested few video files with
few labels. I want to delete some particular label from the server but,
before deleting the label I want to check whether any rtsp sessions are
established and running on that label or not from network module, httpd.c
file of the vlc. Can any one help me to do this. First of all whether it is
possible to know the above asked information in httpd.c or not if yes, then
which function I need to call to know the status of the label?

Thanks & Regards,
Ravinder

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.videolan.org/pipermail/vlc/attachments/20090710/58168e67/att
achment-0001.htm>

------------------------------

Message: 3
Date: Fri, 10 Jul 2009 14:22:54 +0200
From: R?mi Denis-Courmont <remi at remlab.net>
Subject: Re: [vlc] RTSP: How to Announce EOF event to the RTSP Client
To: Mailing list for VLC media player users <vlc at videolan.org>
Message-ID: <185fe154231d128a9fe8870687a4cbc6 at chewa.net>
Content-Type: text/plain; charset="UTF-8"


On Fri, 10 Jul 2009 17:27:26 +0530, "ravinder"
<ravinder.bhukya at zenmediasolutions.net> wrote:
> I have transcoded a file using x264. The resultant, transcoded file is
not
> giving timestamp while playing. I have ingested that file into VLC
> streamming server through command line. As its duration is not retrieved
> the SDP doesn't contain the duration of the video so that at the end of
> the file client can send the TEARDOWN.

The TEARDOWN should occur as a consequence of the server sending an RTCP
BYE compound for each medias. There is no need to advertise the duration of
the session for this to work. In fact, sometimes even the server does not
know the length.

It is very likely that misc/rtsp.c fails to send a BYE compound since it is
very low-quality code.

-- 
R?mi Denis-Courmont



------------------------------

Message: 4
Date: Sat, 11 Jul 2009 11:05:55 +0800
From: ?? <claritywong at gmail.com>
Subject: Re: [vlc] libvlc_media_player_get_time always return 0 of
	rtsp	stream
To: Mailing list for VLC media player users <vlc at videolan.org>
Message-ID:
	<2ae520560907102005t719b4a0eq9e1ce7fa2aeda70a at mail.gmail.com>
Content-Type: text/plain; charset="gb2312"

good news.
live555-2009.07.09 fix this bug.
vlc can get the current time.

2009/7/9 ?? <claritywong at gmail.com>

> can you use the vlm? because the file adapt to live555mediaserver is to
> big.
> the mail attachment is my file using vlm as a rtsp server.
> thank you.
>
> 2009/7/8 Ross Finlayson <finlayson at live555.com>
>
>  sorry, i dont have anyone. i test the rtsp using the vlm or
>>> livemediaserver
>>>
>>
>> OK, then please give me the URL of a file that I can download and then
>> stream - using the latest (and unpatched) version of the "LIVE555 Media
>> Server" - to reproduce this problem (of the "RTP-info" header allegedly
not
>> being filled in in the RTSP "PLAY" response).
>>
>> --
>>
>> Ross Finlayson
>> Live Networks, Inc.
>> http://www.live555.com/
>> ______________________________________________________
>> vlc mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.videolan.org/pipermail/vlc/attachments/20090711/cbff95c7/att
achment-0001.htm>

------------------------------

Message: 5
Date: Fri, 10 Jul 2009 18:38:33 +0100
From: Ivan White <ivanwhite at me.com>
Subject: [vlc] Bug Report
To: vlc at videolan.org
Message-ID: <AEE7BEBE-8C22-4295-8CD5-E28E879EF9E5 at me.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi, I just wanted to report a bug I encountered with the Mac OSX  
version of VLC.

When I used "Check for Update" to update to version 1.0 from the  
pervious version I had (0.9 something, it was the last version before  
1.0), version 1.0 didn't show up under "Check for Update."

I only happened to find out about the update from somebody I follow n  
Twitter. Straight away I opened VLC, & selected "Check for Update",  
but to no avail. So I had to manually download it from the website. I  
would very much like for this bug to be fixed, as I still probably  
wouldn't know about the update without Twitter.

Love the app!

Thank you.

Ivan White
ivanwhite at me.com





------------------------------

Message: 6
Date: Fri, 10 Jul 2009 21:30:18 -0500
From: Juan Gabriel Benitez Rodriguez <juangabo at gmail.com>
Subject: [vlc] Bug Versi?n 1.0.0 Mac OS X
To: vlc at videolan.org
Message-ID:
	<d0d9e4900907101930p56df6784mdcadcc3f1ac39a47 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hola. He tratado de usar la caracter?stica "Compensar desincronizaci?n de
audio" en las preferencias, pero no funciona. Ya intent? reiniciar el equipo
y borr? las preferencias anteriores usando el script que viene en el
instalador, pero sin resultados. Les agradezco que solucionen este problema.
Gracias
Juan Gabriel Ben?tez Rodr?guez.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.videolan.org/pipermail/vlc/attachments/20090710/576e8826/att
achment.htm>

------------------------------

Message: 7
Date: Sat, 11 Jul 2009 03:22:49 +0000
From: Andrew Nagy <ptarmigan0 at hotmail.com>
Subject: [vlc] VLC installer clickwrap
To: <vlc at videolan.org>
Message-ID: <BAY134-W114037C4F90A9B217D9B4184240 at phx.gbl>
Content-Type: text/plain; charset="windows-1252"


I'm slightly confused by the installer for VLC 1.0.0 Win32. It seems to be
set up based on a misinterpretation of the GPL. The installer says "You must
accept the agreement to install VLC media player", with the GPL version 2
being presented as the agreement, but section 0 of the GPL says "Activities
other than copying, distribution and modification are not covered by this
License; they are outside its scope.". A quick search for the word "agree"
shows no references to the reader agreeing to anything. If the license
doesn't place any conditions on using the program, why does the user have to
accept it?

Also, section 6 says "You are not responsible for enforcing compliance by
third parties to this License.", which the installer seems to be an attempt
to do. Depending on how the GPL is interpreted, this might actually be a
violation of section 4's "You may not...sublicense...the Program", or
section 6's "You may not impose any further restrictions on the recipients'
exercise of the rights ranted herein.". IANAL.

Note the installers of 7-Zip, Ghostscript and PowerIso, which simply install
the program and include the GPL as a text file in the installed folder. I
can't check Pidgin and Firefox because I have them already installed, but I
think they work similarly, or at most give the user the opportunity to
review the GPL before installation without requiring them to read or agree
to it.

_________________________________________________________________
Bing? finds low fares by predicting when to book. Try it now.
http://www.bing.com/travel/deals/airline-ticket-deals.do?form=MTRHPG&publ=WL
HMTAG&crea=TXT_MTRHPG_Travel_Travel_TravelDeals_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.videolan.org/pipermail/vlc/attachments/20090711/62f4dea8/att
achment.htm>

------------------------------

_______________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc


End of vlc Digest, Vol 26, Issue 14
***********************************




More information about the vlc mailing list