[Live-devel] Stream errors with MPEG 4 ES

Kumar Bala (DSP-Weuffen GmbH) kumar.bala at DSP-Weuffen.de
Tue Jul 1 06:08:51 PDT 2008


>> 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 at dsp-weuffen.de <mailto:kumar.bala at dsp-weuffen.de>
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.


More information about the live-devel mailing list