Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid AVC frame while using nginx-ts-module #35

Open
almoghzn opened this issue May 21, 2018 · 1 comment
Open

invalid AVC frame while using nginx-ts-module #35

almoghzn opened this issue May 21, 2018 · 1 comment

Comments

@almoghzn
Copy link

almoghzn commented May 21, 2018

Hi,

I'm using nginx-ts-module in order to produce MPEG-DASH from MPEG-TS.

So, I have nginx along with nginx-ts-module.

My config file is as follow:

server {

        listen 8000;

        location /publish/ {
            ts;
            ts_dash path=/var/media/dash segment=2s segments=10;

            client_max_body_size 0;
        }

        location /play/ {
            types {
                application/x-mpegURL m3u8;
                application/dash+xml mpd;
                video/MP2T ts;
                video/mp4 mp4;
            }
            alias /var/media/;
        }
    }

I'm running ffmppeg command in order to stream an MPEG-TS live stream to my nginx:
ffmpeg -re -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -c:a aac -f mpegts http://localhost:8000/publish/kan_from_ts
[Note: the ffmpeg command run on the same server as the nginx with the ts-module runs]

It's all works fine until it's stops, i.e. there is no index.mpd file under /var/media/dash/kan_from_ts and also there is no segments.

At the log file of nginx I found:
2018/05/21 12:52:47 [error] 11075#0: *2 invalid AVC frame, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000"
When it's stops working.

Note:
The log file of nginx full with the following error as well:
2018/05/21 12:52:47 [info] 11075#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000"
But I saw issue with this same line and the answers were that this is nothing.

Any help? pls.

Edit:
Also I'll very thankful if I can get answers to the following questions:

  1. Does ts-module reencode (decode/encode) the media?
  2. Does ts-module reduce the quality of the audio/video?
  3. In other words, what exactly or how exactly ts-module "convert" mpeg-ts to mpeg-dash?

Thanks again.

@almoghzn
Copy link
Author

Hi again,

more details about this issue:

I have live stream of mpeg-ts created by box which connected to terrestrial antenna and the box stream the channels with mpeg-ts.

I've server in order to repackage the mpeg-ts (which come from the box) to mpeg-dash:

  • The server is linux/ubuntu which running nginx 1.13.12 with nginx-ts-module.

  • The config file of the nginx as mentioned previously.

  • The server running the following ffmpeg command in order to stream the mpeg-ts stream from the box to the nginx service:
    ffmpeg -re -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -c:a aac -f mpegts http://localhost:8000/publish/kan_from_ts

  • The ffmpeg command failed after 03 min' and 06 sec'
    The output of the ffmpeg command as follow:
    root@muvix-reception:~# ffmpeg -re -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -c:a aac -f mpegts http://localhost:8000/publish/kan_from_ts ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] non-existing PPS 0 referenced Last message repeated 1 times [h264 @ 0x254ffe0] decode_slice_header error [h264 @ 0x254ffe0] no frame! [h264 @ 0x254ffe0] mmco: unref short failure Last message repeated 2 times Input #0, mpegts, from 'http://10.0.0.211:55555/Ch%2011%20Kan': Duration: N/A, start: 1621.107456, bitrate: N/A Program 1 Metadata: service_name : ?Ch 11 Kan service_provider: ?Idan + Stream #0:0[0xa02]: Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp Stream #0:1[0xa01]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:2[0x401](heb): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) [tcp @ 0x276f8e0] Connection to tcp://localhost:8000 failed (Connection refused), trying next address Output #0, mpegts, to 'http://localhost:8000/publish/kan_from_ts': Metadata: encoder : Lavf56.40.101 Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 12:11 DAR 15:11], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc56.60.100 aac Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (aac_latm (native) -> aac (native)) Press [q] to stop, [?] for help [mpegts @ 0x25494e0] PES packet size mismatchme=00:01:02.83 bitrate=1429.4kbits/s [aac_latm @ 0x25cc680] Input buffer exhausted before END element found Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:01:37.67 bitrate=1448.7kbits/s [aac_latm @ 0x25cc680] TYPE_FIL: Input buffer exhausted before END element found Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:01:43.71 bitrate=1461.8kbits/s [aac_latm @ 0x25cc680] TNS filter order 16 is greater than maximum 12. Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:02:11.99 bitrate=1474.5kbits/s [aac_latm @ 0x25cc680] Input buffer exhausted before END element found76.6kbits/s Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 2 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:02:16.53 bitrate=1476.6kbits/s [aac_latm @ 0x25cc680] channel element 0.8 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:02:18.55 bitrate=1472.0kbits/s [aac_latm @ 0x25cc680] channel element 3.11 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:02:52.41 bitrate=1476.7kbits/s [aac_latm @ 0x25cc680] channel element 0.8 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0x25494e0] PES packet size mismatchme=00:03:05.05 bitrate=1479.0kbits/s [aac_latm @ 0x25cc680] channel element 2.2 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times av_interleaved_write_frame(): Connection reset by peer06.05 bitrate=1479.8kbits/s frame= 9226 fps= 50 q=-1.0 Lsize= 33629kB time=00:03:06.23 bitrate=1479.2kbits/s video:27224kB audio:2930kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.526569% Conversion failed!

  • The output of the nginx's error log:
    2018/05/23 10:15:07 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:08 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:08 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:08 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:08 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:08 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:09 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:09 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:09 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:09 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:09 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:10 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:10 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:10 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:10 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:10 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:11 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:11 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:12 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:12 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:12 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:12 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:12 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:13 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:14 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:14 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:14 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:14 [info] 23936#0: *2 dropping unexpected TS packet pid:0x0011, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000" 2018/05/23 10:15:14 [error] 23936#0: *2 invalid AVC frame, client: 127.0.0.1, server: , request: "POST /publish/kan_from_ts HTTP/1.1", host: "localhost:8000"

  1. In parallel I ran the same ffmpeg command on my computer in order to create *.ts file from the same mpeg-ts live stream.
  • The ffmpeg command which I ran as follow:
    ffmpeg -re -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -c:a aac -f mpegts kan.ts

  • The output of the ffmpeg command:
    C:\RnD\nginx-1.9.2\nginx-1.9.2_8080\html\kan_from_vbox>ffmpeg -re -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -c:a aac -f mpegts kan.ts ffmpeg version N-81784-g92de2c2 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib libavutil 55. 30.100 / 55. 30.100 libavcodec 57. 58.100 / 57. 58.100 libavformat 57. 51.100 / 57. 51.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 63.100 / 6. 63.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 2.100 / 2. 2.100 libpostproc 54. 0.100 / 54. 0.100 [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] SPS unavailable in decode_picture_timing [h264 @ 0000000000635500] non-existing PPS 0 referenced [h264 @ 0000000000635500] decode_slice_header error [h264 @ 0000000000635500] no frame! [h264 @ 0000000000635500] mmco: unref short failure Last message repeated 2 times Input #0, mpegts, from 'http://10.0.0.211:55555/Ch%2011%20Kan': Duration: N/A, start: 1620.595456, bitrate: N/A Program 1 Metadata: service_name : ?Ch 11 Kan service_provider: ?Idan + Stream #0:0[0xa02]: Audio: aac_latm (HE-AACv2) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp Stream #0:1[0xa01]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:2[0x401](heb): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Output #0, mpegts, to 'kan.ts': Metadata: encoder : Lavf57.51.100 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 12:11 DAR 15:11], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc57.58.100 aac Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (aac_latm (native) -> aac (native)) Press [q] to stop, [?] for help [mpegts @ 0000000000633760] PES packet size mismatch1:03.29 bitrate=1418.5kbits/s speed= 1x [aac_latm @ 0000000003298ae0] Input buffer exhausted before END element found Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch1:38.23 bitrate=1443.5kbits/s speed= 1x [aac_latm @ 0000000003298ae0] TYPE_FIL: Input buffer exhausted before END element found Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch1:44.31 bitrate=1452.7kbits/s speed= 1x [aac_latm @ 0000000003298ae0] TNS filter order 16 is greater than maximum 12. Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch2:12.69 bitrate=1470.8kbits/s speed= 1x [aac_latm @ 0000000003298ae0] Input buffer exhausted before END element found Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 2 times [mpegts @ 0000000000633760] PES packet size mismatch2:16.75 bitrate=1471.0kbits/s speed= 1x [aac_latm @ 0000000003298ae0] channel element 0.8 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch2:19.29 bitrate=1468.6kbits/s speed= 1x [aac_latm @ 0000000003298ae0] channel element 3.11 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch2:52.57 bitrate=1472.1kbits/s speed= 1x [aac_latm @ 0000000003298ae0] channel element 0.8 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times [mpegts @ 0000000000633760] PES packet size mismatch3:05.73 bitrate=1472.0kbits/s speed= 1x [aac_latm @ 0000000003298ae0] channel element 2.2 is not allocated Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 1 times frame=10762 fps= 49 q=-1.0 Lsize= 39425kB time=00:03:37.47 bitrate=1485.1kbits/s speed= 1x video:31984kB audio:3351kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.573603% [aac @ 0000000002c9c860] Qavg: 503.097 Exiting normally, received signal 2.
    [Note: I stopped the ffmpeg process manually, AFTER 03:06 and it kept running without any issue]

  • The output *.ts file is can be found here:
    https://muvix.sharefile.com/d-s1189936e11649d99
    [Note: If I plays this media on vlc for example I can here a weird noise on minutes 03:03]

Thanks for your kind help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant