VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Hi, everybody! Sorry if this isn't the right place for posting this, but thought someone could help. This is very urgent.

    So I am trying to record a livestream using FFmpeg, but a few minutes into the recording, it stops the process, even when the stream's still "going on". I am assuming the stream is re-authenticating, or something, but it's causing trouble.

    Here's my command:
    Code:
    ffmpeg -i [m3u8 link] -c copy -f mpegts output.ts
    Have also tried:
    Code:
    ffmpeg -re -i [m3u8 link] -c copy -f mpegts output.ts
    Both produce the same results. I have to note, though, that recording the stream using VLC produces the same problem also. All playback stops, and you have to reload, so to say, the stream, to resume recording, which really isn't ideal.

    Any help would be appreciated. Thanks, in advance!
    Quote Quote  
  2. Even tried adding this at the beginning of the command:
    Code:
    -reconnect 1
    Still getting this error:
    Code:
    [https @ 000001f15219f480] Stream ends prematurely at 526886888, should be 18446744073709551615
    [mpegts @ 000001f15218a300] PES packet size mismatch
    [mpegts @ 000001f15218a300] Packet corrupt (stream = 1, dts = 187530120).
    [in#0/mpegts @ 000001f15218a180] corrupt input packet in stream 13x
    [in#0/mpegts @ 000001f15218a180] Error during demuxing: I/O error
    [in#0/mpegts @ 000001f15218a180] Error retrieving a packet from demuxer: I/O error
    [out#0/mpegts @ 000001f153b8ea00] video:430094kB audio:38829kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.710567%
    size=  491012kB time=00:13:52.44 bitrate=4832.0kbits/s speed=0.983x
    This is starting to drive me crazy.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!