2

そのコマンドを使用して、静的 MPEG4 から HLS を作成できます。

ffmpeg -i video.mp4 -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts

私は今それを達成しようとしています:

ライブ RTMP(FME)------->FFMEG-------------->HLS

ここに画像の説明を入力

私は試しました:

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

しかし、エラーが発生しました:

接続を閉じています: NetStream.Play.StreamNotFound rtmp://127.0.0.1:1935/live/video: 不明なエラーが発生しました

達成する方法についてのアイデア:

RTMP---->FMPEG----->HLS ?

私も試しました:

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

より良いように見えますが、立ち往生しています:

ble-zlib

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 libscale 2. 1.101 / 1.11111111111111101 . 16.100 / 0. 16.100 libpostproc 52. 1.100 / 52. 1.100 rtmpサーバー送信エラーavcprofile 66.00 タイトルの高さ 240.00 説明 評価 フレームレート 20.00

ありがとう

4

1 に答える 1

0
ffmpeg -re -i rtmp://127.0.0.1/live/video -vcodec libx264 -vprofile baseline -acodec libmp3lame -ar 44100 -ac 1 -f flv rtmp://127.0.0.1/livepkgr/video
于 2016-06-21T13:17:53.507 に答える