Problem with m3u8 to rtmpHello, i found a m3u8 720p live stream i tried convert it and restream to my rtmp server.
1st i tried to simply use ffmpeg to restream it. i tried commands: Code:
ffmpeg -i http://m3u8 -vcodec copy -acodec dopy -f flv rtmp://xxxx/xxx/xxoutput file #0 does not contain any stream ffmpeg same with: -vcodec libx264 and -acodec aac, also with -map 0:0 -map 0:1, or -map 1:1 -map 1:2. So i think im use livestreamer, command: Code:
screen -S asd livestreamer --yes-run-as-root "hls://http://m3u8" best --player-external-http --player-external-http-port "4824"Code:
ffmpeg -i http://localhost:port -vcodec copy -acodec aac -f flv rtmp://xxxx/xx/xCode:
[mpegts @ 0xc5d320] Continuity check failed for pid 0 expected 1 got 0When i add -vcodec libx264 it works but it is little laggy. Question is how to download and stream with no lags, or with -vcodec copy to RTMP. If someone need http://m3u8 i can pm it. |
| All times are GMT -6. The time now is 03:38 AM. |