Opened 14 months ago

Closed 9 months ago

#7975 closed defect (fixed)

HLS HTTP PUT fails with http_persistent and connection closed

Reported by: ianklassen Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: hls http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

When live streaming (HLS) with a persistent HTTP connection, if the web server closes the connection ffmpeg shuts down.

How to reproduce:

For example, when streaming to an Apache web server (2.4.29/Ubuntu) with "KeepAlive On" and "MaxKeepAliveRequests 10" ffmpeg will fail on the 11th PUT request when Apache closes the TCP connection.

~/ffmpeg/ffmpeg -report -re -i test.mp4 -acodec copy -vcodec copy -g 60 -hls_flags +append_list -hls_list_size 0 -hls_playlist_type event -hls_time 6 -keyint_min 60 -method PUT -http_persistent 1 -sc_threshold 0 http://www.sampletestsite.com/stream.m3u8

Output:

[AVIOContext @ 0x558256a2aa40] Statistics: 0 seeks, 12 writeouts
av_interleaved_write_frame(): Broken pipe
No more output streams to write to, finishing.
[AVIOContext @ 0x558256a37900] Statistics: 0 seeks, 3711 writeouts
[http @ 0x558256a373c0] URL read error:  -541478725 

Attachments (2)

ffmpeg-20190626-132822-report.zip (1.2 MB) - added by ianklassen 14 months ago.
0001-recognize-server-closing-http-connection.patch (2.0 KB) - added by ianklassen 13 months ago.

Download all attachments as: .zip

Change History (21)

Changed 14 months ago by ianklassen

comment:1 Changed 14 months ago by ianklassen

  • Summary changed from HLS HTTP PUT fails with http_persistant and connection closed to HLS HTTP PUT fails with http_persistent and connection closed

comment:2 Changed 14 months ago by cehoyos

  • Component changed from ffmpeg to avformat
  • Keywords http_persistent put removed

comment:3 Changed 14 months ago by stevenliu

Works for me.

command line and output message:

muhanmodemaimaitiliuqideMacBook:dash StevenLiu$ .//ffmpeg -report -re -i ~/Movies/objectC/facebook.mp4 -acodec copy -vcodec copy -g 60 -hls_flags +append_list -hls_list_size 0 -hls_playlist_type event -hls_time 6 -keyint_min 60 -method PUT -http_persistent 1 -sc_threshold 0 http://127.0.0.1/stream.m3u8
ffmpeg started on 2019-06-28 at 17:01:56
Report written to "ffmpeg-20190628-170156.log"
ffmpeg version N-94129-g098ab93257 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  configuration: --enable-libass --enable-opengl --enable-libx264 --enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local --enable-libtesseract --enable-libspeex --enable-libfreetype --enable-libfontconfig --enable-libfdk-aac --enable-videotoolbox --enable-libxml2 --enable-librsvg --enable-libvmaf --enable-version3 --disable-stripping --disable-optimizations
  libavutil      56. 29.100 / 56. 29.100
  libavcodec     58. 53.100 / 58. 53.100
  libavformat    58. 28.101 / 58. 28.101
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 55.100 /  7. 55.100
  libswscale      5.  4.101 /  5.  4.101
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/StevenLiu/Movies/objectC/facebook.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.22.102
    description     : This File is Created by Easy RealMedia Tools@!
  Duration: 02:00:27.85, start: 0.000000, bitrate: 893 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480, 797 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 87 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[http @ 0x7f979ce5dd00] HTTP error 404 Not Found
[hls @ 0x7f979e00fa00] Opening 'http://127.0.0.1/stream0.ts' for writing
Output #0, hls, to 'http://127.0.0.1/stream.m3u8':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    description     : This File is Created by Easy RealMedia Tools@!
    encoder         : Lavf58.28.101
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480, q=2-31, 797 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 87 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[http @ 0x7f979e011200] Opening 'http://127.0.0.1/stream1.ts' for writing 1x
[http @ 0x7f979e011200] Opening 'http://127.0.0.1/stream2.ts' for writing 1x
[http @ 0x7f979e804e00] Opening 'http://127.0.0.1/stream.m3u8' for writing
[http @ 0x7f979e011200] Opening 'http://127.0.0.1/stream3.ts' for writing 1x
[http @ 0x7f979e804e00] Opening 'http://127.0.0.1/stream.m3u8' for writing
[http @ 0x7f979e011200] Opening 'http://127.0.0.1/stream4.ts' for writing 1x
[http @ 0x7f979e804e00] Opening 'http://127.0.0.1/stream.m3u8' for writing
[http @ 0x7f979e011200] Opening 'http://127.0.0.1/stream5.ts' for writing 1x
[http @ 0x7f979e804e00] Opening 'http://127.0.0.1/stream.m3u8' for writing
[http @ 0x7f979e804e00] Opening 'http://127.0.0.1/stream.m3u8' for writing1x
frame= 1028 fps= 25 q=-1.0 Lsize=N/A time=00:00:41.04 bitrate=N/A speed=   1x
video:3960kB audio:441kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

result:

muhanmodemaimaitiliuqideMacBook:dash StevenLiu$ ls /usr/local/nginx/html/stream*
/usr/local/nginx/html/stream.m3u8 /usr/local/nginx/html/stream1.ts  /usr/local/nginx/html/stream3.ts  /usr/local/nginx/html/stream5.ts
/usr/local/nginx/html/stream0.ts  /usr/local/nginx/html/stream2.ts  /usr/local/nginx/html/stream4.ts
muhanmodemaimaitiliuqideMacBook:dash StevenLiu$

nginx config file:

muhanmodemaimaitiliuqideMacBook:dash StevenLiu$ cat /usr/local/nginx/conf/nginx.conf

#user  nobody;
worker_processes  1;

error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;
    client_max_body_size 20M;

    server {
        listen       80;
        server_name  localhost;
        location / {
            root   html;
            dav_methods PUT DELETE MKCOL;

            create_full_put_path  on;
            dav_access            all:rw;

            index  index.html index.htm;
        }
    }
}
muhanmodemaimaitiliuqideMacBook:dash StevenLiu$

comment:4 follow-up: Changed 14 months ago by ianklassen

The default requests per connection for nginx is 100 (http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests) so the bug wouldn't have been triggered in your test. First set "keepalive_requests 10;" and then retry.

Here's my output.

[https @ 0000025e52f46000] HTTP error 404 Not Found
[hls @ 0000025e4f6930c0] Opening 'http://www.sampletestsite.com/stream0.ts' for writing
Output #0, hls, to 'http://www.sampletestsite.com/stream.m3u8':
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream1.ts' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream2.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream3.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream4.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream5.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream6.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream7.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream8.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream9.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream10.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream11.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream12.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream13.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[tls @ 0000025e515f0c80] Error in the push function.
av_interleaved_write_frame(): I/O error
frame= 2348 fps= 30 q=15.0 Lsize=N/A time=00:01:18.39 bitrate=N/A dup=4 drop=2 speed=0.992x
video:6393kB audio:1075kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 0000025e4f6ac640] Qavg: 10125.062
Conversion failed!

What's interesting is that multiple PUT requests seem to be merged together as you can see in my Apache log. The value after the IP address is the request sequence in the current connection.

127.0.0.1 (0) [28/Jun/2019:08:16:45 -0500] (0s) "GET /stream.m3u8 HTTP/1.1" 404 45 "Lavf/58.28.100"
127.0.0.1 (0) [28/Jun/2019:08:16:51 -0500] (1s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:46 -0500] (10s) "PUT /stream0.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:50 -0500] (5s) "PUT /stream1.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:56 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (2) [28/Jun/2019:08:17:02 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:16:56 -0500] (12s) "PUT /stream2.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:17:02 -0500] (5s) "PUT /stream3.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:17:08 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (4) [28/Jun/2019:08:17:08 -0500] (5s) "PUT /stream4.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (4) [28/Jun/2019:08:17:14 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (5) [28/Jun/2019:08:17:20 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (6) [28/Jun/2019:08:17:26 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:14 -0500] (18s) "PUT /stream5.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:20 -0500] (12s) "PUT /stream6.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:26 -0500] (6s) "PUT /stream7.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:32 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (8) [28/Jun/2019:08:17:38 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (9) [28/Jun/2019:08:17:44 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:32 -0500] (18s) "PUT /stream8.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:38 -0500] (12s) "PUT /stream9.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:44 -0500] (6s) "PUT /stream10.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:50 -0500] (1s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (0) [28/Jun/2019:08:18:03 -0500] (0s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"

You can see that the last segment seen by the web server was stream10.ts.

comment:5 in reply to: ↑ 4 Changed 14 months ago by stevenliu

Replying to ianklassen:

The default requests per connection for nginx is 100 (http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests) so the bug wouldn't have been triggered in your test. First set "keepalive_requests 10;" and then retry.

Here's my output.

[https @ 0000025e52f46000] HTTP error 404 Not Found
[hls @ 0000025e4f6930c0] Opening 'http://www.sampletestsite.com/stream0.ts' for writing
Output #0, hls, to 'http://www.sampletestsite.com/stream.m3u8':
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream1.ts' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream2.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream3.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream4.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream5.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream6.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream7.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream8.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream9.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream10.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream11.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream12.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[https @ 0000025e52f3d940] Opening 'http://www.sampletestsite.com/stream13.ts' for writing
[https @ 0000025e538beac0] Opening 'http://www.sampletestsite.com/stream.m3u8' for writing
[tls @ 0000025e515f0c80] Error in the push function.
av_interleaved_write_frame(): I/O error
frame= 2348 fps= 30 q=15.0 Lsize=N/A time=00:01:18.39 bitrate=N/A dup=4 drop=2 speed=0.992x
video:6393kB audio:1075kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 0000025e4f6ac640] Qavg: 10125.062
Conversion failed!

What's interesting is that multiple PUT requests seem to be merged together as you can see in my Apache log. The value after the IP address is the request sequence in the current connection.

127.0.0.1 (0) [28/Jun/2019:08:16:45 -0500] (0s) "GET /stream.m3u8 HTTP/1.1" 404 45 "Lavf/58.28.100"
127.0.0.1 (0) [28/Jun/2019:08:16:51 -0500] (1s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:46 -0500] (10s) "PUT /stream0.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:50 -0500] (5s) "PUT /stream1.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (1) [28/Jun/2019:08:16:56 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (2) [28/Jun/2019:08:17:02 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:16:56 -0500] (12s) "PUT /stream2.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:17:02 -0500] (5s) "PUT /stream3.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (3) [28/Jun/2019:08:17:08 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (4) [28/Jun/2019:08:17:08 -0500] (5s) "PUT /stream4.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (4) [28/Jun/2019:08:17:14 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (5) [28/Jun/2019:08:17:20 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (6) [28/Jun/2019:08:17:26 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:14 -0500] (18s) "PUT /stream5.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:20 -0500] (12s) "PUT /stream6.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:26 -0500] (6s) "PUT /stream7.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (7) [28/Jun/2019:08:17:32 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (8) [28/Jun/2019:08:17:38 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (9) [28/Jun/2019:08:17:44 -0500] (2s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:32 -0500] (18s) "PUT /stream8.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:38 -0500] (12s) "PUT /stream9.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:44 -0500] (6s) "PUT /stream10.ts HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (10) [28/Jun/2019:08:17:50 -0500] (1s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"
127.0.0.1 (0) [28/Jun/2019:08:18:03 -0500] (0s) "PUT /stream.m3u8 HTTP/1.1" 200 - "Lavf/58.28.100"

You can see that the last segment seen by the web server was stream10.ts.

Yes, i have reporoduced it, maybe the better way is sync the m3u8 list with the stream segment files that the sequence number success put to the http server, is it?

comment:6 Changed 14 months ago by stevenliu

Because the m3u8 use one HTTP connection, the segments using the other HTTP connection.

pcap download link: http://bbs.chinaffmpeg.com/Ticket_7975_reproduce.pcap

comment:7 Changed 14 months ago by ianklassen

I think having two connections will still trigger the bug when the server closes the connection.

Can a check be added that reconnects if the connection is closed (either when the server sends "Connection: Close" in the HTTP response header or when the TCP socket is closed)?

comment:8 follow-up: Changed 13 months ago by ianklassen

I've attached a patch that first loads the headers from the server before attempting to reuse the HTTP connection. If the server sends "close" in the "Connection" header then the TCP connection is closed and then reconnected.

Please review and let me know what you think.

Thanks.

comment:9 Changed 13 months ago by cehoyos

Please remove the newline change and send your patch to the FFmpeg development mailing list where reviews are made.

comment:10 in reply to: ↑ 8 Changed 13 months ago by stevenliu

Replying to ianklassen:

I've attached a patch that first loads the headers from the server before attempting to reuse the HTTP connection. If the server sends "close" in the "Connection" header then the TCP connection is closed and then reconnected.

Please review and let me know what you think.

I will modify the hlsenc module, make mpegts and fmp4 to the same workflow: write the data into buffer, and flush buffer to AVIOContext, if the AVIO return failed, it will reopen a new file description for flush, this maybe better. Because it will not touch other module workflow which use http protocol.

Of course, this patch it ok to me if other reviewer ok :D

Thanks.

comment:11 Changed 13 months ago by ianklassen

My concern right now is getting HLS to work, so I'd be happy with your fix. Although if we update the http module then any encoders using http would benefit from the fix.

comment:12 follow-ups: Changed 12 months ago by ianklassen

I haven't received any feedback on my patch for this bug that I sent to the FFmpeg development mailing list. Is there something else I need to do? Thanks!

comment:13 in reply to: ↑ 12 Changed 12 months ago by stevenliu

Replying to ianklassen:

I haven't received any feedback on my patch for this bug that I sent to the FFmpeg development mailing list. Is there something else I need to do? Thanks!

Try this patch please:
https://patchwork.ffmpeg.org/patch/14675/

comment:14 in reply to: ↑ 12 Changed 12 months ago by stevenliu

Replying to ianklassen:

I haven't received any feedback on my patch for this bug that I sent to the FFmpeg development mailing list. Is there something else I need to do? Thanks!

https://patchwork.ffmpeg.org/patch/14702/

can these patchset fix the problem?

comment:15 follow-up: Changed 12 months ago by ianklassen

I tried to apply your latest patch with today's master but got these errors:

error: patch failed: libavformat/hlsenc.c:2577
error: libavformat/hlsenc.c: patch does not apply

comment:16 in reply to: ↑ 15 Changed 11 months ago by stevenliu

Replying to ianklassen:

I tried to apply your latest patch with today's master but got these errors:

error: patch failed: libavformat/hlsenc.c:2577
error: libavformat/hlsenc.c: patch does not apply

Ah, i have merge other patches before you test this patch, i have resend new patchset, you can try those.

patchset link: https://patchwork.ffmpeg.org/patch/14804/

comment:17 follow-up: Changed 11 months ago by ianklassen

The patch applied but now I have a linking error:

libavformat.a(hlsenc.o) : error LNK2019: unresolved external symbol ff_http_get_shutdown_status referenced in function create_master_playlist

Is there another patch I need to apply as well?

comment:18 in reply to: ↑ 17 Changed 11 months ago by stevenliu

Replying to ianklassen:

The patch applied but now I have a linking error:

libavformat.a(hlsenc.o) : error LNK2019: unresolved external symbol ff_http_get_shutdown_status referenced in function create_master_playlist

Is there another patch I need to apply as well?

there have two patch in the patchset.

first one is: https://patchwork.ffmpeg.org/patch/14803/
second one: https://patchwork.ffmpeg.org/patch/14804/

liuqideMBP:ffmpeg liuqi$ git pull
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (109/109), done.
remote: Total 109 (delta 94), reused 0 (delta 0)
Receiving objects: 100% (109/109), 18.25 KiB | 78.00 KiB/s, done.
Resolving deltas: 100% (94/94), completed with 37 local objects.
From git://source.ffmpeg.org/ffmpeg
   7c0b3ba7dd..cc78783ce5  master     -> origin/master
Updating 7c0b3ba7dd..cc78783ce5
Fast-forward
 doc/filters.texi                               |   6 ++-
 libavcodec/truemotion2.c                       |   4 +-
 libavcodec/vaapi_encode.c                      |   2 +-
 libavcodec/vc1_block.c                         |  39 +++++++++++++-----
 libavcodec/vc1dec.c                            |   5 +++
 libavcodec/vorbisdec.c                         |  32 +++++++++++----
 libavfilter/dnn/dnn_backend_native.c           | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------
 libavfilter/dnn/dnn_backend_native.h           |  54 +++++++++++++++++++++++-
 libavfilter/dnn/dnn_backend_native_layer_pad.c |  24 ++++++++++-
 libavfilter/dnn/dnn_backend_native_layer_pad.h |   4 +-
 libavfilter/dnn_interface.h                    |   2 +-
 libavfilter/vf_stereo3d.c                      |  12 +++---
 libavfilter/vf_v360.c                          | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libavformat/avidec.c                           |   3 ++
 libavformat/mpegts.c                           |   8 ++--
 libavformat/riff.c                             |   5 +++
 libavformat/riff.h                             |   2 +
 libavformat/utils.c                            |   5 +++
 libavutil/file.c                               |   7 +++-
 libavutil/mathematics.c                        |   6 ++-
 tests/dnn/Makefile                             |   2 +-
 tests/dnn/dnn-layer-pad-test.c                 |  60 +++++++++++++++++++++------
 tests/ref/fate/filter-stereo3d-sbsl-arcd       |  10 ++---
 tests/ref/fate/filter-stereo3d-sbsl-aybd       |  10 ++---
 tools/python/convert_from_tensorflow.py        | 121 +++++++++++++++++++++++++++++++++++++++++++++---------
 tools/target_dec_fuzzer.c                      |   2 +
 26 files changed, 768 insertions(+), 199 deletions(-)
liuqideMBP:ffmpeg liuqi$ git am v2-0001-avformat-http-add-ff_http_get_shutdown_status-api.patch
Applying: avformat/http: add ff_http_get_shutdown_status api for check the status of shutdown
liuqideMBP:ffmpeg liuqi$ git am v2-0002-avformat-hlsenc-avformat-hlsenc-reopen-new-http-s.patch
Applying: avformat/hlsenc: avformat/hlsenc: reopen new http session for http_persistent
liuqideMBP:ffmpeg liuqi$
liuqideMBP:dash liuqi$ ../configure --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-version3 --enable-nonfree --enable-videotoolbox --enable-libxml2 --samples=fate-suite/ --enable-libopencv
install prefix            /usr/local
source path               src
C compiler                gcc
C library
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
standalone assembly       yes
x86 assembler             nasm
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
AVX2 enabled              yes
AVX-512 enabled           yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
texi2html enabled         yes
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    no

External libraries:
appkit                  coreimage               libbluray               libfreetype             libspeex                libxml2                 securetransport
avfoundation            iconv                   libfdk_aac              libmp3lame              libx264                 lzma                    zlib
bzlib                   libass                  libfontconfig           libopencv               libx265                 sdl2

External libraries providing hardware acceleration:
audiotoolbox            videotoolbox

Libraries:
avcodec                 avfilter                avutil                  swresample
avdevice                avformat                postproc                swscale

Programs:
ffmpeg                  ffplay                  ffprobe

Enabled decoders:
aac                     aptx                    dxtory                  interplay_acm           on2avc                  r210                    twinvq
aac_at                  aptx_hd                 dxv                     interplay_dpcm          opus                    ra_144                  txd
aac_fixed               arbc                    eac3                    interplay_video         paf_audio               ra_288                  ulti
aac_latm                ass                     eac3_at                 jacosub                 paf_video               ralf                    utvideo
aasc                    asv1                    eacmv                   jpeg2000                pam                     rasc                    v210
ac3                     asv2                    eamad                   jpegls                  pbm                     rawvideo                v210x
ac3_at                  atrac1                  eatgq                   jv                      pcm_alaw                realtext                v308
ac3_fixed               atrac3                  eatgv                   kgv1                    pcm_alaw_at             rl2                     v408
adpcm_4xm               atrac3al                eatqi                   kmvc                    pcm_bluray              roq                     v410
adpcm_adx               atrac3p                 eightbps                lagarith                pcm_dvd                 roq_dpcm                vb
adpcm_afc               atrac3pal               eightsvx_exp            libfdk_aac              pcm_f16le               rpza                    vble
adpcm_agm               atrac9                  eightsvx_fib            libspeex                pcm_f24le               rscc                    vc1
adpcm_aica              aura                    escape124               loco                    pcm_f32be               rv10                    vc1image
adpcm_ct                aura2                   escape130               lscr                    pcm_f32le               rv20                    vcr1
adpcm_dtk               avrn                    evrc                    m101                    pcm_f64be               rv30                    vmdaudio
adpcm_ea                avrp                    exr                     mace3                   pcm_f64le               rv40                    vmdvideo
adpcm_ea_maxis_xa       avs                     ffv1                    mace6                   pcm_lxf                 s302m                   vmnc
adpcm_ea_r1             avui                    ffvhuff                 magicyuv                pcm_mulaw               sami                    vorbis
adpcm_ea_r2             ayuv                    ffwavesynth             mdec                    pcm_mulaw_at            sanm                    vp3
adpcm_ea_r3             bethsoftvid             fic                     metasound               pcm_s16be               sbc                     vp4
adpcm_ea_xas            bfi                     fits                    microdvd                pcm_s16be_planar        scpr                    vp5
adpcm_g722              bink                    flac                    mimic                   pcm_s16le               screenpresso            vp6
adpcm_g726              binkaudio_dct           flashsv                 mjpeg                   pcm_s16le_planar        sdx2_dpcm               vp6a
adpcm_g726le            binkaudio_rdft          flashsv2                mjpegb                  pcm_s24be               sgi                     vp6f
adpcm_ima_amv           bintext                 flic                    mlp                     pcm_s24daud             sgirle                  vp7
adpcm_ima_apc           bitpacked               flv                     mmvideo                 pcm_s24le               sheervideo              vp8
adpcm_ima_dat4          bmp                     fmvc                    motionpixels            pcm_s24le_planar        shorten                 vp9
adpcm_ima_dk3           bmv_audio               fourxm                  movtext                 pcm_s32be               sipr                    vplayer
adpcm_ima_dk4           bmv_video               fraps                   mp1                     pcm_s32le               smackaud                vqa
adpcm_ima_ea_eacs       brender_pix             frwu                    mp1_at                  pcm_s32le_planar        smacker                 wavpack
adpcm_ima_ea_sead       c93                     g2m                     mp1float                pcm_s64be               smc                     wcmv
adpcm_ima_iss           cavs                    g723_1                  mp2                     pcm_s64le               smvjpeg                 webp
adpcm_ima_oki           ccaption                g729                    mp2_at                  pcm_s8                  snow                    webvtt
adpcm_ima_qt            cdgraphics              gdv                     mp2float                pcm_s8_planar           sol_dpcm                wmalossless
adpcm_ima_qt_at         cdxl                    gif                     mp3                     pcm_u16be               sonic                   wmapro
adpcm_ima_rad           cfhd                    gremlin_dpcm            mp3_at                  pcm_u16le               sp5x                    wmav1
adpcm_ima_smjpeg        cinepak                 gsm                     mp3adu                  pcm_u24be               speedhq                 wmav2
adpcm_ima_wav           clearvideo              gsm_ms                  mp3adufloat             pcm_u24le               srgc                    wmavoice
adpcm_ima_ws            cljr                    gsm_ms_at               mp3float                pcm_u32be               srt                     wmv1
adpcm_ms                cllc                    h261                    mp3on4                  pcm_u32le               ssa                     wmv2
adpcm_mtaf              comfortnoise            h263                    mp3on4float             pcm_u8                  stl                     wmv3
adpcm_psx               cook                    h263i                   mpc7                    pcm_vidc                subrip                  wmv3image
adpcm_sbpro_2           cpia                    h263p                   mpc8                    pcm_zork                subviewer               wnv1
adpcm_sbpro_3           cscd                    h264                    mpeg1video              pcx                     subviewer1              wrapped_avframe
adpcm_sbpro_4           cyuv                    hap                     mpeg2video              pgm                     sunrast                 ws_snd1
adpcm_swf               dca                     hcom                    mpeg4                   pgmyuv                  svq1                    xan_dpcm
adpcm_thp               dds                     hevc                    mpegvideo               pgssub                  svq3                    xan_wc3
adpcm_thp_le            dfa                     hnm4_video              mpl2                    pictor                  tak                     xan_wc4
adpcm_vima              dirac                   hq_hqa                  msa1                    pixlet                  targa                   xbin
adpcm_xa                dnxhd                   hqx                     mscc                    pjs                     targa_y216              xbm
adpcm_yamaha            dolby_e                 huffyuv                 msmpeg4v1               png                     tdsc                    xface
agm                     dpx                     hymt                    msmpeg4v2               ppm                     text                    xl
aic                     dsd_lsbf                iac                     msmpeg4v3               prores                  theora                  xma1
alac                    dsd_lsbf_planar         idcin                   msrle                   prosumer                thp                     xma2
alac_at                 dsd_msbf                idf                     mss1                    psd                     tiertexseqvideo         xpm
alias_pix               dsd_msbf_planar         iff_ilbm                mss2                    ptx                     tiff                    xsub
als                     dsicinaudio             ilbc                    msvideo1                qcelp                   tmv                     xwd
amr_nb_at               dsicinvideo             ilbc_at                 mszh                    qdm2                    truehd                  y41p
amrnb                   dss_sp                  imc                     mts2                    qdm2_at                 truemotion1             ylc
amrwb                   dst                     imm4                    mvc1                    qdmc                    truemotion2             yop
amv                     dvaudio                 imm5                    mvc2                    qdmc_at                 truemotion2rt           yuv4
anm                     dvbsub                  indeo2                  mwsc                    qdraw                   truespeech              zero12v
ansi                    dvdsub                  indeo3                  mxpeg                   qpeg                    tscc                    zerocodec
ape                     dvvideo                 indeo4                  nellymoser              qtrle                   tscc2                   zlib
apng                    dxa                     indeo5                  nuv                     r10k                    tta                     zmbv

Enabled encoders:
a64multi                asv2                    h261                    mpeg4                   pcm_s24le_planar        qtrle                   tta
a64multi5               avrp                    h263                    msmpeg4v2               pcm_s32be               r10k                    utvideo
aac                     avui                    h263p                   msmpeg4v3               pcm_s32le               r210                    v210
aac_at                  ayuv                    h264_videotoolbox       msvideo1                pcm_s32le_planar        ra_144                  v308
ac3                     bmp                     hevc_videotoolbox       nellymoser              pcm_s64be               rawvideo                v408
ac3_fixed               cinepak                 huffyuv                 opus                    pcm_s64le               roq                     v410
adpcm_adx               cljr                    ilbc_at                 pam                     pcm_s8                  roq_dpcm                vc2
adpcm_g722              comfortnoise            jpeg2000                pbm                     pcm_s8_planar           rv10                    vorbis
adpcm_g726              dca                     jpegls                  pcm_alaw                pcm_u16be               rv20                    wavpack
adpcm_g726le            dnxhd                   libfdk_aac              pcm_alaw_at             pcm_u16le               s302m                   webvtt
adpcm_ima_qt            dpx                     libmp3lame              pcm_dvd                 pcm_u24be               sbc                     wmav1
adpcm_ima_wav           dvbsub                  libspeex                pcm_f32be               pcm_u24le               sgi                     wmav2
adpcm_ms                dvdsub                  libx264                 pcm_f32le               pcm_u32be               snow                    wmv1
adpcm_swf               dvvideo                 libx264rgb              pcm_f64be               pcm_u32le               sonic                   wmv2
adpcm_yamaha            eac3                    libx265                 pcm_f64le               pcm_u8                  sonic_ls                wrapped_avframe
alac                    ffv1                    ljpeg                   pcm_mulaw               pcm_vidc                srt                     xbm
alac_at                 ffvhuff                 magicyuv                pcm_mulaw_at            pcx                     ssa                     xface
alias_pix               fits                    mjpeg                   pcm_s16be               pgm                     subrip                  xsub
amv                     flac                    mlp                     pcm_s16be_planar        pgmyuv                  sunrast                 xwd
apng                    flashsv                 movtext                 pcm_s16le               png                     svq1                    y41p
aptx                    flashsv2                mp2                     pcm_s16le_planar        ppm                     targa                   yuv4
aptx_hd                 flv                     mp2fixed                pcm_s24be               prores                  text                    zlib
ass                     g723_1                  mpeg1video              pcm_s24daud             prores_aw               tiff                    zmbv
asv1                    gif                     mpeg2video              pcm_s24le               prores_ks               truehd

Enabled hwaccels:
h263_videotoolbox       h264_videotoolbox       hevc_videotoolbox       mpeg1_videotoolbox      mpeg2_videotoolbox      mpeg4_videotoolbox

Enabled parsers:
aac                     cavsvideo               dvbsub                  gsm                     mpeg4video              rv40                    vp8
aac_latm                cook                    dvd_nav                 h261                    mpegaudio               sbc                     vp9
ac3                     dca                     dvdsub                  h263                    mpegvideo               sipr                    xma
adx                     dirac                   flac                    h264                    opus                    tak
av1                     dnxhd                   g723_1                  hevc                    png                     vc1
avs2                    dpx                     g729                    mjpeg                   pnm                     vorbis
bmp                     dvaudio                 gif                     mlp                     rv30                    vp3

Enabled demuxers:
aa                      cavsvideo               genh                    image_webp_pipe         mtv                     realtext                tiertexseq
aac                     cdg                     gif                     image_xpm_pipe          musx                    redspark                tmv
ac3                     cdxl                    gsm                     image_xwd_pipe          mv                      rl2                     truehd
acm                     cine                    gxf                     ingenient               mvi                     rm                      tta
act                     codec2                  h261                    ipmovie                 mxf                     roq                     tty
adf                     codec2raw               h263                    ircam                   mxg                     rpl                     txd
adp                     concat                  h264                    iss                     nc                      rsd                     ty
ads                     dash                    hcom                    iv8                     nistsphere              rso                     v210
adx                     data                    hevc                    ivf                     nsp                     rtp                     v210x
aea                     daud                    hls                     ivr                     nsv                     rtsp                    vag
afc                     dcstr                   hnm                     jacosub                 nut                     s337m                   vc1
aiff                    dfa                     ico                     jv                      nuv                     sami                    vc1t
aix                     dhav                    idcin                   kux                     ogg                     sap                     vividas
amr                     dirac                   idf                     live_flv                oma                     sbc                     vivo
amrnb                   dnxhd                   iff                     lmlm4                   paf                     sbg                     vmd
amrwb                   dsf                     ifv                     loas                    pcm_alaw                scc                     vobsub
anm                     dsicin                  ilbc                    lrc                     pcm_f32be               sdp                     voc
apc                     dss                     image2                  lvf                     pcm_f32le               sdr2                    vpk
ape                     dts                     image2_alias_pix        lxf                     pcm_f64be               sds                     vplayer
apng                    dtshd                   image2_brender_pix      m4v                     pcm_f64le               sdx                     vqf
aptx                    dv                      image2pipe              matroska                pcm_mulaw               segafilm                w64
aptx_hd                 dvbsub                  image_bmp_pipe          mgsts                   pcm_s16be               ser                     wav
aqtitle                 dvbtxt                  image_dds_pipe          microdvd                pcm_s16le               shorten                 wc3
asf                     dxa                     image_dpx_pipe          mjpeg                   pcm_s24be               siff                    webm_dash_manifest
asf_o                   ea                      image_exr_pipe          mjpeg_2000              pcm_s24le               sln                     webvtt
ass                     ea_cdata                image_gif_pipe          mlp                     pcm_s32be               smacker                 wsaud
ast                     eac3                    image_j2k_pipe          mlv                     pcm_s32le               smjpeg                  wsd
au                      epaf                    image_jpeg_pipe         mm                      pcm_s8                  smush                   wsvqa
avi                     ffmetadata              image_jpegls_pipe       mmf                     pcm_u16be               sol                     wtv
avr                     filmstrip               image_pam_pipe          mov                     pcm_u16le               sox                     wv
avs                     fits                    image_pbm_pipe          mp3                     pcm_u24be               spdif                   wve
avs2                    flac                    image_pcx_pipe          mpc                     pcm_u24le               srt                     xa
bethsoftvid             flic                    image_pgm_pipe          mpc8                    pcm_u32be               stl                     xbin
bfi                     flv                     image_pgmyuv_pipe       mpegps                  pcm_u32le               str                     xmv
bfstm                   fourxm                  image_pictor_pipe       mpegts                  pcm_u8                  subviewer               xvag
bink                    frm                     image_png_pipe          mpegtsraw               pcm_vidc                subviewer1              xwma
bintext                 fsb                     image_ppm_pipe          mpegvideo               pjs                     sup                     yop
bit                     g722                    image_psd_pipe          mpjpeg                  pmp                     svag                    yuv4mpegpipe
bmv                     g723_1                  image_qdraw_pipe        mpl2                    pva                     swf
boa                     g726                    image_sgi_pipe          mpsub                   pvf                     tak
brstm                   g726le                  image_sunrast_pipe      msf                     qcp                     tedcaptions
c93                     g729                    image_svg_pipe          msnwc_tcp               r3d                     thp
caf                     gdv                     image_tiff_pipe         mtaf                    rawvideo                threedostr

Enabled muxers:
a64                     data                    gxf                     mjpeg                   ogv                     psp                     tg2
ac3                     daud                    h261                    mkvtimestamp_v2         oma                     rawvideo                tgp
adts                    dirac                   h263                    mlp                     opus                    rm                      truehd
adx                     dnxhd                   h264                    mmf                     pcm_alaw                roq                     tta
aiff                    dts                     hash                    mov                     pcm_f32be               rso                     uncodedframecrc
amr                     dv                      hds                     mp2                     pcm_f32le               rtp                     vc1
apng                    eac3                    hevc                    mp3                     pcm_f64be               rtp_mpegts              vc1t
aptx                    f4v                     hls                     mp4                     pcm_f64le               rtsp                    voc
aptx_hd                 ffmetadata              ico                     mpeg1system             pcm_mulaw               sap                     w64
asf                     fifo                    ilbc                    mpeg1vcd                pcm_s16be               sbc                     wav
asf_stream              fifo_test               image2                  mpeg1video              pcm_s16le               scc                     webm
ass                     filmstrip               image2pipe              mpeg2dvd                pcm_s24be               segafilm                webm_chunk
ast                     fits                    ipod                    mpeg2svcd               pcm_s24le               segment                 webm_dash_manifest
au                      flac                    ircam                   mpeg2video              pcm_s32be               singlejpeg              webp
avi                     flv                     ismv                    mpeg2vob                pcm_s32le               smjpeg                  webvtt
avm2                    framecrc                ivf                     mpegts                  pcm_s8                  smoothstreaming         wtv
avs2                    framehash               jacosub                 mpjpeg                  pcm_u16be               sox                     wv
bit                     framemd5                latm                    mxf                     pcm_u16le               spdif                   yuv4mpegpipe
caf                     g722                    lrc                     mxf_d10                 pcm_u24be               spx
cavsvideo               g723_1                  m4v                     mxf_opatom              pcm_u24le               srt
codec2                  g726                    matroska                null                    pcm_u32be               stream_segment
codec2raw               g726le                  matroska_audio          nut                     pcm_u32le               sup
crc                     gif                     md5                     oga                     pcm_u8                  swf
dash                    gsm                     microdvd                ogg                     pcm_vidc                tee

Enabled protocols:
async                   data                    hls                     md5                     rtmp                    srtp                    udp
bluray                  ffrtmphttp              http                    mmsh                    rtmps                   subfile                 udplite
cache                   file                    httpproxy               mmst                    rtmpt                   tcp                     unix
concat                  ftp                     https                   pipe                    rtmpts                  tee
crypto                  gopher                  icecast                 prompeg                 rtp                     tls

Enabled filters:
abench                  apulsator               concat                  fieldmatch              lumakey                 random                  split
abitscope               arealtime               convolution             fieldorder              lut                     readeia608              spp
acompressor             aresample               convolve                fifo                    lut1d                   readvitc                sr
acontrast               areverse                copy                    fillborders             lut2                    realtime                ssim
acopy                   aselect                 coreimage               find_rect               lut3d                   remap                   stereo3d
acrossfade              asendcmd                coreimagesrc            firequalizer            lutrgb                  removegrain             stereotools
acrossover              asetnsamples            cover_rect              flanger                 lutyuv                  removelogo              stereowiden
acrusher                asetpts                 crop                    floodfill               mandelbrot              repeatfields            streamselect
acue                    asetrate                cropdetect              format                  maskedclamp             replaygain              subtitles
addroi                  asettb                  crossfeed               fps                     maskedmerge             reverse                 super2xsai
adeclick                ashowinfo               crystalizer             framepack               maskfun                 rgbashift               superequalizer
adeclip                 asidedata               cue                     framerate               mcdeint                 rgbtestsrc              surround
adelay                  asoftclip               curves                  framestep               mcompand                roberts                 swaprect
aderivative             asplit                  datascope               freezedetect            mergeplanes             rotate                  swapuv
adrawgraph              ass                     dcshift                 fspp                    mestimate               sab                     tblend
aecho                   astats                  dctdnoiz                gblur                   metadata                scale                   telecine
aemphasis               astreamselect           deband                  geq                     midequalizer            scale2ref               testsrc
aeval                   atadenoise              deblock                 gradfun                 minterpolate            select                  testsrc2
aevalsrc                atempo                  decimate                graphmonitor            mix                     selectivecolor          threshold
afade                   atrim                   deconvolve              greyedge                movie                   sendcmd                 thumbnail
afftdn                  avectorscope            dedot                   haas                    mpdecimate              separatefields          tile
afftfilt                avgblur                 deesser                 haldclut                mptestsrc               setdar                  tinterlace
afifo                   bandpass                deflate                 haldclutsrc             negate                  setfield                tlut2
afir                    bandreject              deflicker               hdcd                    nlmeans                 setparams               tmix
aformat                 bass                    dejudder                headphone               nnedi                   setpts                  tonemap
agate                   bbox                    delogo                  hflip                   noformat                setrange                tpad
agraphmonitor           bench                   derain                  highpass                noise                   setsar                  transpose
ahistogram              biquad                  deshake                 highshelf               normalize               settb                   treble
aiir                    bitplanenoise           despill                 hilbert                 null                    showcqt                 tremolo
aintegral               blackdetect             detelecine              histeq                  nullsink                showfreqs               trim
ainterleave             blackframe              dilation                histogram               nullsrc                 showinfo                unpremultiply
alimiter                blend                   displace                hqdn3d                  ocv                     showpalette             unsharp
allpass                 bm3d                    doubleweave             hqx                     oscilloscope            showspatial             uspp
allrgb                  boxblur                 drawbox                 hstack                  overlay                 showspectrum            v360
allyuv                  bwdif                   drawgraph               hue                     owdenoise               showspectrumpic         vaguedenoiser
aloop                   cellauto                drawgrid                hwdownload              pad                     showvolume              vectorscope
alphaextract            channelmap              drawtext                hwmap                   pal100bars              showwaves               vflip
alphamerge              channelsplit            drmeter                 hwupload                pal75bars               showwavespic            vfrdet
amerge                  chorus                  dynaudnorm              hysteresis              palettegen              shuffleframes           vibrance
ametadata               chromahold              earwax                  idet                    paletteuse              shuffleplanes           vibrato
amix                    chromakey               ebur128                 il                      pan                     sidechaincompress       vignette
amovie                  chromashift             edgedetect              inflate                 perms                   sidechaingate           vmafmotion
amplify                 ciescope                elbg                    interlace               perspective             sidedata                volume
amultiply               codecview               entropy                 interleave              phase                   signalstats             volumedetect
anequalizer             color                   eq                      join                    pixdesctest             signature               vstack
anlmdn                  colorbalance            equalizer               kerndeint               pixscope                silencedetect           w3fdif
anoisesrc               colorchannelmixer       erosion                 lagfun                  pp                      silenceremove           waveform
anull                   colorhold               extractplanes           lenscorrection          pp7                     sinc                    weave
anullsink               colorkey                extrastereo             life                    premultiply             sine                    xbr
anullsrc                colorlevels             fade                    limiter                 prewitt                 smartblur               xmedian
apad                    colormatrix             fftdnoiz                loop                    pseudocolor             smptebars               xstack
aperms                  colorspace              fftfilt                 loudnorm                psnr                    smptehdbars             yadif
aphasemeter             compand                 field                   lowpass                 pullup                  sobel                   yuvtestsrc
aphaser                 compensationdelay       fieldhint               lowshelf                qp                      spectrumsynth           zoompan

Enabled bsfs:
aac_adtstoasc           dump_extradata          h264_mp4toannexb        imx_dump_header         mpeg2_metadata          remove_extradata        vp9_raw_reorder
av1_frame_split         eac3_core               h264_redundant_pps      mjpeg2jpeg              mpeg4_unpack_bframes    text2movsub             vp9_superframe
av1_metadata            extract_extradata       hapqa_extract           mjpega_dump_header      noise                   trace_headers           vp9_superframe_split
chomp                   filter_units            hevc_metadata           mov2textsub             null                    truehd_core
dca_core                h264_metadata           hevc_mp4toannexb        mp3_header_decompress   prores_metadata         vp9_metadata

Enabled indevs:
avfoundation            lavfi

Enabled outdevs:
sdl2

License: nonfree and unredistributable
config.h is unchanged
config.asm is unchanged
libavutil/avconfig.h is unchanged
libavfilter/filter_list.c is unchanged
libavcodec/codec_list.c is unchanged
libavcodec/parser_list.c is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/demuxer_list.c is unchanged
libavformat/muxer_list.c is unchanged
libavdevice/indev_list.c is unchanged
libavdevice/outdev_list.c is unchanged
libavformat/protocol_list.c is unchanged
ffbuild/config.sh is unchanged
liuqideMBP:dash liuqi$
liuqideMBP:dash liuqi$ make
CC	libavdevice/avdevice.o
src/libavdevice/avdevice.c:88:26: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations]
            if (!(prev = av_oformat_next(prev)))
                         ^
src/libavformat/avformat.h:2094:1: note: 'av_oformat_next' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/libavdevice/avdevice.c:92:26: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations]
            if (!(prev = av_iformat_next(prev)))
                         ^
src/libavformat/avformat.h:2086:1: note: 'av_iformat_next' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
2 warnings generated.
AR	libavdevice/libavdevice.a
CC	libavfilter/avfilter.o
CC	libavfilter/dnn/dnn_backend_native.o
CC	libavfilter/dnn/dnn_backend_native_layer_pad.o
CC	libavfilter/dnn/dnn_interface.o
CC	libavfilter/vf_derain.o
CC	libavfilter/vf_sr.o
CC	libavfilter/vf_stereo3d.o
CC	libavfilter/vf_v360.o
AR	libavfilter/libavfilter.a
CC	libavformat/act.o
CC	libavformat/asf.o
CC	libavformat/asfdec_f.o
CC	libavformat/asfdec_o.o
CC	libavformat/asfenc.o
CC	libavformat/avidec.o
CC	libavformat/avienc.o
CC	libavformat/dashenc.o
CC	libavformat/dxa.o
CC	libavformat/hls.o
CC	libavformat/hlsenc.o
CC	libavformat/http.o
CC	libavformat/ivfdec.o
CC	libavformat/lvfdec.o
CC	libavformat/matroskadec.o
CC	libavformat/matroskaenc.o
CC	libavformat/mgsts.o
CC	libavformat/mlvdec.o
CC	libavformat/mmf.o
CC	libavformat/mms.o
CC	libavformat/mmsh.o
CC	libavformat/mov.o
CC	libavformat/movenc.o
src/libavformat/movenc.c:521:20: warning: 'av_copy_packet_side_data' is deprecated [-Wdeprecated-declarations]
        if ((ret = av_copy_packet_side_data(&info->pkt, pkt)) < 0)
                   ^
src/libavcodec/avcodec.h:4463:1: note: 'av_copy_packet_side_data' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
1 warning generated.
CC	libavformat/mpegts.o
CC	libavformat/mux.o
CC	libavformat/nut.o
CC	libavformat/nutdec.o
CC	libavformat/nutenc.o
CC	libavformat/nuv.o
CC	libavformat/oggparseogm.o
CC	libavformat/qcp.o
CC	libavformat/riff.o
CC	libavformat/riffdec.o
CC	libavformat/riffenc.o
CC	libavformat/rsoenc.o
CC	libavformat/rtmphttp.o
CC	libavformat/rtpdec_asf.o
CC	libavformat/rtsp.o
CC	libavformat/rtspdec.o
CC	libavformat/rtspenc.o
CC	libavformat/smjpegdec.o
CC	libavformat/utils.o
src/libavformat/utils.c:225:30: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations]
        while (probe_codec = av_codec_next(probe_codec)) {
                             ^
src/libavcodec/avcodec.h:4118:1: note: 'av_codec_next' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/libavformat/utils.c:5743:42: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    const AVCodecContext *dec_ctx = ist->codec;
                                         ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/libavformat/utils.c:5744:42: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    AVCodecContext       *enc_ctx = ost->codec;
                                         ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
3 warnings generated.
CC	libavformat/vqf.o
CC	libavformat/wavdec.o
CC	libavformat/wavenc.o
CC	libavformat/wtv_common.o
CC	libavformat/wtvdec.o
CC	libavformat/wtvenc.o
CC	libavformat/xmv.o
CC	libavformat/xwma.o
AR	libavformat/libavformat.a
CC	libavcodec/truemotion2.o
CC	libavcodec/utils.o
CC	libavcodec/vc1_block.o
CC	libavcodec/vc1dec.o
CC	libavcodec/vorbisdec.o
AR	libavcodec/libavcodec.a
CC	libpostproc/postprocess.o
AR	libpostproc/libpostproc.a
CC	libswresample/swresample.o
AR	libswresample/libswresample.a
CC	libswscale/utils.o
AR	libswscale/libswscale.a
CC	libavutil/file.o
CC	libavutil/mathematics.o
CC	libavutil/utils.o
AR	libavutil/libavutil.a
HTML	doc/ffmpeg.html
HTML	doc/ffplay.html
HTML	doc/ffprobe.html
HTML	doc/ffmpeg-all.html
HTML	doc/ffplay-all.html
HTML	doc/ffprobe-all.html
HTML	doc/ffmpeg-filters.html
POD	doc/ffmpeg.pod
POD	doc/ffplay.pod
POD	doc/ffprobe.pod
POD	doc/ffmpeg-all.pod
POD	doc/ffplay-all.pod
POD	doc/ffprobe-all.pod
POD	doc/ffmpeg-filters.pod
MAN	doc/ffmpeg.1
MAN	doc/ffplay.1
MAN	doc/ffprobe.1
MAN	doc/ffmpeg-all.1
MAN	doc/ffplay-all.1
MAN	doc/ffprobe-all.1
MAN	doc/ffmpeg-filters.1
CC	fftools/cmdutils.o
src/fftools/cmdutils.c:1134:5: warning: 'avresample_version' is deprecated [-Wdeprecated-declarations]
    PRINT_LIB_INFO(avresample, AVRESAMPLE, flags, level);
    ^
src/fftools/cmdutils.c:1102:36: note: expanded from macro 'PRINT_LIB_INFO'
            unsigned int version = libname##_version();                 \
                                   ^
<scratch space>:75:1: note: expanded from here
avresample_version
^
src/libavresample/avresample.h:147:1: note: 'avresample_version' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/cmdutils.c:1134:5: warning: 'avresample_configuration' is deprecated [-Wdeprecated-declarations]
    PRINT_LIB_INFO(avresample, AVRESAMPLE, flags, level);
    ^
src/fftools/cmdutils.c:1113:31: note: expanded from macro 'PRINT_LIB_INFO'
            const char *cfg = libname##_configuration();                \
                              ^
<scratch space>:82:1: note: expanded from here
avresample_configuration
^
src/libavresample/avresample.h:157:1: note: 'avresample_configuration' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/cmdutils.c:1499:20: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations]
    while ((prev = av_codec_next(prev))) {
                   ^
src/libavcodec/avcodec.h:4118:1: note: 'av_codec_next' has been explicitly marked deprecated here
attribute_deprecated
^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
3 warnings generated.
LD	ffmpeg_g
ld: warning: directory not found for option '-Llibavresample'
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AVFoundation.framework/AVFoundation.tbd and library file /System/Library/Frameworks//AVFoundation.framework/AVFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreImage.framework/CoreImage.tbd and library file /System/Library/Frameworks//CoreImage.framework/CoreImage are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox.tbd and library file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio.tbd and library file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
STRIP	ffmpeg
LD	ffplay_g
ld: warning: directory not found for option '-Llibavresample'
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AVFoundation.framework/AVFoundation.tbd and library file /System/Library/Frameworks//AVFoundation.framework/AVFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreImage.framework/CoreImage.tbd and library file /System/Library/Frameworks//CoreImage.framework/CoreImage are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox.tbd and library file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio.tbd and library file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
STRIP	ffplay
CC	fftools/ffprobe.o
src/fftools/ffprobe.c:2055:52: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations]
    print_duration_ts("convergence_duration", pkt->convergence_duration);
                                                   ^
src/libavcodec/avcodec.h:1506:5: note: 'convergence_duration' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2056:59: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations]
    print_duration_time("convergence_duration_time", pkt->convergence_duration, &st->time_base);
                                                          ^
src/libavcodec/avcodec.h:1506:5: note: 'convergence_duration' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2574:33: warning: 'timecode_frame_start' is deprecated [-Wdeprecated-declarations]
        if (dec_ctx && dec_ctx->timecode_frame_start >= 0) {
                                ^
src/libavcodec/avcodec.h:2527:5: note: 'timecode_frame_start' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2576:61: warning: 'timecode_frame_start' is deprecated [-Wdeprecated-declarations]
            av_timecode_make_mpeg_tc_string(tcbuf, dec_ctx->timecode_frame_start);
                                                            ^
src/libavcodec/avcodec.h:2527:5: note: 'timecode_frame_start' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2640:17: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str);
                ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2640:76: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str);
                                                                           ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2933:49: warning: 'codec' is deprecated [-Wdeprecated-declarations]
            ist->dec_ctx->coded_width = stream->codec->coded_width;
                                                ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
src/fftools/ffprobe.c:2934:50: warning: 'codec' is deprecated [-Wdeprecated-declarations]
            ist->dec_ctx->coded_height = stream->codec->coded_height;
                                                 ^
src/libavformat/avformat.h:884:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
src/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
8 warnings generated.
LD	ffprobe_g
ld: warning: directory not found for option '-Llibavresample'
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AVFoundation.framework/AVFoundation.tbd and library file /System/Library/Frameworks//AVFoundation.framework/AVFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreImage.framework/CoreImage.tbd and library file /System/Library/Frameworks//CoreImage.framework/CoreImage are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox.tbd and library file /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox.tbd and library file /System/Library/Frameworks//VideoToolbox.framework/VideoToolbox are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreMedia.framework/CoreMedia.tbd and library file /System/Library/Frameworks//CoreMedia.framework/CoreMedia are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio.tbd and library file /System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/AVFAudio are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
STRIP	ffprobe
liuqideMBP:dash liuqi$

comment:19 Changed 9 months ago by stevenliu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.