Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (53)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (8033)

  • Errors converting EXRs to mp4 with ffmpeg

    3 février 2021, par GaryO

    I'm using ffmpeg 4.3.1 to convert some EXRs to mp4, with tone mapping for the extended range in the source and rec709 conversion for the mp4.

    


    I'm using this command :

    


    ffmpeg -pattern_type glob  -framerate 24 -i 'frames/*.exr' -vf zscale=transfer=linear,tonemap=hable,zscale=transfer=bt709,format=yuv420p -c:v libx264 -r 24 -preset slow -crf 18 -pix_fmt yuv420p foo-tonemap-01.mp4


    


    but it gives me this error :

    


    Input #0, image2, from 'frames/*.exr':
  Duration: 00:00:00.08, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: exr, gbrapf32le, 1920x1080 [SAR 1:1 DAR 16:9], 24 tbr, 24 tbn, 24 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (exr (native) -> h264 (libx264))
code 3074: no path between colorspaces
Error while filtering: Generic error in an external library


    


    What does that error "no path between colorspaces" mean ? Do I need to tell it what colorspace the EXRs are in (scene-linear RGB) or something ?

    


    Complete log :

    


    ffmpeg started on 2020-08-05 at 22:22:33
Report written to "ffmpeg-20200805-222233.log"
Log level: 48
Command line:
ffmpeg -report -y -i frames/0240.exr -vf "zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p" -c:v libx264 -r 24 -preset slow -crf 18 -pix_fmt yuv420p foo-tonemap-01.mp4
ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input url with argument 'frames/0240.exr'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '24'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'slow'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '18'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option 'foo-tonemap-01.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url frames/0240.exr.
Successfully parsed a group of options.
Opening an input file: frames/0240.exr.
[NULL @ 0x6db71c0] Opening 'frames/0240.exr' for reading
[file @ 0x6db7c80] Setting default whitelist 'file,crypto,data'
[exr_pipe @ 0x6db71c0] Format exr_pipe probed with size=2048 and score=51
[exr_pipe @ 0x6db71c0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[exr_pipe @ 0x6db71c0] parser not found for codec exr, packets or times may be invalid.
[exr_pipe @ 0x6db71c0] parser not found for codec exr, packets or times may be invalid.
[exr @ 0x6db92c0] line order: 0.
[exr_pipe @ 0x6db71c0] After avformat_find_stream_info() pos: 4970635 bytes read:4970635 seeks:0 frames:1
Input #0, exr_pipe, from 'frames/0240.exr':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: exr, gbrapf32le, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url foo-tonemap-01.mp4.
Applying option vf (set video filters) with argument zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format=yuv420p.
Applying option c:v (codec name) with argument libx264.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 24.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Successfully parsed a group of options.
Opening an output file: foo-tonemap-01.mp4.
[file @ 0x6e0a0c0] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
detected 32 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (exr (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[exr @ 0x6dbe700] line order: 0.
[Parsed_zscale_0 @ 0x725c4c0] Setting 'transfer' to value 'linear'
[Parsed_tonemap_1 @ 0x725c940] Setting 'tonemap' to value 'clip'
[Parsed_zscale_2 @ 0x725d380] Setting 'transfer' to value 'bt709'
[Parsed_format_3 @ 0x725e100] Setting 'pix_fmts' to value 'yuv420p'
[graph 0 input from stream 0:0 @ 0x725eb40] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x725eb40] Setting 'pix_fmt' to value '180'
[graph 0 input from stream 0:0 @ 0x725eb40] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 0x725eb40] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x725eb40] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x725eb40] w:1920 h:1080 pixfmt:gbrapf32le tb:1/25 fr:25/1 sar:1/1
[format @ 0x725fc00] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x6dc0000] query_formats: 7 queried, 6 merged, 0 already done, 0 delayed
[Parsed_zscale_0 @ 0x725c4c0] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:gbrapf32le sar:1/1
[Parsed_zscale_2 @ 0x725d380] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1
[Parsed_zscale_0 @ 0x725c4c0] w:1920 h:1080 fmt:gbrapf32le sar:1/1 -> w:1920 h:1080 fmt:gbrapf32le sar:1/1
code 3074: no path between colorspaces
Error while filtering: Generic error in an external library
Failed to inject frame into filter network: Generic error in an external library
Error while processing the decoded data for stream #0:0
[AVIOContext @ 0x6e08a80] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x6dc00c0] Statistics: 4970635 bytes read, 0 seeks
Conversion failed!


    


  • Parsed_concat_1 @ 02ad98e0 Failed to configure output pad on Parsed_concat_1 ffmpeg

    10 décembre 2016, par user650922

    I am concatenating three videos using ffmpeg. However, for some reasons I am getting error.

    I am using NReco Video Converter which is a FFMpeg C# wrapper .

    Any help would be highly appreciated.

    Below is my complete console output :

    C:\ffmpeg-20151130-git-7b11eea-win64-static\ffmpeg-20151130`enter code here`
    -git-7b11eea-win64-static\bin
    >ffmpeg -i I.mp4 -i V.mp4 -i O.mp4 -t 500 -f mp4 -s 1080*720 -filter_complex "co
    ncat=n=3:v=1 [v]" -map "[v]" output.mp4
    ffmpeg version N-76957-g7b11eea Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --
    enable-lzma --enable-decklink --enable-zlib
    libavutil      55.  9.100 / 55.  9.100
    libavcodec     57. 16.101 / 57. 16.101
    libavformat    57. 19.100 / 57. 19.100
    libavdevice    57.  0.100 / 57.  0.100
    libavfilter     6. 17.100 /  6. 17.100
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.101 /  2.  0.101
    libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.12.100
    Duration: 00:00:03.52, start: 0.036281, bitrate: 2041 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x720
    [SAR 40:33 DAR 20:11], 1926 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, mono, fltp,
      128 kb/s (default)
     Metadata:
     handler_name    : SoundHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'V.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.12.100
     Duration: 00:00:31.29, start: 0.036281, bitrate: 1560 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x720,
    1428 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp,
    128 kb/s (default)
    Metadata:
     handler_name    : SoundHandler
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'O.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.12.100
    Duration: 00:00:03.52, start: 0.036281, bitrate: 2041 kb/s
    Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x720
     [SAR 40:33 DAR 20:11], 1926 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp,
    128 kb/s (default)
    Metadata:
     handler_name    : SoundHandler
    [Parsed_concat_0 @ 000000d2ed8bee80] Input link in1:v0 parameters (size 1080x720
    , SAR 0:1) do not match the corresponding output link in0:v0 parameters (1080x72
    0, SAR 40:33)
        [Parsed_concat_0 @ 000000d2ed8bee80] Failed to configure output pad on   Parsed_concat_0
    Error configuring complex filters.
    Invalid argument
  • Parsed_concat_1 @ 02ad98e0 Failed to configure output pad on Parsed_concat_1

    3 décembre 2015, par user650922

    I am using NReco.VideoConverter(FFMPegConverter) to ConcatMedia. However, I am getting error as Parsed_concat_1 @ 02ad98e0 Failed to configure output pad on Parsed_concat_1.

    Here is the code snippet of my code :

    try
           {
               var ffMpeg = new FFMpegConverter();
               var set = new ConcatSettings
               {
                   ConcatAudioStream = false
               };
               set.SetVideoFrameSize(1080, 720);
               set.MaxDuration = 500;
               ffMpeg.ConcatMedia(videos, output + ".mp4", Format.mp4, set);
               return output + ".mp4";
           }
           catch (Exception ex)
           {
               var text = new List<string>();
               text.AddRange(videos);
               text.Add(ex.Message);
               throw new Exception(string.Join(", ", text), ex);
           }
    </string>

    VideoFrameSize of all the videos is(1080, 720) and FrameRate is 25.

    Could some one please help me to resolve the issue.