Hello. I'm using ffmpeg to get a stream(hls) and send it to a media server. After some time i keep getting the following error and the video will never be corrected(i mean i see no video at all). I have to restart ffmpeg.
[mpegts @ 0x559c3a0] Continuity check failed for pid 4095 expected 1 got 0 frame= 4314 fps=2.3 q=23.0 size= 37963kB time=00:04:56.06 bitrate=1050.4kbits/s dup=0 drop=2864 speed=0.16x [AVIOContext @ 0x7d56d00] Statistics: 144760 bytes read, 0 seeks [hls,applehttp @ 0x5575020] HLS request for url 'foo', offset 0, playlist 4 [hls,applehttp @ 0x5575020] Opening 'bar' for reading [http @ 0x7d5d700] request: GET foobar1 HTTP/1.1 User-Agent: Mozilla/5.0 (Linux; Android 5.1.1; SM-G928X Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36 Accept: */* Connection: close Host: foobar Cookie: foofoo Icy-MetaData: 1
Is there any way to fix the problem without having to restart ffmpeg? Thank you very much!
On Mon, Jul 03, 2017 at 21:49:45 +0300, tasos wrote:
Hello. I'm using ffmpeg to get a stream(hls) and send it to a media server. After some time i keep getting the following error and the video will never be corrected(i mean i see no video at all). I have to restart ffmpeg.
[mpegts @ 0x559c3a0] Continuity check failed for pid 4095 expected 1 got 0 frame= 4314 fps=2.3 q=23.0 size= 37963kB time=00:04:56.06 bitrate=1050.4kbits/s dup=0 drop=2864 speed=0.16x [AVIOContext @ 0x7d56d00] Statistics: 144760 bytes read, 0 seeks [hls,applehttp @ 0x5575020] HLS request for url 'foo', offset 0, playlist 4 [hls,applehttp @ 0x5575020] Opening 'bar' for reading [http @ 0x7d5d700] request: GET foobar1 HTTP/1.1 User-Agent: Mozilla/5.0 (Linux; Android 5.1.1; SM-G928X Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36 Accept: */* Connection: close Host: foobar Cookie: foofoo Icy-MetaData: 1
You are usually asked to provide the actual ffmpeg command line and the complete, uncut console output. Does ffmpeg continue to (try to) encode after the corrupt packet ("continuity check")? If I read ffmpeg's source correctly, you could try to set -fflags +discardcorrupt as an output option. ffmpeg should then drop this packet. I'm not sure you will get a better result though. Do give it a try. Regards, Moritz
Thank you very much for replying! Would you like me to add some specific options in order to get a more detailed output? Currently i'm using just -report. On 7/4/2017 11:14 AM, Moritz Barsnick wrote:
On Mon, Jul 03, 2017 at 21:49:45 +0300, tasos wrote:
Hello. I'm using ffmpeg to get a stream(hls) and send it to a media server. After some time i keep getting the following error and the video will never be corrected(i mean i see no video at all). I have to restart ffmpeg.
[mpegts @ 0x559c3a0] Continuity check failed for pid 4095 expected 1 got 0 frame= 4314 fps=2.3 q=23.0 size= 37963kB time=00:04:56.06 bitrate=1050.4kbits/s dup=0 drop=2864 speed=0.16x [AVIOContext @ 0x7d56d00] Statistics: 144760 bytes read, 0 seeks [hls,applehttp @ 0x5575020] HLS request for url 'foo', offset 0, playlist 4 [hls,applehttp @ 0x5575020] Opening 'bar' for reading [http @ 0x7d5d700] request: GET foobar1 HTTP/1.1 User-Agent: Mozilla/5.0 (Linux; Android 5.1.1; SM-G928X Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36 Accept: */* Connection: close Host: foobar Cookie: foofoo Icy-MetaData: 1
You are usually asked to provide the actual ffmpeg command line and the complete, uncut console output.
Does ffmpeg continue to (try to) encode after the corrupt packet ("continuity check")?
If I read ffmpeg's source correctly, you could try to set -fflags +discardcorrupt as an output option. ffmpeg should then drop this packet. I'm not sure you will get a better result though. Do give it a try.
Regards, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
On Tue, Jul 04, 2017 at 11:55:47 +0300, tasos wrote:
Would you like me to add some specific options in order to get a more detailed output?
Not in the first step.
Currently i'm using just -report.
That's fine, although it increases the debug level. Please do try the workaround/additional flag I suggested. Thanks, Moritz
Thank you very much. I will reply asap. On 7/4/2017 2:13 PM, Moritz Barsnick wrote:
On Tue, Jul 04, 2017 at 11:55:47 +0300, tasos wrote:
Would you like me to add some specific options in order to get a more detailed output? Not in the first step.
Currently i'm using just -report. That's fine, although it increases the debug level.
Please do try the workaround/additional flag I suggested.
Thanks, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hello again. I have tried the option but i don't know if it has helped. The problem still exists. I have uploaded my log here https://ufile.io/8akvk If you have any questions/problems downloading please let me know! Thanks!!! On 7/4/2017 2:13 PM, Moritz Barsnick wrote:
On Tue, Jul 04, 2017 at 11:55:47 +0300, tasos wrote:
Would you like me to add some specific options in order to get a more detailed output? Not in the first step.
Currently i'm using just -report. That's fine, although it increases the debug level.
Please do try the workaround/additional flag I suggested.
Thanks, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Any more ideas? Maybe i could help with more logging? Thanks! On 7/4/2017 4:38 PM, tasos wrote:
Hello again. I have tried the option but i don't know if it has helped. The problem still exists. I have uploaded my log here https://ufile.io/8akvk If you have any questions/problems downloading please let me know! Thanks!!!
On 7/4/2017 2:13 PM, Moritz Barsnick wrote:
On Tue, Jul 04, 2017 at 11:55:47 +0300, tasos wrote:
Would you like me to add some specific options in order to get a more detailed output? Not in the first step.
Currently i'm using just -report. That's fine, although it increases the debug level.
Please do try the workaround/additional flag I suggested.
Thanks, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
participants (2)
-
Moritz Barsnick -
tasos