<div dir="ltr"><div>I also tried with red5 with the oflaDemo.</div><div>I found other with the same issue but couldn't find a solution</div><div><a href="http://ffmpeg.org/pipermail/ffmpeg-user/2013-May/015034.html">http://ffmpeg.org/pipermail/ffmpeg-user/2013-May/015034.html</a></div>
<div><a href="http://stackoverflow.com/questions/16113734/red5-receive-a-stream-and-have-it-available-for-just-one-client">http://stackoverflow.com/questions/16113734/red5-receive-a-stream-and-have-it-available-for-just-one-client</a></div>
<div><a href="https://groups.google.com/forum/#!topic/red5interest/U6EGDeDFDqg">https://groups.google.com/forum/#!topic/red5interest/U6EGDeDFDqg</a></div><div> </div><div> </div><div>./ffmpeg -loglevel debug -i rtmp://<a href="http://127.0.0.1/oflaDemo/test">127.0.0.1/oflaDemo/test</a> -f flv test.flv<br>
ffmpeg version N-54023-g6fe419b Copyright (c) 2000-2013 the FFmpeg developers<br>  built on Jun 14 2013 05:25:56 with gcc 4.6 (Debian 4.6.3-1)<br>  configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx<br>
  libavutil      52. 35.101 / 52. 35.101<br>  libavcodec     55. 16.100 / 55. 16.100<br>  libavformat    55.  8.102 / 55.  8.102<br>  libavdevice    55.  2.100 / 55.  2.100<br>  libavfilter     3. 77.101 /  3. 77.101<br>  libswscale      2.  3.100 /  2.  3.100<br>
  libswresample   0. 17.102 /  0. 17.102<br>  libpostproc    52.  3.100 / 52.  3.100<br>Splitting the commandline.<br>Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.<br>
Reading option '-i' ... matched as input file with argument 'rtmp://<a href="http://127.0.0.1/oflaDemo/test">127.0.0.1/oflaDemo/test</a>'.<br>Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.<br>
Reading option 'test.flv' ... matched as output file.<br>Finished splitting the commandline.<br>Parsing a group of options: global .<br>Applying option loglevel (set logging level) with argument debug.<br>Successfully parsed a group of options.<br>
Parsing a group of options: input file rtmp://<a href="http://127.0.0.1/oflaDemo/test">127.0.0.1/oflaDemo/test</a>.<br>Successfully parsed a group of options.<br>Opening an input file: rtmp://<a href="http://127.0.0.1/oflaDemo/test">127.0.0.1/oflaDemo/test</a>.<br>
[rtmp @ 0x29e5440] Handshaking...<br>[rtmp @ 0x29e5440] Type answer 3<br>[rtmp @ 0x29e5440] Server version 1.2.3.4<br>[rtmp @ 0x29e5440] Proto = rtmp, path = /oflaDemo/test, app = oflaDemo, fname = test<br>[rtmp @ 0x29e5440] Creating stream...<br>
[rtmp @ 0x29e5440] Sending play command for 'test'<br>[rtmp @ 0x29e5440] Server error: <br>rtmp://<a href="http://127.0.0.1/oflaDemo/test">127.0.0.1/oflaDemo/test</a>: Operation not permitted</div><div> </div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 1:34 AM, pablo platt <span dir="ltr"><<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sometimes when I'm stopping the media server I suddenly see many packets in the terminal.<br></div>
It seems that ffmpeg is buffering the output and doesn't stream it.<br><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 1:22 AM, pablo platt <span dir="ltr"><<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">

<div dir="ltr"><div>When I'm trying to output to a file it gets stuck at<br>[rtmp @ 0xb481460] New incoming chunk size = 4096<br></div>and when I stop rtmplite I'm getting the rest.<br><div><div><br>./ffmpeg -loglevel debug -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 test.mp3<div>

<br>
ffmpeg version N-54023-g6fe419b Copyright (c) 2000-2013 the FFmpeg developers<br>  built on Jun 14 2013 05:12:40 with gcc 4.6 (Debian 4.6.3-1)<br>  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx<br>


  libavutil      52. 35.101 / 52. 35.101<br>  libavcodec     55. 16.100 / 55. 16.100<br>  libavformat    55.  <a href="tel:8.102%20%2F%2055.%C2%A0%208.102" target="_blank" value="+18102558102">8.102 / 55.  8.102</a><br>  libavdevice    55.  2.100 / 55.  2.100<br>

  libavfilter     3. 77.101 /  3. 77.101<br>  libswscale      2.  3.100 /  2.  3.100<br>
  libswresample   0. <a href="tel:17.102%20%2F%C2%A0%200.%2017.102" target="_blank" value="+17102017102">17.102 /  0. 17.102</a><br>  libpostproc    52.  3.100 / 52.  3.100<br>Splitting the commandline.<br>Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.<br>


Reading option '-i' ... matched as input file with argument 'rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>'.<br>Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.<br>

</div>
Reading option 'test.mp3' ... matched as output file.<div><br>Finished splitting the commandline.<br>Parsing a group of options: global .<br>Applying option loglevel (set logging level) with argument debug.<br>
Successfully parsed a group of options.<br>
Parsing a group of options: input file rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>.<br>Successfully parsed a group of options.<br>Opening an input file: rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>.<br>

</div>
[rtmp @ 0xb481460] Handshaking...<br>[rtmp @ 0xb481460] Type answer 3<br>[rtmp @ 0xb481460] Server version 1.2.3.4<br>[rtmp @ 0xb481460] Proto = rtmp, path = /audio/test, app = audio, fname = test<br>[rtmp @ 0xb481460] Server bandwidth = 1073741824<br>


[rtmp @ 0xb481460] Creating stream...<br>[rtmp @ 0xb481460] Sending play command for 'test'<br>[rtmp @ 0xb481460] New incoming chunk size = 4096<br>[flv @ 0xb480f40] Format flv probed with size=2048 and score=100<br>


[flv @ 0xb480f40] File position before avformat_find_stream_info() is 13<br>[flv @ 0xb480f40] Could not find codec parameters for stream 0 (Video: none): unspecified size<br>Consider increasing the value for the 'analyzeduration' and 'probesize' options<br>


[flv @ 0xb480f40] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unspecified sample format<br>Consider increasing the value for the 'analyzeduration' and 'probesize' options<br>[flv @ 0xb480f40] File position after avformat_find_stream_info() is 13<br>


rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>: could not find codec parameters<br>[AVIOContext @ 0xb481e00] Statistics: 13 bytes read, 0 seeks<br>[rtmp @ 0xb481460] Deleting stream...<br>

</div></div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 12:36 AM, pablo platt <span dir="ltr"><<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><pre>Tested with ffmpeg.static.32bit.2013-06-14.tar.gz from <a href="http://ffmpeg.gusari.org/static/" target="_blank">http://ffmpeg.gusari.org/static/</a> under ubuntu 12.04 32bit.<br>


</pre><pre>I'm using rtmplite with the test client.<br>
test:~/rtmplite$ python rtmp.py -d<br><br>I'm Using the textClient that comes with rtmplite to create a video+audio stream:<br>test:~/rtmplite/testClient/bin-debug$ python -m SimpleHTTPServer<br><br></pre><pre>I open the testClient example with Firefox in<br>



<a href="http://localhost:8000/testClient.html" target="_blank">http://localhost:8000/testClient.html</a><br></pre><pre>Result:<div><br>./ffmpeg -loglevel debug -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 pipe:1<br>


</div>
ffmpeg version N-54023-g6fe419b Copyright (c) 2000-2013 the FFmpeg developers<br>  built on Jun 14 2013 05:12:40 with gcc 4.6 (Debian 4.6.3-1)<br>  configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx<br>



  libavutil      52. 35.101 / 52. 35.101<br>  libavcodec     55. 16.100 / 55. 16.100<br>  libavformat    55.  <a href="tel:8.102%20%2F%2055.%20%208.102" target="_blank" value="+18102558102">8.102 / 55.  8.102</a><br>  libavdevice    55.  2.100 / 55.  2.100<br>


  libavfilter     3. 77.101 /  3. 77.101<br>  libswscale      2.  3.100 /  2.  3.100<br>
  libswresample   0. <a href="tel:17.102%20%2F%20%200.%2017.102" target="_blank" value="+17102017102">17.102 /  0. 17.102</a><br>  libpostproc    52.  3.100 / 52.  3.100<br>Splitting the commandline.<br>Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.<br>



Reading option '-i' ... matched as input file with argument 'rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>'.<br>Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.<br>



Reading option 'pipe:1' ... matched as output file.<br>Finished splitting the commandline.<br>Parsing a group of options: global .<br>Applying option loglevel (set logging level) with argument debug.<br>Successfully parsed a group of options.<br>



Parsing a group of options: input file rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>.<br>Successfully parsed a group of options.<br>Opening an input file: rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a>.<br>



[rtmp @ 0xa8a7460] Handshaking...<br>[rtmp @ 0xa8a7460] Type answer 3<br>[rtmp @ 0xa8a7460] Server version 1.2.3.4<br>[rtmp @ 0xa8a7460] Proto = rtmp, path = /audio/test, app = audio, fname = test<br>[rtmp @ 0xa8a7460] Server bandwidth = 1073741824<br>



[rtmp @ 0xa8a7460] Creating stream...<br>[rtmp @ 0xa8a7460] Sending play command for 'test'<br>[rtmp @ 0xa8a7460] New incoming chunk size = 4096<br></pre></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Sun, Jun 23, 2013 at 8:31 PM, Paul B Mahol <span dir="ltr"><<a href="mailto:onemda@gmail.com" target="_blank">onemda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">



<div>On 6/23/13, pablo platt <<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>> wrote:<br>
</div><div>> I'm using static builds from:<br>
> <a href="http://ffmpeg.gusari.org/static/" target="_blank">http://ffmpeg.gusari.org/static/</a><br>
><br>
> I've tried:<br>
> ./ffmpeg -loglevel debug -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 -<br>
> and<br>
> ./ffmpeg -loglevel debug -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 pipe:1<br>
><br>
> I don't see anything in the shell<br>
<br>
</div>Really? Paste full uncut console output.<br>
<div><div><br>
><br>
><br>
> On Sun, Jun 23, 2013 at 3:57 AM, pablo platt <<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>> wrote:<br>
><br>
>> Sorry but the mailing list is called libav.<br>
>> How can I install ffmpeg on ubuntu 12.04 and above?<br>
>><br>
>><br>
>> On Sun, Jun 23, 2013 at 3:42 AM, Paul B Mahol <<a href="mailto:onemda@gmail.com" target="_blank">onemda@gmail.com</a>> wrote:<br>
>><br>
>>> On 6/23/13, pablo platt <<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > I'm trying to transcode a live RTMP stream to mp3.<br>
>>> > I can't make avconv write the output to stdout.<br>
>>> ><br>
>>> > I was trying:<br>
>>> > avconv -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 -<br>
>>> > and<br>
>>> > avconv -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 pipe:1<br>
>>> ><br>
>>> > But all I'm getting is a message that the speex header is missing.<br>
>>> > When I'm stopping the RTMP server I see some more message but not<br>
>>> getting<br>
>>> > mp3 packets.<br>
>>> ><br>
>>> > I'm using ubuntu 12.04 64bit with the libav-tools deb package.<br>
>>> > For testing I'm using the python rtmp server<br>
>>> > <a href="http://code.google.com/p/rtmplite/" target="_blank">http://code.google.com/p/rtmplite/</a><br>
>>> ><br>
>>> > How can I make the output go to stdout?<br>
>>><br>
>>> You are asking for help on ffmpeg mailing list for avconv<br>
>>> which is from libav (ffmpeg fork).<br>
>>><br>
>>> If you want help for avconv don't ask here as this is<br>
>>> mailing list for ffmpeg only (real ffmpeg not fake one).<br>
>>> _______________________________________________<br>
>>> Libav-user mailing list<br>
>>> <a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
>>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
>>><br>
>><br>
>><br>
><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>