Ross Finlayson | 1 Jul 2008 06:15
Favicon

Re: [patch] minor ctor/dtor leak in liveMedia/MP3ADUinterleaving.cpp

Thanks for the report.  This bug will be fixed in the next release of 
the software.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Hannah | 1 Jul 2008 09:41
Picon

Queries about live555 Streaming Media

Hi
I'm trying to compile the live555 Streaming Media packet on Linux. I have 2 problems and can't find the solution in the FAQ. So I wrote to ask. Hope you will reply to me :)

1. When I compile the source code package, I follow the instructions that :
        - extract the package to a folder, then type the command : cd home/hannah/Documents . This is the folder contains the "live".
        -  After that I create the makefile by the command :   ./genMakefiles linux. But I got the error "new line". So I can't proceed further. (can't "make" )
What's the problem when I create Makefile? I search google to find answer, but can't find it. Any modifications I should make before compiling the package? (I have the gcc compiler already).

2. I have one idea that, like the Bittorrent, I will have a server (tracker) and clients connect together, but I will not need to wait for it to finish downloading, but I just wait for it to buffer, then play.
  - Can I use live555 Streaming Media package to do that?
  - If yes, it means I will need to create a database for server, to track down which client got which file and need which file? How can I create database?
  - Can I let 2 clients connect together? Like client 1 got file A, client 2 need that file, can I let the 2 clients connect and take the file it need? (for example use openRSTP client). If yes, how can I connect them?

This is just the idea. But I don't know how to implement.
Hope you will reply to me.
Thank you very much
Have a nice day.

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 1 Jul 2008 10:04
Favicon

Re: Queries about live555 Streaming Media

1. When I compile the source code package, I follow the instructions that :
        - extract the package to a folder, then type the command : cd home/hannah/Documents . This is the folder contains the "live".

You need to cd *into* the "live" directory itself.  Then run "./genMakefiles linus", and then "make".


2. I have one idea that, like the Bittorrent, I will have a server (tracker) and clients connect together, but I will not need to wait for it to finish downloading, but I just wait for it to buffer, then play.
  - Can I use live555 Streaming Media package to do that?

I'm sorry, I don't understand your question, but I suspect that you might not fully understand what our software does.  After buildng the software, you should first familiarize yourself with the various demo applications (in the "testProgs" directory).
-- --

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Picon

Stream errors with MPEG 4 ES

Hello,

I use  the testOnDemandRTSPServer to stream live video (captured using
an analog camera and encoded to MPEG 4 ES using a co-processor). I use
ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my
device. I have modified doReadFromFile in such a way that it reurns an
MPEG 4 frame from the "codec engine"(capture device + mpeg 4 encoder).

I am having problems with the BANK_SIZE defined in StreamParser.cpp.
Since I keep on reading from the codec engine and filling data untill
BANK_SIZE (am I right ???) . When I reach the boundary (around
BANK_SIZE) and I read X bytes and if adding X bytes would exceeed
BANK_SIZE I end up with an error (and a visible glitch) at the decoder
(mplayer compiled with LIVE555 support and MAX_RTP_FRAME_SIZE increased
to 100000).

Here is the output at the mplayer end:

[mpeg4  <at>  0x889a290]Error at MB: 89
[mpeg4  <at>  0x889a290]concealing 1584 DC, 1584 AC, 1584 MV errors
[mpeg4  <at>  0x889a290]ac-tex damaged at 20 17
[mpeg4  <at>  0x889a290]Error at MB: 802
[mpeg4  <at>  0x889a290]concealing 884 DC, 884 AC, 884 MV errors
[mpeg4  <at>  0x889a290]ac-tex damaged at 12 22

Here is the debug output(newly added) at the Server end,

----------------------
ByteCount exceeded
----------------------

bufferSize = 79020
byteCount  = 9954316
----------------------
ByteCount exceeded
----------------------
bufferSize = 13086
byteCount  = 999549

and the explanation:
bufferSize - size of frame returned by the codec engine.
byteCount  - current amount of bytes I have filled into "fTo" buffer

What should I do to ignore the last frames since they exceed BANK_SIZE ?
or my understanding of the problem is flawed ?. I can stream videos with
really low latency using live555 server. The only glitch I have now is
there error happening once in 30 sec or so.

Any suggestion on how to fix this would be of great help.

Mit freundlichen Grüßen / Best regards
Kumar Bala
Picon

MPEG4 not elementary

Hello,

I wanted to ask if there is anyone who have managed to write some code for streamming (like the example testMPEG4Streammer) MPEG4 files (not the elementary) and wouldn't mind to share. I have tried the example with the elementary files and it works fine, but I would like to stream normal mp4 files.

Thanks.

_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 1 Jul 2008 11:58
Favicon

Re: Stream errors with MPEG 4 ES

>I use  the testOnDemandRTSPServer to stream live video (captured using
>an analog camera and encoded to MPEG 4 ES using a co-processor). I use
>ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my
>device. I have modified doReadFromFile in such a way that it reurns an
>MPEG 4 frame from the "codec engine"(capture device + mpeg 4 encoder).

Because your input device returns discrete MPEG-4 video frames, 
rather than a byte stream, it'd be better if you used 
"MPEG4VideoStreamDiscreteFramer", rather than 
"MPEG4VideoStreamFramer".

However, your first test should have been using the *unmodified* 
source code - to stream from a MPEG-4 Video Elementary Stream *file*. 
I.e., you should have first created a file "test.m4e" - from the 
output of your encoder - and then tried streaming this, using the 
*unmodified* "testOnDemandRTSPServer" (or "testMPEG4VideoStreamer") 
application.  (In general, once you've modified the supplied code, 
you can't expect to get much support on this mailing list.)

I suspect that perhaps the output from your encoder is not in the 
proper form - i.e., not a true MPEG-4 Video Elementary Stream.  If 
you this may be true, then please put your "test.m4e" file on a web 
server, and send us the URL, so we can download and test this for 
ourselves.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Ross Finlayson | 1 Jul 2008 12:04
Favicon

Re: Stream errors with MPEG 4 ES

Oops, I omitted a word from my previous answer:

>I suspect that perhaps the output from your encoder is not in the 
>proper form - i.e., not a true MPEG-4 Video Elementary Stream.  If 
>you

think

>this may be true, then please put your "test.m4e" file on a web 
>server, and send us the URL, so we can download and test this for 
>ourselves.

--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Luc Roels | 1 Jul 2008 12:15
Picon
Favicon

client disconnect

Hi,
 
I would like to be able to let the client survive a 15 second ethernet cable disconnect when streaming over TCP! Where exactly in the code would I have to make modifications to make this happen? I suspect the problem lies with trying to send RTCP packets?
 
best regards,
 
Luc

Even niet achter je PC? Neem je Messenger mee op je gsm! Messenger voor Mobile
_______________________________________________
live-devel mailing list
live-devel@...
http://lists.live555.com/mailman/listinfo/live-devel
Ross Finlayson | 1 Jul 2008 12:27
Favicon

Re: client disconnect

>Hi,
>
>I would like to be able to let the client survive a 15 second 
>ethernet cable disconnect when streaming over TCP! Where exactly in 
>the code would I have to make modifications to make this happen? I 
>suspect the problem lies with trying to send RTCP packets?

No, I suspect the problem lies with your operating system - it's 
probably responsible for closing the TCP connection in this case.
--

-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Picon

Re: Stream errors with MPEG 4 ES

>> Because your input device returns discrete MPEG-4 video frames,
rather than a byte stream, it'd be better if you used
"MPEG4VideoStreamDiscreteFramer", rather than "MPEG4VideoStreamFramer".

That did the trick, I streamed for 30 min without one single error !!!

Thanks a ton.

Mit freundlichen Grüßen / Best regards

Kumar Bala
(Software Developer and System Designer)

DSP-Weuffen
Software/Hardware für DSP- und MCP-Konzeption und Optimierung ihres Systems

DSP-Weuffen GmbH
Schomburger Strasse 11
88279 Amtzell

Tel:    +49 7520 / 96673 - 146
Fax:   +49 7520 / 96673 - 124
Mail:  kumar.bala@... <mailto:kumar.bala@...>
Web: http://www.dsp-weuffen.de <http://www.dsp-weuffen.de/>

Geschäftsführer: Dieter Weuffen  | Amtsgericht 89014 ULM   |  HR-NR:
HRB621135

Bitte beachten Sie, dass diese E-Mail einschließlich aller eventuell
angehängten Dokumente vertrauliche und/oder rechtlich geschützte
Informationen enthalten kann. Der Inhalt ist ausschließlich für den
bezeichneten Adressaten bestimmt. Wenn Sie nicht der richtige Adressat
oder dessen Vertreter sind, setzen Sie sich bitte mit dem Absender der
E-Mail in Verbindung und löschen Sie die E-Mail sofort. Jede Form der
Verwendung, Veröffentlichung, Vervielfältigung oder Weitergabe des
Inhalts fehlgeleiteter E-Mails ist unzulässig.

Ross Finlayson wrote:
>> I use  the testOnDemandRTSPServer to stream live video (captured using
>> an analog camera and encoded to MPEG 4 ES using a co-processor). I use
>> ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my
>> device. I have modified doReadFromFile in such a way that it reurns an
>> MPEG 4 frame from the "codec engine"(capture device + mpeg 4 encoder).
>
> Because your input device returns discrete MPEG-4 video frames, rather
> than a byte stream, it'd be better if you used
> "MPEG4VideoStreamDiscreteFramer", rather than "MPEG4VideoStreamFramer".
>
> However, your first test should have been using the *unmodified*
> source code - to stream from a MPEG-4 Video Elementary Stream *file*.
> I.e., you should have first created a file "test.m4e" - from the
> output of your encoder - and then tried streaming this, using the
> *unmodified* "testOnDemandRTSPServer" (or "testMPEG4VideoStreamer")
> application.  (In general, once you've modified the supplied code, you
> can't expect to get much support on this mailing list.)
>
> I suspect that perhaps the output from your encoder is not in the
> proper form - i.e., not a true MPEG-4 Video Elementary Stream.  If you
> this may be true, then please put your "test.m4e" file on a web
> server, and send us the URL, so we can download and test this for
> ourselves.

Gmane