Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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/xx output 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/x Code:
[mpegts @ 0xc5d320] Continuity check failed for pid 0 expected 1 got 0 [h264 @ 0x173c500] no frame! [h264 @ 0x173c500] non-existing PPS referenced [h264 @ 0x173c500] non-existing PPS 0 referenced [h264 @ 0x173c500] decode_slice_header error [h264 @ 0x173c500] no frame! When 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. Last edited by godlesowned : 01-28-2016 at 01:59 PM. |
Tags: livestreamer, m3u8, rtmp |
Thread Tools | |
Display Modes | |
|
|