<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap:break-word">
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">Thanks Ross for the quick reply,</font></span></div>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="325543715-03032014"> <font color="#0000ff" size="2" face="Arial">
In fact I have the choice of the stream protocol, may be it is more simple to use MP4 video stream over RTP.</font></span></div>
<ul dir="ltr">
<li>
<div align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">For receiving:</font></span></div>
<ul>
<li>
<div align="left"><span class="325543715-03032014"></span><span class="325543715-03032014"><font color="#0000ff"><font face="Arial"><font size="2">I can use
<font color="#000000"><em>testMPEG2TransportReceiver</em> </font></font></font><font size="2" face="Arial">and replace
</font><font face="Arial"><font size="2"><font color="#000000">SimpleRTPSource</font><span class="325543715-03032014"> with
<font size="2"><font color="#000000">MPEG4ESVideoRTPSource</font>.</font></span></font></font></font></span></div>
</li><li>
<div align="left"><span class="325543715-03032014"><font color="#0000ff"><font face="Arial"><font size="2"><span class="325543715-03032014">But I need to use
<font color="#000000" size="3" face="Times New Roman">MPEG4VideoStreamFramer<font color="#0000ff"> in order to extract the MP4V frames.</font></font></span></font></font></font></span></div>
</li><li>
<div align="left"><span class="325543715-03032014"><font color="#0000ff"><span class="325543715-03032014">Is it right?</span></font></span></div>
</li></ul>
</li><li>
<div align="left"><span class="325543715-03032014"><font color="#0000ff"><span class="325543715-03032014">For streaming:</span></font></span></div>
<ul>
<li>
<div align="left"><span class="325543715-03032014"><font size="2" face="Arial">
<div align="left"><span class="325543715-03032014"></span><span class="325543715-03032014"><font color="#0000ff"><font face="Arial"><font size="2">I can use
<font color="#000000"><em>testMPEG2TransportStreamer</em> </font></font></font><font size="2" face="Arial">and replace
</font><font face="Arial"><font size="2"><font color="#000000"><font size="2">SimpleRTPSink</font></font><span class="325543715-03032014"> with
<font size="2"><font color="#000000">MPEG4ESVideoRTPSink</font>.</font></span></font></font></font></span></div>
</font></span></div>
</li><li>
<div align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">But which filter I need to use in order to convert MP4V frames to MP4V-ES packets?</font></span></div>
</li></ul>
</li></ul>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">thanks for your help</font></span></div>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">best regards</font></span></div>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="325543715-03032014"><font color="#0000ff" size="2" face="Arial">Jean-Luc Bonnet</font></span></div>
<div dir="ltr" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>De :</b> live-devel-bounces@ns.live555.com [mailto:live-devel-bounces@ns.live555.com]
<b>De la part de</b> Ross Finlayson<br>
<b>Envoyé :</b> lundi 3 mars 2014 16:19<br>
<b>À :</b> LIVE555 Streaming Media - development & use<br>
<b>Objet :</b> Re: [Live-devel] TR: MP4 Video over Transport Stream<br>
</font><br>
</div>
<div></div>
<div>
<blockquote type="cite">
<div>
<ul>
<li><font size="2" face="Arial">I receive a MP4 video stream over MPEG TS:</font>
<ul>
<li><font size="2" face="Arial">I use test program <em>testMPEG2TransportReceiver</em> and It works fine.
</font></li></ul>
</li><li><font size="2" face="Arial"><span class="178175411-03032014"></span></font><font size="2" face="Arial">Now I need to write an AVI file containing the MPG4 video Frames. </font>
<ul>
<li><font size="2" face="Arial">But I don't find which filter i need to use in order to convert MPEG TS packets to MP4V frames and how I can detect key frames inside this stream.</font></li></ul>
</li></ul>
</div>
</blockquote>
<div>Unfortunately we don't provide any 'demultiplexor' for Transport Streams, so you can't do this using our software.</div>
</div>
<div><br>
<blockquote type="cite">
<div>
<ul>
<li></li><li><font size="2" face="Arial">I also need to stream these AVI files using MPEG TS:</font>
<ul>
<li><font size="2" face="Arial">I think to use <em>testMPEG2TransportStreamer</em> test program </font>
</li><li><font size="2" face="Arial">But I don't find which filter i need to use in order to convert MP4V frames to MPEG TS packets.</font></li></ul>
</li></ul>
</div>
</blockquote>
<div>You could do this using our software by</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>1/ Creating a "MPEG2TransportStreamFromESSource" object</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>2/ Calling "addNewVideoSource()" on this "MPEG2TransportStreamFromESSource" object, with the input MPEG-4 video source as parameter, and with a "mpegVersion" parameter of 4.</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>(If the MPEG-4 video comes from a MPEG-4 Video Elementary Stream file - *not* an AVI file - then you must first pass this file through a "MPEG4VideoStreamFramer" object. Unfortunately, however,
we don't support reading from AVI files.)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>3/ Creating a "FileSink" object (for the output Transport Stream file)</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>4/ Calling "startPlaying()" on the "FileSink" object, with the "MPEG2TransportStreamFromESSource" object as source.</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>5/ Call "doEventLoop()" to enter the LIVE555 event loop (if you're not already in it).</div>
<div><br>
</div>
<div>In short, if your input file is a MPEG-4 Video Elementary Stream file - *not* an AVI file - then you could use the code for the "testH264VideoToTransportStream" demo application (in the "testProgs" directory), except that</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>- You would use "MPEG4VideoStreamFramer" rather than "H264VideoStreamFramer".</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>- The "addNewVideoSource()" call would use a "mpegVersion" parameter of 4 rather than 5.</div>
</div>
<br>
<br>
<div><span class="Apple-style-span" style="border-spacing:0px; border-collapse:separate"><span class="Apple-style-span" style="line-height:normal; widows:2; text-transform:none; font-variant:normal; font-style:normal; text-indent:0px; border-collapse:separate; font-family:Helvetica; white-space:normal; orphans:2; letter-spacing:normal; color:rgb(0,0,0); font-weight:normal; word-spacing:0px">Ross
Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/">http://www.live555.com/</a></span></span> </div>
<br>
This message is subject to the following terms and conditions: <a href="http://www.barco.com/en/maildisclaimer">
MAIL DISCLAIMER</a>
</body>
</html>