Note that there are some explanatory texts on larger screens.

plurals
  1. POffmpeg: how to stream from rtmp to FLS?
    text
    copied!<p>I can create HLS from static MPEG4 using that command: </p> <pre><code>ffmpeg -i video.mp4 -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts </code></pre> <p>I am now trying to achieve that: </p> <p>live RTMP(FME)------->FFMEG-------------->HLS</p> <p><img src="https://i.stack.imgur.com/v1B2w.jpg" alt="enter image description here"></p> <p>I tried with:</p> <p><code>ffmpeg -i rtmp://127.0.0.1:1935/live/video -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts</code></p> <p>But got error: </p> <blockquote> <p>Closing connection: NetStream.Play.StreamNotFound rtmp://127.0.0.1:1935/live/video: Unknown error occurred</p> </blockquote> <p>Any idea how to achieve : </p> <p>RTMP---->FMPEG----->HLS ?</p> <p>I also tried : </p> <pre><code>ffmpeg -i "rtmp://localhost:1935/live/yarek live=1" -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts </code></pre> <p>Seems better but stucks: </p> <pre><code>ble-zlib </code></pre> <p>libavutil 52. 0.100 / 52. 0.100 libavcodec 54. 69.100 / 54. 69.100 libavformat 54. 35.100 / 54. 35.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 20.106 / 3. 20.106 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 16.100 / 0. 16.100 libpostproc 52. 1.100 / 52. 1.100 <strong>rtmp server sent error</strong> Metadata: videokeyframe_frequency8.00 avclevel 31.00 videodevice Microsoft LifeCam Cinema keywords width 320.00 videodatarate 350.00 presetname Custom copyright creationdate Mon Oct 29 17:51:08 2012 videocodecid avc1 author avcprofile 66.00 title height 240.00 description rating framerate 20.00</p> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload