Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (95)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (11243)

  • How can I remove "original display aspect ratio" from a mp4 file using ffmpeg ?

    21 juin 2020, par aveceux

    I wish to remove the "original display aspect ratio" entry from the video section.

    &#xA;&#xA;

    Video&#xA;ID                             : 1&#xA;Format                         : AVC&#xA;Format/Info                    : Advanced Video Codec&#xA;Format profile                 : High@L4&#xA;Format settings                : CABAC / 4 Ref Frames&#xA;Format settings, CABAC         : Yes&#xA;Format settings, ReFrames      : 4 frames&#xA;Codec ID                       : avc1&#xA;Codec ID/Info                  : Advanced Video Coding&#xA;Duration                       : 44 min 29 s&#xA;Bit rate                       : 5 001 kb/s&#xA;Width                          : 1 920 pixels&#xA;Height                         : 1 072 pixels&#xA;Display aspect ratio           : 16:9&#xA;Original display aspect ratio  : 16:9&#xA;Frame rate mode                : Constant&#xA;Frame rate                     : 25.000 FPS&#xA;Color space                    : YUV&#xA;Chroma subsampling             : 4:2:0&#xA;Bit depth                      : 8 bits&#xA;Scan type                      : Progressive&#xA;Bits/(Pixel*Frame)             : 0.097&#xA;Stream size                    : 1.55 GiB (97%)&#xA;

    &#xA;&#xA;

    I tried the following commands,

    &#xA;&#xA;

    ffmpeg -i input.mp4 -map_metadata -1 -c copy output.mp4

    &#xA;&#xA;

    ffmpeg -i input.mp4 -metadata original_display_aspect_ratio=0 -c copy output.mp4

    &#xA;&#xA;

    but none of them worked.

    &#xA;&#xA;

    If I want to remove the "original display aspect ratio" entry completely, what ffmpeg command can I use to achieve that ?

    &#xA;&#xA;

    Thank you.

    &#xA;&#xA;

    EDIT :&#xA;The result of mediainfo -f :

    &#xA;&#xA;

    General&#xA;Count                                    : 331&#xA;Count of stream of this kind             : 1&#xA;Kind of stream                           : General&#xA;Kind of stream                           : General&#xA;Stream identifier                        : 0&#xA;Count of video streams                   : 1&#xA;Count of audio streams                   : 1&#xA;Video_Format_List                        : AVC&#xA;Video_Format_WithHint_List               : AVC&#xA;Codecs Video                             : AVC&#xA;Audio_Format_List                        : AAC LC&#xA;Audio_Format_WithHint_List               : AAC LC&#xA;Audio codecs                             : AAC LC&#xA;Complete name                            : Downloads/3.mp4&#xA;File name                                : Downloads/3.mp4&#xA;File name                                : Downloads/3&#xA;File extension                           : mp4&#xA;Format                                   : MPEG-4&#xA;Format                                   : MPEG-4&#xA;Format/Extensions usually used           : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v&#xA;Commercial name                          : MPEG-4&#xA;Format profile                           : Base Media&#xA;Internet media type                      : video/mp4&#xA;Codec ID                                 : isom&#xA;Codec ID                                 : isom (isom/iso2/avc1/mp41/letv)&#xA;Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html&#xA;CodecID_Compatible                       : isom/iso2/avc1/mp41/letv&#xA;File size                                : 1715744367&#xA;File size                                : 1.60 GiB&#xA;File size                                : 2 GiB&#xA;File size                                : 1.6 GiB&#xA;File size                                : 1.60 GiB&#xA;File size                                : 1.598 GiB&#xA;Duration                                 : 2670080&#xA;Duration                                 : 44 min 30 s&#xA;Duration                                 : 44 min 30 s 80 ms&#xA;Duration                                 : 44 min 30 s&#xA;Duration                                 : 00:44:30.080&#xA;Duration                                 : 00:44:29:24&#xA;Duration                                 : 00:44:30.080 (00:44:29:24)&#xA;Overall bit rate                         : 5140653&#xA;Overall bit rate                         : 5 141 kb/s&#xA;Frame rate                               : 25.000&#xA;Frame rate                               : 25.000 FPS&#xA;Frame count                              : 66749&#xA;Stream size                              : 3988740&#xA;Stream size                              : 3.80 MiB (0%)&#xA;Stream size                              : 4 MiB&#xA;Stream size                              : 3.8 MiB&#xA;Stream size                              : 3.80 MiB&#xA;Stream size                              : 3.804 MiB&#xA;Stream size                              : 3.80 MiB (0%)&#xA;Proportion of this stream                : 0.00232&#xA;HeaderSize                               : 1510470&#xA;DataSize                                 : 1711755635&#xA;FooterSize                               : 2478262&#xA;IsStreamable                             : Yes&#xA;File creation date                       : UTC 2019-02-20 11:24:46.448&#xA;File creation date (local)               : 2019-02-20 19:24:46.448&#xA;File last modification date              : UTC 2017-05-26 00:00:00.000&#xA;File last modification date (local)      : 2017-05-26 08:00:00.000&#xA;Writing application                      : Lavf56.15.102&#xA;Writing application                      : Lavf56.15.102&#xA;&#xA;Video&#xA;Count                                    : 348&#xA;Count of stream of this kind             : 1&#xA;Kind of stream                           : Video&#xA;Kind of stream                           : Video&#xA;Stream identifier                        : 0&#xA;StreamOrder                              : 0&#xA;ID                                       : 1&#xA;ID                                       : 1&#xA;Format                                   : AVC&#xA;Format                                   : AVC&#xA;Format/Info                              : Advanced Video Codec&#xA;Format/Url                               : http://developers.videolan.org/x264.html&#xA;Commercial name                          : AVC&#xA;Format profile                           : High@L4&#xA;Format settings                          : CABAC / 4 Ref Frames&#xA;Format settings, CABAC                   : Yes&#xA;Format settings, CABAC                   : Yes&#xA;Format settings, ReFrames                : 4&#xA;Format settings, ReFrames                : 4 frames&#xA;Internet media type                      : video/H264&#xA;Codec ID                                 : avc1&#xA;Codec ID/Info                            : Advanced Video Coding&#xA;Duration                                 : 2669960&#xA;Duration                                 : 44 min 29 s&#xA;Duration                                 : 44 min 29 s 960 ms&#xA;Duration                                 : 44 min 29 s&#xA;Duration                                 : 00:44:29.960&#xA;Duration                                 : 00:44:29:24&#xA;Duration                                 : 00:44:29.960 (00:44:29:24)&#xA;Bit rate                                 : 5000927&#xA;Bit rate                                 : 5 001 kb/s&#xA;Width                                    : 1920&#xA;Width                                    : 1 920 pixels&#xA;Height                                   : 1072&#xA;Height                                   : 1 072 pixels&#xA;Sampled_Width                            : 1920&#xA;Sampled_Height                           : 1072&#xA;Pixel aspect ratio                       : 0.993&#xA;Display aspect ratio                     : 1.779&#xA;Display aspect ratio                     : 16:9&#xA;Original display aspect ratio            : 1.778&#xA;Original display aspect ratio            : 16:9&#xA;Rotation                                 : 0.000&#xA;Frame rate mode                          : CFR&#xA;Frame rate mode                          : Constant&#xA;FrameRate_Mode_Original                  : VFR&#xA;Frame rate                               : 25.000&#xA;Frame rate                               : 25.000 FPS&#xA;Frame count                              : 66749&#xA;Color space                              : YUV&#xA;Chroma subsampling                       : 4:2:0&#xA;Chroma subsampling                       : 4:2:0&#xA;Bit depth                                : 8&#xA;Bit depth                                : 8 bits&#xA;Scan type                                : Progressive&#xA;Scan type                                : Progressive&#xA;Bits/(Pixel*Frame)                       : 0.097&#xA;Stream size                              : 1669034254&#xA;Stream size                              : 1.55 GiB (97%)&#xA;Stream size                              : 2 GiB&#xA;Stream size                              : 1.6 GiB&#xA;Stream size                              : 1.55 GiB&#xA;Stream size                              : 1.554 GiB&#xA;Stream size                              : 1.55 GiB (97%)&#xA;Proportion of this stream                : 0.97278&#xA;Codec configuration box                  : avcC&#xA;&#xA;Audio&#xA;Count                                    : 277&#xA;Count of stream of this kind             : 1&#xA;Kind of stream                           : Audio&#xA;Kind of stream                           : Audio&#xA;Stream identifier                        : 0&#xA;StreamOrder                              : 1&#xA;ID                                       : 2&#xA;ID                                       : 2&#xA;Format                                   : AAC&#xA;Format                                   : AAC LC&#xA;Format/Info                              : Advanced Audio Codec Low Complexity&#xA;Commercial name                          : AAC&#xA;Format_AdditionalFeatures                : LC&#xA;Codec ID                                 : mp4a-40-2&#xA;Duration                                 : 2670080&#xA;Duration                                 : 44 min 30 s&#xA;Duration                                 : 44 min 30 s 80 ms&#xA;Duration                                 : 44 min 30 s&#xA;Duration                                 : 00:44:30.080&#xA;Duration                                 : 00:44:34:09&#xA;Duration                                 : 00:44:30.080 (00:44:34:09)&#xA;Bit rate mode                            : CBR&#xA;Bit rate mode                            : Constant&#xA;Bit rate                                 : 128000&#xA;Bit rate                                 : 128 kb/s&#xA;Channel(s)                               : 2&#xA;Channel(s)                               : 2 channels&#xA;Channel positions                        : Front: L R&#xA;Channel positions                        : 2/0/0&#xA;Channel layout                           : L R&#xA;Samples per frame                        : 1024&#xA;Sampling rate                            : 44100&#xA;Sampling rate                            : 44.1 kHz&#xA;Samples count                            : 117750528&#xA;Frame rate                               : 43.066&#xA;Frame rate                               : 43.066 FPS (1024 SPF)&#xA;Frame count                              : 114991&#xA;Compression mode                         : Lossy&#xA;Compression mode                         : Lossy&#xA;Stream size                              : 42721373&#xA;Stream size                              : 40.7 MiB (2%)&#xA;Stream size                              : 41 MiB&#xA;Stream size                              : 41 MiB&#xA;Stream size                              : 40.7 MiB&#xA;Stream size                              : 40.74 MiB&#xA;Stream size                              : 40.7 MiB (2%)&#xA;Proportion of this stream                : 0.02490&#xA;Default                                  : Yes&#xA;Default                                  : Yes&#xA;Alternate group                          : 1&#xA;Alternate group                          : 1&#xA;

    &#xA;

  • Stream ffmpeg transcoding result to S3

    7 juin 2019, par mabead

    I want to transcode a large file using FFMPEG and store the result directly on AWS S3. This will be done inside of an AWS Lambda that has limited tmp space so I can’t store the transcoding result locally and then upload it to S3 in a second step. I won’t have enough tmp space. I therefore want to store the FFMPEG output directly on S3.

    I therefore created a S3 pre-signed url that allows ’PUT’ :

    var outputPath = s3Client.GetPreSignedURL(new Amazon.S3.Model.GetPreSignedUrlRequest
    {
       BucketName = "my-bucket",
       Expires = DateTime.UtcNow.AddMinutes(5),
       Key = "output.mp3",
       Verb = HttpVerb.PUT,
    });

    I then called ffmpeg with the resulting pre-signed url :

    ffmpeg -i C:\input.wav -y -vn -ar 44100 -ac 2 -ab 192k -f mp3 https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550427237&amp;Signature=%2BE8Wc%2F%2FQYrvGxzc%2FgXnsvauKnac%3D

    FFMPEG returns an exit code of 1 with the following output :

    ffmpeg version N-93120-ga84af760b8 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.100 / 58. 47.100
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  6.101 / 58.  6.101
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from 'C:\input.wav':
     Duration: 00:04:16.72, bitrate: 3072 kb/s
       Stream #0:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 3072 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_s32le (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, mp3, to 'https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550427237&amp;Signature=%2BE8Wc%2F%2FQYrvGxzc%2FgXnsvauKnac%3D':
     Metadata:
       TSSE            : Lavf58.26.101
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s32p, 192 kb/s
       Metadata:
         encoder         : Lavc58.47.100 libmp3lame
    size=     577kB time=00:00:24.58 bitrate= 192.2kbits/s speed=49.1x    
    size=    1109kB time=00:00:47.28 bitrate= 192.1kbits/s speed=47.2x    
    [tls @ 000001d73d786b00] Error in the push function.
    av_interleaved_write_frame(): I/O error
    Error writing trailer of https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550427237&amp;Signature=%2BE8Wc%2F%2FQYrvGxzc%2FgXnsvauKnac%3D: I/O error
    size=    1143kB time=00:00:48.77 bitrate= 192.0kbits/s speed=  47x    
    video:0kB audio:1144kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [tls @ 000001d73d786b00] The specified session has been invalidated for some reason.
    [tls @ 000001d73d786b00] Error in the pull function.
    [https @ 000001d73d784fc0] URL read error:  -5
    Conversion failed!

    As you can see, I have a URL read error. This is a little surprising to me since I want to output to this url and not read it.

    Anybody know how I can store directly my FFMPEG output directly to S3 without having to store it locally first ?

    Edit 1
    I then tried to use the -method PUT parameter and use http instead of https to remove TLS from the equation. Here’s the output that I got when running ffmpeg with the -v trace option.

    ffmpeg version N-93120-ga84af760b8 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.100 / 58. 47.100
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  6.101 / 58.  6.101
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    Splitting the commandline.
    Reading option '-i' ... matched as input url with argument 'C:\input.wav'.
    Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
    Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
    Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
    Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
    Reading option '-ab' ... matched as option 'ab' (audio bitrate (please use -b:a)) with argument '192k'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
    Reading option '-method' ... matched as AVOption 'method' with argument 'PUT'.
    Reading option '-v' ... matched as option 'v' (set logging level) with argument 'trace'.
    Reading option 'https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option y (overwrite output files) with argument 1.
    Applying option v (set logging level) with argument trace.
    Successfully parsed a group of options.
    Parsing a group of options: input url C:\input.wav.
    Successfully parsed a group of options.
    Opening an input file: C:\input.wav.
    [NULL @ 000001fb37abb180] Opening 'C:\input.wav' for reading
    [file @ 000001fb37abc180] Setting default whitelist 'file,crypto'
    Probing wav score:99 size:2048
    [wav @ 000001fb37abb180] Format wav probed with size=2048 and score=99
    [wav @ 000001fb37abb180] Before avformat_find_stream_info() pos: 54 bytes read:65590 seeks:1 nb_streams:1
    [wav @ 000001fb37abb180] parser not found for codec pcm_s32le, packets or times may be invalid.
       Last message repeated 1 times
    [wav @ 000001fb37abb180] All info found
    [wav @ 000001fb37abb180] stream 0: start_time: -192153584101141.156 duration: 256.716
    [wav @ 000001fb37abb180] format: start_time: -9223372036854.775 duration: 256.716 bitrate=3072 kb/s
    [wav @ 000001fb37abb180] After avformat_find_stream_info() pos: 204854 bytes read:294966 seeks:1 frames:50
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, wav, from 'C:\input.wav':
     Duration: 00:04:16.72, bitrate: 3072 kb/s
       Stream #0:0, 50, 1/48000: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 3072 kb/s
    Successfully opened the file.
    Parsing a group of options: output url https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D.
    Applying option vn (disable video) with argument 1.
    Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
    Applying option ac (set number of audio channels) with argument 2.
    Applying option ab (audio bitrate (please use -b:a)) with argument 192k.
    Applying option f (force format) with argument mp3.
    Successfully parsed a group of options.
    Opening an output file: https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D.
    [http @ 000001fb37b15140] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
    [tcp @ 000001fb37b16c80] Original list of addresses:
    [tcp @ 000001fb37b16c80] Address 52.216.8.203 port 80
    [tcp @ 000001fb37b16c80] Interleaved list of addresses:
    [tcp @ 000001fb37b16c80] Address 52.216.8.203 port 80
    [tcp @ 000001fb37b16c80] Starting connection attempt to 52.216.8.203 port 80
    [tcp @ 000001fb37b16c80] Successfully connected to 52.216.8.203 port 80
    [http @ 000001fb37b15140] request: PUT /output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D HTTP/1.1
    Transfer-Encoding: chunked
    User-Agent: Lavf/58.26.101
    Accept: */*
    Connection: close
    Host: landr-distribution-reportsdev-mb.s3.amazonaws.com
    Icy-MetaData: 1
    Successfully opened the file.
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_s32le (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    detected 8 logical cores
    [graph_0_in_0_0 @ 000001fb37b21080] Setting 'time_base' to value '1/48000'
    [graph_0_in_0_0 @ 000001fb37b21080] Setting 'sample_rate' to value '48000'
    [graph_0_in_0_0 @ 000001fb37b21080] Setting 'sample_fmt' to value 's32'
    [graph_0_in_0_0 @ 000001fb37b21080] Setting 'channel_layout' to value '0x3'
    [graph_0_in_0_0 @ 000001fb37b21080] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
    [format_out_0_0 @ 000001fb37b22cc0] Setting 'sample_fmts' to value 's32p|fltp|s16p'
    [format_out_0_0 @ 000001fb37b22cc0] Setting 'sample_rates' to value '44100'
    [format_out_0_0 @ 000001fb37b22cc0] Setting 'channel_layouts' to value '0x3'
    [format_out_0_0 @ 000001fb37b22cc0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
    [AVFilterGraph @ 000001fb37b0d940] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
    [auto_resampler_0 @ 000001fb37b251c0] picking s32p out of 3 ref:s32
    [auto_resampler_0 @ 000001fb37b251c0] [SWR @ 000001fb37b252c0] Using fltp internally between filters
    [auto_resampler_0 @ 000001fb37b251c0] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:s32p r:44100Hz
    Output #0, mp3, to 'https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D':
     Metadata:
       TSSE            : Lavf58.26.101
       Stream #0:0, 0, 1/44100: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s32p, delay 1105, 192 kb/s
       Metadata:
         encoder         : Lavc58.47.100 libmp3lame
    cur_dts is invalid (this is harmless if it occurs once at the start per stream)
       Last message repeated 6 times
    size=     649kB time=00:00:27.66 bitrate= 192.2kbits/s speed=55.3x    
    size=    1207kB time=00:00:51.48 bitrate= 192.1kbits/s speed=51.5x    
    av_interleaved_write_frame(): Unknown error
    No more output streams to write to, finishing.
    [libmp3lame @ 000001fb37b147c0] Trying to remove 47 more samples than there are in the queue
    Error writing trailer of https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D: Error number -10054 occurred
    size=    1251kB time=00:00:53.39 bitrate= 192.0kbits/s speed=51.5x    
    video:0kB audio:1252kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Input file #0 (C:\input.wav):
     Input stream #0:0 (audio): 5014 packets read (20537344 bytes); 5014 frames decoded (2567168 samples);
     Total: 5014 packets (20537344 bytes) demuxed
    Output file #0 (https://my-bucket.s3.amazonaws.com/output.mp3?AWSAccessKeyId=AKIAJDSGJWM63VQEXHIQ&amp;Expires=1550695990&amp;Signature=dy3RVqDlX%2BlJ0INlDkl0Lm1Rqb4%3D):
     Output stream #0:0 (audio): 2047 frames encoded (2358144 samples); 2045 packets muxed (1282089 bytes);
     Total: 2045 packets (1282089 bytes) muxed
    5014 frames successfully decoded, 0 decoding errors
    [AVIOContext @ 000001fb37b1f440] Statistics: 0 seeks, 2046 writeouts
    [http @ 000001fb37b15140] URL read error:  -10054
    [AVIOContext @ 000001fb37ac4400] Statistics: 20611126 bytes read, 1 seeks
    Conversion failed!

    So it looks like it is able to connect to my S3 pre-signed url but I still have the Error writing trailer error coupled with a URL read error.

  • build ffmpeg on ubuntu : build nasm fails

    6 février 2019, par Rakka Rage

    trying to build ffmpeg on ubuntu 18.10

    https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    first install dependencies

    sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \
    autoconf \
    automake \
    build-essential \
    cmake \
    git-core \
    libass-dev \
    libfreetype6-dev \
    libsdl2-dev \
    libtool \
    libva-dev \
    libvdpau-dev \
    libvorbis-dev \
    libxcb1-dev \
    libxcb-shm0-dev \
    libxcb-xfixes0-dev \
    pkg-config \
    texinfo \
    wget \
    zlib1g-dev

    then make dirs

    mkdir -p ~/ffmpeg_sources ~/bin

    then build nasm

    cd ~/ffmpeg_sources &amp;&amp; \
    wget https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2 &amp;&amp; \
    tar xjvf nasm-2.13.03.tar.bz2 &amp;&amp; \
    cd nasm-2.13.03 &amp;&amp; \
    ./autogen.sh &amp;&amp; \
    PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" &amp;&amp; \
    make &amp;&amp; \
    make install

    then error

    --2019-02-04 17:45:17--  https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2
    Resolving www.nasm.us (www.nasm.us)... 2607:7c80:54:e::136, 198.137.202.136
    Connecting to www.nasm.us (www.nasm.us)|2607:7c80:54:e::136|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 974491 (952K) [application/x-bzip2]
    Saving to: ‘nasm-2.13.03.tar.bz2’

    nasm-2.13.03.tar.bz2          100%[=================================================>] 951.65K  1.51MB/s    in 0.6s    

    2019-02-04 17:45:18 (1.51 MB/s) - ‘nasm-2.13.03.tar.bz2’ saved [974491/974491]

    nasm-2.13.03/
    nasm-2.13.03/AUTHORS
    nasm-2.13.03/TODO
    nasm-2.13.03/headers/
    nasm-2.13.03/headers/c
    nasm-2.13.03/headers/mac
    nasm-2.13.03/headers/perl
    nasm-2.13.03/headers/doc
    nasm-2.13.03/test/
    nasm-2.13.03/test/objtest.asm
    nasm-2.13.03/test/float8.asm
    nasm-2.13.03/test/avx512cd.asm
    nasm-2.13.03/test/br890790_i.asm
    nasm-2.13.03/test/avx.asm
    nasm-2.13.03/test/pushseg.asm
    nasm-2.13.03/test/br3074517.asm
    nasm-2.13.03/test/inc2.asm
    nasm-2.13.03/test/elfso.asm
    nasm-2.13.03/test/br2222615.asm
    nasm-2.13.03/test/local.asm
    nasm-2.13.03/test/time.asm
    nasm-2.13.03/test/smartalign64.asm
    nasm-2.13.03/test/movimm.asm
    nasm-2.13.03/test/elif.asm
    nasm-2.13.03/test/absolute.asm
    nasm-2.13.03/test/nullfile.asm
    nasm-2.13.03/test/test67.asm
    nasm-2.13.03/test/reldef.asm
    nasm-2.13.03/test/jmp64.asm
    nasm-2.13.03/test/addr64x.asm
    nasm-2.13.03/test/weirdpaste.asm
    nasm-2.13.03/test/newrdwr.asm
    nasm-2.13.03/test/gas2nasm.py
    nasm-2.13.03/test/br3104312.asm
    nasm-2.13.03/test/br3041451.asm
    nasm-2.13.03/test/xchg.asm
    nasm-2.13.03/test/movnti.asm
    nasm-2.13.03/test/br3385573.asm
    nasm-2.13.03/test/testdos.asm
    nasm-2.13.03/test/br3005117.asm
    nasm-2.13.03/test/pcrel.asm
    nasm-2.13.03/test/objexe.asm
    nasm-2.13.03/test/immwarn.asm
    nasm-2.13.03/test/smartalign16.asm
    nasm-2.13.03/test/floatx.asm
    nasm-2.13.03/test/pinsr64.asm
    nasm-2.13.03/test/radix.asm
    nasm-2.13.03/test/gotoff64.asm
    nasm-2.13.03/test/elf64so.asm
    nasm-2.13.03/test/smartalign32.asm
    nasm-2.13.03/test/floatize.asm
    nasm-2.13.03/test/lnxhello.asm
    nasm-2.13.03/test/bisect.sh
    nasm-2.13.03/test/fpu.asm
    nasm-2.13.03/test/ptr.asm
    nasm-2.13.03/test/br2496848.asm
    nasm-2.13.03/test/binexe.asm
    nasm-2.13.03/test/gather.asm
    nasm-2.13.03/test/nop.asm
    nasm-2.13.03/test/br560575.asm
    nasm-2.13.03/test/uscore.asm
    nasm-2.13.03/test/struc.asm
    nasm-2.13.03/test/br3026808.asm
    nasm-2.13.03/test/zerobyte.asm
    nasm-2.13.03/test/avx005.asm
    nasm-2.13.03/test/riprel.pl
    nasm-2.13.03/test/iftoken.asm
    nasm-2.13.03/test/times.asm
    nasm-2.13.03/test/ifmacro.asm
    nasm-2.13.03/test/br3392411.asm
    nasm-2.13.03/test/br3392418.asm
    nasm-2.13.03/test/riprel.asm
    nasm-2.13.03/test/align13.asm
    nasm-2.13.03/test/rdpid.asm
    nasm-2.13.03/test/utf.asm
    nasm-2.13.03/test/br3187743.asm
    nasm-2.13.03/test/movd.asm
    nasm-2.13.03/test/floatb.asm
    nasm-2.13.03/test/inc1.asm
    nasm-2.13.03/test/ilog2.asm
    nasm-2.13.03/test/crc32.asm
    nasm-2.13.03/test/org.asm
    nasm-2.13.03/test/popcnt.asm
    nasm-2.13.03/test/ifelse.asm
    nasm-2.13.03/test/andbyte.asm
    nasm-2.13.03/test/bintest.asm
    nasm-2.13.03/test/imm64.asm
    nasm-2.13.03/test/pinsr16.asm
    nasm-2.13.03/test/ppindirect.asm
    nasm-2.13.03/test/Makefile
    nasm-2.13.03/test/br3392252.asm
    nasm-2.13.03/test/elftest64.c
    nasm-2.13.03/test/hexfp.asm
    nasm-2.13.03/test/alonesym-obj.asm
    nasm-2.13.03/test/br3092924.asm
    nasm-2.13.03/test/br3392442.asm
    nasm-2.13.03/test/loopoffs.asm
    nasm-2.13.03/test/vex.asm
    nasm-2.13.03/test/bcd.asm
    nasm-2.13.03/test/iftoken.pl
    nasm-2.13.03/test/br3189064.asm
    nasm-2.13.03/test/br3392439.asm
    nasm-2.13.03/test/cofftest.c
    nasm-2.13.03/test/floatexp.asm
    nasm-2.13.03/test/mpx-64.asm
    nasm-2.13.03/test/elftest.asm
    nasm-2.13.03/test/avx512pf.asm
    nasm-2.13.03/test/xmm0.asm
    nasm-2.13.03/test/br3392396.asm
    nasm-2.13.03/test/ifenv.asm
    nasm-2.13.03/test/insnlbl.asm
    nasm-2.13.03/test/imm.asm
    nasm-2.13.03/test/performtest.pl
    nasm-2.13.03/test/br2148476.asm
    nasm-2.13.03/test/imul.asm
    nasm-2.13.03/test/br890790.asm
    nasm-2.13.03/test/perf/
    nasm-2.13.03/test/perf/macro.pl
    nasm-2.13.03/test/perf/label.pl
    nasm-2.13.03/test/perf/token.pl
    nasm-2.13.03/test/br3392259.asm
    nasm-2.13.03/test/br3392363.asm
    nasm-2.13.03/test/macroerr.asm
    nasm-2.13.03/test/br560873.asm
    nasm-2.13.03/test/sreg.asm
    nasm-2.13.03/test/br3200749.asm
    nasm-2.13.03/test/xcrypt.asm
    nasm-2.13.03/test/br3109604.asm
    nasm-2.13.03/test/pragma.asm
    nasm-2.13.03/test/objlink.c
    nasm-2.13.03/test/vaesenc.asm
    nasm-2.13.03/test/align13s.asm
    nasm-2.13.03/test/br2030823.asm
    nasm-2.13.03/test/imacro.asm
    nasm-2.13.03/test/timesneg.asm
    nasm-2.13.03/test/macroerr.inc
    nasm-2.13.03/test/vgather.asm
    nasm-2.13.03/test/elftest.c
    nasm-2.13.03/test/floattest.asm
    nasm-2.13.03/test/lar_lsl.asm
    nasm-2.13.03/test/expimp.asm
    nasm-2.13.03/test/testnos3.asm
    nasm-2.13.03/test/r13.asm
    nasm-2.13.03/test/splitea.asm
    nasm-2.13.03/test/mpx.asm
    nasm-2.13.03/test/sha.asm
    nasm-2.13.03/test/fwdopt.asm
    nasm-2.13.03/test/strlen.asm
    nasm-2.13.03/test/a32offs.asm
    nasm-2.13.03/test/vmread.asm
    nasm-2.13.03/test/cv8struc.asm
    nasm-2.13.03/test/aoutso.asm
    nasm-2.13.03/test/relocs.asm
    nasm-2.13.03/test/_version.asm
    nasm-2.13.03/test/br1879590.asm
    nasm-2.13.03/test/tmap.nas
    nasm-2.13.03/test/hle.asm
    nasm-2.13.03/test/br2003451.asm
    nasm-2.13.03/test/float.asm
    nasm-2.13.03/test/mmxsize.asm
    nasm-2.13.03/test/far64.asm
    nasm-2.13.03/test/new
    nasm-2.13.03/test/movd64.asm
    nasm-2.13.03/test/incbin.asm
    nasm-2.13.03/test/inctest.asm
    nasm-2.13.03/test/cofftest.asm
    nasm-2.13.03/test/avx512f.asm
    nasm-2.13.03/test/nasmformat.asm
    nasm-2.13.03/test/prefix66.asm
    nasm-2.13.03/test/paste.asm
    nasm-2.13.03/test/br978756.asm
    nasm-2.13.03/test/br3028880.asm
    nasm-2.13.03/test/optimization.asm
    nasm-2.13.03/test/aouttest.asm
    nasm-2.13.03/test/macro-defaults.asm
    nasm-2.13.03/test/pinsr32.asm
    nasm-2.13.03/test/br3066383.asm
    nasm-2.13.03/test/_file_.asm
    nasm-2.13.03/test/invlpga.asm
    nasm-2.13.03/test/incbin.data
    nasm-2.13.03/test/sha-64.asm
    nasm-2.13.03/test/multisection.asm
    nasm-2.13.03/test/avx2.asm
    nasm-2.13.03/test/avx512er.asm
    nasm-2.13.03/test/dtbcd.asm
    nasm-2.13.03/test/pextrw.asm
    nasm-2.13.03/test/lwp.asm
    nasm-2.13.03/test/br3174983.asm
    nasm-2.13.03/test/changed.asm
    nasm-2.13.03/test/larlsl.asm
    nasm-2.13.03/test/riprel2.asm
    nasm-2.13.03/test/fwdoptpp.asm
    nasm-2.13.03/test/br3058845.asm
    nasm-2.13.03/test/aouttest.c
    nasm-2.13.03/test/br3392392.asm
    nasm-2.13.03/Makefile.in
    nasm-2.13.03/README
    nasm-2.13.03/common/
    nasm-2.13.03/common/common.c
    nasm-2.13.03/autogen.sh
    nasm-2.13.03/version.sed
    nasm-2.13.03/version.pl
    nasm-2.13.03/include/
    nasm-2.13.03/include/insns.h
    nasm-2.13.03/include/hashtbl.h
    nasm-2.13.03/include/error.h
    nasm-2.13.03/include/perfhash.h
    nasm-2.13.03/include/rdoff.h
    nasm-2.13.03/include/nasm.h
    nasm-2.13.03/include/nasmint.h
    nasm-2.13.03/include/ver.h
    nasm-2.13.03/include/raa.h
    nasm-2.13.03/include/md5.h
    nasm-2.13.03/include/opflags.h
    nasm-2.13.03/include/iflag.h
    nasm-2.13.03/include/tables.h
    nasm-2.13.03/include/disp8.h
    nasm-2.13.03/include/rbtree.h
    nasm-2.13.03/include/labels.h
    nasm-2.13.03/include/compiler.h
    nasm-2.13.03/include/strlist.h
    nasm-2.13.03/include/nasmlib.h
    nasm-2.13.03/include/saa.h
    nasm-2.13.03/contrib/
    nasm-2.13.03/contrib/VSrules/
    nasm-2.13.03/contrib/VSrules/nasm.README
    nasm-2.13.03/contrib/VSrules/nasm.rules
    nasm-2.13.03/contrib/MSVC6.txt
    nasm-2.13.03/SubmittingPatches
    nasm-2.13.03/stdlib/
    nasm-2.13.03/stdlib/strlcpy.c
    nasm-2.13.03/stdlib/vsnprintf.c
    nasm-2.13.03/stdlib/snprintf.c
    nasm-2.13.03/stdlib/strnlen.c
    nasm-2.13.03/disasm/
    nasm-2.13.03/disasm/sync.c
    nasm-2.13.03/disasm/disasm.h
    nasm-2.13.03/disasm/ndisasm.c
    nasm-2.13.03/disasm/sync.h
    nasm-2.13.03/disasm/disasm.c
    nasm-2.13.03/nasmlib/
    nasm-2.13.03/nasmlib/md5c.c
    nasm-2.13.03/nasmlib/rbtree.c
    nasm-2.13.03/nasmlib/badenum.c
    nasm-2.13.03/nasmlib/srcfile.c
    nasm-2.13.03/nasmlib/mmap.c
    nasm-2.13.03/nasmlib/zerobuf.c
    nasm-2.13.03/nasmlib/crc64.c
    nasm-2.13.03/nasmlib/saa.c
    nasm-2.13.03/nasmlib/raa.c
    nasm-2.13.03/nasmlib/bsi.c
    nasm-2.13.03/nasmlib/ver.c
    nasm-2.13.03/nasmlib/perfhash.c
    nasm-2.13.03/nasmlib/strlist.c
    nasm-2.13.03/nasmlib/hashtbl.c
    nasm-2.13.03/nasmlib/filename.c
    nasm-2.13.03/nasmlib/file.c
    nasm-2.13.03/nasmlib/path.c
    nasm-2.13.03/nasmlib/file.h
    nasm-2.13.03/nasmlib/realpath.c
    nasm-2.13.03/nasmlib/string.c
    nasm-2.13.03/nasmlib/readnum.c
    nasm-2.13.03/nasmlib/perfhash.pl
    nasm-2.13.03/nasmlib/ilog2.c
    nasm-2.13.03/nasmlib/malloc.c
    nasm-2.13.03/LICENSE
    nasm-2.13.03/ndisasm.txt
    nasm-2.13.03/misc/
    nasm-2.13.03/misc/c16.mac
    nasm-2.13.03/misc/README
    nasm-2.13.03/misc/proc32.ash
    nasm-2.13.03/misc/nasmstab
    nasm-2.13.03/misc/c32.mac
    nasm-2.13.03/misc/Nindent
    nasm-2.13.03/misc/exebin.mac
    nasm-2.13.03/misc/Doxyfile
    nasm-2.13.03/misc/exebin2.mac
    nasm-2.13.03/misc/magic
    nasm-2.13.03/misc/omfdump.c
    nasm-2.13.03/misc/nasm.sl
    nasm-2.13.03/misc/hints.txt
    nasm-2.13.03/misc/scitech.mac
    nasm-2.13.03/misc/crcgen.c
    nasm-2.13.03/misc/myC32.mac
    nasm-2.13.03/misc/genfma.pl
    nasm-2.13.03/misc/xcrcgen.c
    nasm-2.13.03/misc/fmtinsns.pl
    nasm-2.13.03/misc/pmw.bat
    nasm-2.13.03/CHANGES
    nasm-2.13.03/configure
    nasm-2.13.03/ndisasm.1
    nasm-2.13.03/tools/
    nasm-2.13.03/tools/tag-release
    nasm-2.13.03/tools/syncfiles.pl
    nasm-2.13.03/tools/cleanpatch
    nasm-2.13.03/tools/cleanfile
    nasm-2.13.03/tools/release
    nasm-2.13.03/tools/mkdep.pl
    nasm-2.13.03/INSTALL
    nasm-2.13.03/install-sh
    nasm-2.13.03/Mkfiles/
    nasm-2.13.03/Mkfiles/README
    nasm-2.13.03/Mkfiles/openwcom.mak
    nasm-2.13.03/Mkfiles/msvc.mak
    nasm-2.13.03/version
    nasm-2.13.03/nasm.txt
    nasm-2.13.03/nsis/
    nasm-2.13.03/nsis/version.nsh
    nasm-2.13.03/nsis/nasm-un.ico
    nasm-2.13.03/nsis/NASMMultiUser.nsh
    nasm-2.13.03/nsis/getpearch.pl
    nasm-2.13.03/nsis/nasm.nsi
    nasm-2.13.03/nsis/nasm.ico
    nasm-2.13.03/macros/
    nasm-2.13.03/macros/macros.pl
    nasm-2.13.03/macros/standard.mac
    nasm-2.13.03/macros/ifunc.mac
    nasm-2.13.03/macros/altreg.mac
    nasm-2.13.03/macros/macros.c
    nasm-2.13.03/macros/smartalign.mac
    nasm-2.13.03/macros/fp.mac
    nasm-2.13.03/config/
    nasm-2.13.03/config/watcom.h
    nasm-2.13.03/config/msvc.h
    nasm-2.13.03/config/config.h.in
    nasm-2.13.03/config/unknown.h
    nasm-2.13.03/nasm.1
    nasm-2.13.03/asm/
    nasm-2.13.03/asm/preproc.h
    nasm-2.13.03/asm/preproc-nop.c
    nasm-2.13.03/asm/tokens.h
    nasm-2.13.03/asm/pptok.h
    nasm-2.13.03/asm/stdscan.c
    nasm-2.13.03/asm/nasm.c
    nasm-2.13.03/asm/pragma.c
    nasm-2.13.03/asm/pptok.dat
    nasm-2.13.03/asm/float.h
    nasm-2.13.03/asm/pptok.pl
    nasm-2.13.03/asm/directiv.dat
    nasm-2.13.03/asm/error.c
    nasm-2.13.03/asm/labels.c
    nasm-2.13.03/asm/eval.h
    nasm-2.13.03/asm/directiv.h
    nasm-2.13.03/asm/assemble.h
    nasm-2.13.03/asm/parser.h
    nasm-2.13.03/asm/assemble.c
    nasm-2.13.03/asm/listing.c
    nasm-2.13.03/asm/tokhash.c
    nasm-2.13.03/asm/preproc.c
    nasm-2.13.03/asm/exprdump.c
    nasm-2.13.03/asm/pptok.c
    nasm-2.13.03/asm/parser.c
    nasm-2.13.03/asm/quote.h
    nasm-2.13.03/asm/quote.c
    nasm-2.13.03/asm/segalloc.c
    nasm-2.13.03/asm/tokens.dat
    nasm-2.13.03/asm/float.c
    nasm-2.13.03/asm/exprlib.c
    nasm-2.13.03/asm/phash.pl
    nasm-2.13.03/asm/directiv.c
    nasm-2.13.03/asm/listing.h
    nasm-2.13.03/asm/directbl.c
    nasm-2.13.03/asm/stdscan.h
    nasm-2.13.03/asm/rdstrnum.c
    nasm-2.13.03/asm/pptok.ph
    nasm-2.13.03/asm/tokhash.pl
    nasm-2.13.03/asm/strfunc.c
    nasm-2.13.03/asm/eval.c
    nasm-2.13.03/rdoff/
    nasm-2.13.03/rdoff/rdf2bin.1
    nasm-2.13.03/rdoff/segtab.c
    nasm-2.13.03/rdoff/rdf2srec.1
    nasm-2.13.03/rdoff/rdf2ihx.1
    nasm-2.13.03/rdoff/rdlib.h
    nasm-2.13.03/rdoff/test/
    nasm-2.13.03/rdoff/test/rdftest1.asm
    nasm-2.13.03/rdoff/test/rdtlib.asm
    nasm-2.13.03/rdoff/test/makelib.sh
    nasm-2.13.03/rdoff/test/rdftest2.asm
    nasm-2.13.03/rdoff/test/Makefile
    nasm-2.13.03/rdoff/test/rdfseg.asm
    nasm-2.13.03/rdoff/test/testlib.asm
    nasm-2.13.03/rdoff/test/rdfseg2.asm
    nasm-2.13.03/rdoff/test/rdtmain.asm
    nasm-2.13.03/rdoff/rdf2ith.1
    nasm-2.13.03/rdoff/rdlib.c
    nasm-2.13.03/rdoff/README
    nasm-2.13.03/rdoff/symtab.c
    nasm-2.13.03/rdoff/segtab.h
    nasm-2.13.03/rdoff/hash.c
    nasm-2.13.03/rdoff/ldrdf.1
    nasm-2.13.03/rdoff/rdfutils.h
    nasm-2.13.03/rdoff/rdflib.1
    nasm-2.13.03/rdoff/rdf2com.1
    nasm-2.13.03/rdoff/rdoff.c
    nasm-2.13.03/rdoff/ldsegs.h
    nasm-2.13.03/rdoff/rdfdump.1
    nasm-2.13.03/rdoff/rdlar.c
    nasm-2.13.03/rdoff/rdf2bin.c
    nasm-2.13.03/rdoff/symtab.h
    nasm-2.13.03/rdoff/collectn.c
    nasm-2.13.03/rdoff/rdfload.h
    nasm-2.13.03/rdoff/rdflib.c
    nasm-2.13.03/rdoff/rdfload.c
    nasm-2.13.03/rdoff/ldrdf.c
    nasm-2.13.03/rdoff/rdx.1
    nasm-2.13.03/rdoff/rdx.c
    nasm-2.13.03/rdoff/collectn.h
    nasm-2.13.03/rdoff/rdlar.h
    nasm-2.13.03/rdoff/hash.h
    nasm-2.13.03/rdoff/rdfdump.c
    nasm-2.13.03/rdoff/doc/
    nasm-2.13.03/rdoff/doc/Makefile
    nasm-2.13.03/rdoff/doc/v1-v2.txt
    nasm-2.13.03/rdoff/doc/rdoff.texi
    nasm-2.13.03/version.mac
    nasm-2.13.03/output/
    nasm-2.13.03/output/legacy.c
    nasm-2.13.03/output/elf.h
    nasm-2.13.03/output/outbin.mac
    nasm-2.13.03/output/nulldbg.c
    nasm-2.13.03/output/outform.h
    nasm-2.13.03/output/stabs.h
    nasm-2.13.03/output/outobj.c
    nasm-2.13.03/output/codeview.c
    nasm-2.13.03/output/outform.c
    nasm-2.13.03/output/outlib.c
    nasm-2.13.03/output/outbin.c
    nasm-2.13.03/output/outieee.c
    nasm-2.13.03/output/outas86.mac
    nasm-2.13.03/output/outmacho.mac
    nasm-2.13.03/output/outaout.c
    nasm-2.13.03/output/outaout.mac
    nasm-2.13.03/output/outdbg.c
    nasm-2.13.03/output/outmacho.c
    nasm-2.13.03/output/outrdf2.c
    nasm-2.13.03/output/nullout.c
    nasm-2.13.03/output/outlib.h
    nasm-2.13.03/output/outobj.mac
    nasm-2.13.03/output/outcoff.c
    nasm-2.13.03/output/outcoff.mac
    nasm-2.13.03/output/outrdf2.mac
    nasm-2.13.03/output/outelf.h
    nasm-2.13.03/output/pecoff.h
    nasm-2.13.03/output/outrdf.mac
    nasm-2.13.03/output/dwarf.h
    nasm-2.13.03/output/outelf.c
    nasm-2.13.03/output/outas86.c
    nasm-2.13.03/output/outelf.mac
    nasm-2.13.03/perllib/
    nasm-2.13.03/perllib/random_sv_vectors.ph
    nasm-2.13.03/perllib/gensv.pl
    nasm-2.13.03/perllib/phash.ph
    nasm-2.13.03/perllib/crc64.ph
    nasm-2.13.03/configure.ac
    nasm-2.13.03/aclocal.m4
    nasm-2.13.03/ChangeLog
    nasm-2.13.03/nasm.spec.in
    nasm-2.13.03/x86/
    nasm-2.13.03/x86/insnsi.h
    nasm-2.13.03/x86/regvals.c
    nasm-2.13.03/x86/insnsa.c
    nasm-2.13.03/x86/insns.pl
    nasm-2.13.03/x86/regs.h
    nasm-2.13.03/x86/regflags.c
    nasm-2.13.03/x86/disp8.c
    nasm-2.13.03/x86/regdis.h
    nasm-2.13.03/x86/insnsn.c
    nasm-2.13.03/x86/iflag.c
    nasm-2.13.03/x86/insnsb.c
    nasm-2.13.03/x86/regs.pl
    nasm-2.13.03/x86/regdis.c
    nasm-2.13.03/x86/insns-iflags.ph
    nasm-2.13.03/x86/insnsd.c
    nasm-2.13.03/x86/regs.c
    nasm-2.13.03/x86/iflaggen.h
    nasm-2.13.03/x86/regs.dat
    nasm-2.13.03/x86/insns.dat
    nasm-2.13.03/nasm.spec
    nasm-2.13.03/version.h
    nasm-2.13.03/version.mak
    nasm-2.13.03/nasm.spec.sed
    nasm-2.13.03/doc/
    nasm-2.13.03/doc/Makefile.in
    nasm-2.13.03/doc/nasmdoc.css
    nasm-2.13.03/doc/README
    nasm-2.13.03/doc/findfont.ph
    nasm-2.13.03/doc/pswidth.ph
    nasm-2.13.03/doc/pspdf.pl
    nasm-2.13.03/doc/head.ps
    nasm-2.13.03/doc/rdsrc.pl
    nasm-2.13.03/doc/Makefile
    nasm-2.13.03/doc/ttfmetrics.ph
    nasm-2.13.03/doc/genps.pl
    nasm-2.13.03/doc/inslist.pl
    nasm-2.13.03/doc/opt_var.txt
    nasm-2.13.03/doc/nasmlogo.eps
    nasm-2.13.03/doc/afmmetrics.ph
    nasm-2.13.03/doc/local.css
    nasm-2.13.03/doc/internal.doc
    nasm-2.13.03/doc/changes.src
    nasm-2.13.03/doc/nasmdoc.src
    nasm-2.13.03/doc/psfonts.ph
    nasm-2.13.03/doc/nasmlogw.png
    + autoheader
    + autoconf
    + rm -rf autom4te.cache config.log config.status
    + rm -f Makefile rdoff/Makefile doc/Makefile
    + rm -f config.h.in config.h config/config.h
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for gcc option to accept ISO C99... none needed
    checking for gcc option to accept ISO Standard C... (cached) none needed
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for suffix of library files... a
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for C/C++ restrict keyword... __restrict
    checking for size_t... yes
    checking whether byte ordering is bigendian... no
    checking if gcc accepts -fwrapv... yes
    checking if gcc accepts -U__STRICT_ANSI__... yes
    checking if gcc accepts -fno-common... yes
    checking for nroff... nroff
    checking for asciidoc... no
    checking for xmlto... no
    configure: WARNING: No asciidoc package found
    configure: WARNING: No xmlto package found
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for ANSI C header files... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking stdnoreturn.h usability... yes
    checking stdnoreturn.h presence... yes
    checking for stdnoreturn.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for strcasecmp... yes
    checking for stricmp... no
    checking for strncasecmp... yes
    checking for strnicmp... no
    checking for strsep... yes
    checking for strnlen... yes
    checking for getuid... yes
    checking for getgid... yes
    checking for realpath... yes
    checking for canonicalize_file_name... yes
    checking for _fullpath... no
    checking for pathconf... yes
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for _fseeki64... no
    checking for ftruncate... yes
    checking for _chsize... no
    checking for _chsize_s... no
    checking for fileno... yes
    checking for _fileno... no
    checking for _filelengthi64... no
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for getpagesize... (cached) yes
    checking for sysconf... yes
    checking for access... yes
    checking for _access... no
    checking for faccessat... yes
    checking for __builtin_clz... yes
    checking for __builtin_clzl... yes
    checking for __builtin_clzll... yes
    checking for __builtin_expect... yes
    checking for vsnprintf... yes
    checking for _vsnprintf... no
    checking for snprintf... yes
    checking for _snprintf... no
    checking for strlcpy... no
    checking for struct _stati64... no
    checking for struct stat... yes
    checking for stat... yes
    checking for _stati64... no
    checking for fstat... yes
    checking for _fstati64... no
    checking whether strcasecmp is declared... yes
    checking whether stricmp is declared... no
    checking whether strncasecmp is declared... yes
    checking whether strnicmp is declared... no
    checking whether strsep is declared... yes
    checking whether strlcpy is declared... no
    checking whether strnlen is declared... yes
    checking for uintptr_t... yes
    checking if gcc accepts -Werror=attributes... yes
    checking if gcc supports the noreturn function attribute... yes
    checking if gcc supports the returns_nonnull function attribute... yes
    checking if gcc supports the malloc function attribute... yes
    checking if gcc supports the alloc_size function attribute... yes
    checking if gcc supports the format function attribute... yes
    checking if gcc supports the const function attribute... yes
    checking if gcc supports the pure function attribute... yes
    checking if gcc supports the error function attribute... yes
    checking if gcc accepts -W... yes
    checking if gcc accepts -Wall... yes
    checking if gcc accepts -pedantic... yes
    checking if gcc accepts -Werror=unknown-warning-option... no
    checking if gcc accepts -Wpedantic-ms-format... no
    checking if gcc accepts -Wc90-c99-compat... yes
    checking if gcc accepts -Wlong-long... yes
    checking if gcc accepts -Werror=implicit... yes
    checking if gcc accepts -Werror=missing-braces... yes
    checking if gcc accepts -Werror=return-type... yes
    checking if gcc accepts -Werror=trigraphs... yes
    checking if gcc accepts -Werror=pointer-arith... yes
    checking if gcc accepts -Werror=strict-prototypes... no
    checking if gcc accepts -Werror=missing-prototypes... yes
    checking if gcc accepts -Werror=missing-declarations... yes
    checking if gcc accepts -Werror=comment... yes
    checking if gcc accepts -Werror=vla... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating config/config.h
    config.status: executing default-1 commands
    gcc -c -g -O3 -fwrapv -U__STRICT_ANSI__ -fno-common -Werror=attributes -W -Wall -pedantic -Wc90-c99-compat -Wno-long-long -Werror=implicit -Werror=missing-braces -Werror=return-type -Werror=trigraphs -Werror=pointer-arith -Werror=missing-prototypes -Werror=missing-declarations -Werror=comment -Werror=vla -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I./x86 -I./x86 -I./asm -I./asm -I./disasm -I./disasm -I./output -I./output -o asm/nasm.o asm/nasm.c
    In file included from ./include/nasm.h:46,
                   from asm/nasm.c:47:
    ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes]
    void pure_func seg_init(void);
    ^~~~
    cc1: some warnings being treated as errors
    make: *** [Makefile:75: asm/nasm.o] Error 1

    how can a build this ? disable warnings as errors somehow or ? idk
    please and thanks