Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (46)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (5780)

  • Anomalie #4737 : Erreur recherche dans les forums dans le privé

    9 juillet 2021, par JLuc -

    Avec ou sans "plat", le SQL généré est :

    1. <span class="CodeRay"><span class="class">SELECT</span> forum.id_forum, resultats.points <span class="keyword">AS</span> points, forum.statut
    2. <span class="keyword">FROM</span> spip_forum <span class="keyword">AS</span> <span class="string"><span class="delimiter">`</span><span class="content">forum</span><span class="delimiter">`</span></span>  
    3. <span class="keyword">INNER</span> <span class="keyword">JOIN</span> spip_resultats <span class="keyword">AS</span> resultats <span class="keyword">ON</span> ( resultats.id = forum.id_forum )
    4. <span class="keyword">WHERE</span> <span class="keyword">NOT</span>((forum.statut <span class="keyword">LIKE</span> <span class="string"><span class="delimiter">'</span><span class="content">priv%</span><span class="delimiter">'</span></span>))
    5.     <span class="keyword">AND</span> (resultats.recherche=<span class="string"><span class="delimiter">'</span><span class="content">c7b4cacf770e2915</span><span class="delimiter">'</span></span> <span class="keyword">AND</span> resultats.table_objet=<span class="string"><span class="delimiter">'</span><span class="content">forum</span><span class="delimiter">'</span></span> <span class="keyword">AND</span> resultats.serveur=<span class="string"><span class="delimiter">'</span><span class="delimiter">'</span></span>)
    6. <span class="keyword">GROUP</span> <span class="keyword">BY</span> forum.id_forum
    7. <span class="keyword">ORDER</span> <span class="keyword">BY</span> forum.id_forum <span class="directive">DESC</span>
    8. </span>

    Télécharger

    Le pb vient du fait que c’est le forum id_thread qui est enregistré dans la table spip_resultats.

  • Ffmpeg : How to fix error "Please choose an encoder manually" ?

    9 juillet 2023, par Alex

    I am trying to convert a x265 videofile to a x264 format so it can be played on a television. I am trying the following command

    &#xA;

    ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 test.mp4&#xA;

    &#xA;

    to select videos stream 0:0 for video, stream 0:1 for audio and stream 0:2 for the subtitle. However I get an error

    &#xA;

    Automatic encoder selection failed Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.&#xA;Error selecting an encoder&#xA;

    &#xA;

    How to fix this command ?

    &#xA;

    P.S. I am not an expert in ffmpeg or videos conversion/formats/encodings/audio formats/subtitle formats.

    &#xA;

    I found EXACTLY ONE google search result with the exact error phrase HERE. And that is not helping as I do not even understand the first sentence.

    &#xA;

    Below is the output for the first three streams :

    &#xA;

    Input #0, matroska,webm, from &#x27;input.mkv&#x27;:&#xA;  Metadata:&#xA;    creation_time   : 2021-03-25T09:13:20.000000Z&#xA;    ENCODER         : Lavf58.29.100&#xA;  Duration: 00:23:57.65, start: 0.000000, bitrate: 2103 kb/s&#xA;  Stream #0:0(jpn): Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      title           : [Judas] x265 10b&#xA;      ENCODER         : Lavc58.54.100 libx265&#xA;      BPS-eng         : 1973938&#xA;      DURATION-eng    : 00:23:55.017000000&#xA;      NUMBER_OF_FRAMES-eng: 34406&#xA;      NUMBER_OF_BYTES-eng: 354079423&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:1(jpn): Audio: aac (LC), 44100 Hz, stereo, fltp (default)&#xA;    Metadata:&#xA;      title           : Japanese&#xA;      BPS-eng         : 128000&#xA;      DURATION-eng    : 00:23:55.086000000&#xA;      NUMBER_OF_FRAMES-eng: 61804&#xA;      NUMBER_OF_BYTES-eng: 22961378&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:2(eng): Subtitle: ass&#xA;    Metadata:&#xA;      title           : English&#xA;      BPS-eng         : 196&#xA;      DURATION-eng    : 00:23:53.580000000&#xA;      NUMBER_OF_FRAMES-eng: 478&#xA;      NUMBER_OF_BYTES-eng: 35129&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v48.0.0 (&#x27;Fortress Around Your Heart&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2021-03-25 09:13:20&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;

    &#xA;

    I found a related question HERE whose answer I do not fully understand. However, I tried the following command

    &#xA;

    ffmpeg -i input.mkv -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -map 0:0 -map 0:1 -map 0:2 -c:s mov_text  test.mp4&#xA;

    &#xA;

    but got a new error

    &#xA;

    Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;

    I thought I am defining an "encoder" for output stream "#0:0" (which I think is video), namely libx264. So what else to do here ?

    &#xA;

    I tried -acode copy and also to use -qp 0 in the command line which all did not work.

    &#xA;

  • Is there a way to find out whether ffmpeg is performing optimally in my system using a ffmpeg command of sorts ?

    17 octobre 2020, par Aspiring Dev

    I'm encoding a file (mediainfo below) using the following command :

    &#xA;

    ffmpeg -i AHomeMovie.mkv -map 0 -c copy -c:v libx264 -preset veryslow -crf 17 -c:a aac -b:a 256k -threads 8 resultdir/AHomeMovie.mkv&#xA;

    &#xA;

    And getting more or less the following performance after a couple of minutes :

    &#xA;

    frame= 2036 fps=2.5 q=22.0 size=   87535kB time=00:01:25.25 bitrate=8411.2kbits/s speed=0.104x    &#xA;

    &#xA;

    Is this normal performance for a laptop with a i7-8550U, 16gb of RAM, UHD graphics 620 running Linux ? Is there a way to find out whether ffmpeg is performing optimally using a ffmpeg command of sorts ? I know it's commodity hardware by now but I just want to get some perspective on how the system is performing. I'm aware that I can use a different -preset speed btw.

    &#xA;

    Mediainfo :

    &#xA;

    General&#xA;Unique ID                                : 25145236523685421256398752247554522365 (0x14258745965823652446224452555874)&#xA;Complete name                            : AHomeMovie.mkv&#xA;Format                                   : Matroska&#xA;Format version                           : Version 4&#xA;File size                                : 6.35 GiB&#xA;Duration                                 : 22 min 47 s&#xA;Overall bit rate mode                    : Variable&#xA;Overall bit rate                         : 39.9 Mb/s&#xA;Movie name                               : A Home Movie&#xA;Encoded date                             : UTC 2020-09-10 22:10:12&#xA;Writing application                      : mkvmerge v42.0.0 (&#x27;Overtime&#x27;) 64-bit&#xA;Writing library                          : libebml v1.3.10 &#x2B; libmatroska v1.5.2&#xA;&#xA;Video&#xA;ID                                       : 1&#xA;Format                                   : AVC&#xA;Format/Info                              : Advanced Video Codec&#xA;Format profile                           : High@L4.1&#xA;Format settings                          : CABAC / 4 Ref Frames&#xA;Format settings, CABAC                   : Yes&#xA;Format settings, Reference frames        : 4 frames&#xA;Codec ID                                 : V_MPEG4/ISO/AVC&#xA;Duration                                 : 22 min 45 s&#xA;Bit rate mode                            : Variable&#xA;Bit rate                                 : 38.0 Mb/s&#xA;Maximum bit rate                         : 40.0 Mb/s&#xA;Width                                    : 1 920 pixels&#xA;Height                                   : 1 080 pixels&#xA;Display aspect ratio                     : 16:9&#xA;Frame rate mode                          : Constant&#xA;Frame rate                               : 23.976 (24000/1001) 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.764&#xA;Stream size                              : 6.04 GiB (95%)&#xA;Default                                  : Yes&#xA;Forced                                   : No&#xA;&#xA;Audio #1&#xA;ID                                       : 2&#xA;Format                                   : FLAC&#xA;Format/Info                              : Free Lossless Audio Codec&#xA;Codec ID                                 : A_FLAC&#xA;Duration                                 : 22 min 45 s&#xA;Bit rate mode                            : Variable&#xA;Bit rate                                 : 614 kb/s&#xA;Channel(s)                               : 2 channels&#xA;Channel layout                           : L R&#xA;Sampling rate                            : 48.0 kHz&#xA;Frame rate                               : 11.719 FPS (4096 SPF)&#xA;Bit depth                                : 16 bits&#xA;Compression mode                         : Lossless&#xA;Stream size                              : 100 MiB (2%)&#xA;Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)&#xA;Language                                 : Japanese&#xA;Default                                  : Yes&#xA;Forced                                   : No&#xA;&#xA;Audio #2&#xA;ID                                       : 3&#xA;Format                                   : FLAC&#xA;Format/Info                              : Free Lossless Audio Codec&#xA;Codec ID                                 : A_FLAC&#xA;Duration                                 : 22 min 46 s&#xA;Bit rate mode                            : Variable&#xA;Bit rate                                 : 1 317 kb/s&#xA;Channel(s)                               : 2 channels&#xA;Channel layout                           : L R&#xA;Sampling rate                            : 48.0 kHz&#xA;Frame rate                               : 11.719 FPS (4096 SPF)&#xA;Bit depth                                : 24 bits&#xA;Compression mode                         : Lossless&#xA;Delay relative to video                  : 24 ms&#xA;Stream size                              : 215 MiB (3%)&#xA;Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)&#xA;Language                                 : English&#xA;Default                                  : No&#xA;Forced                                   : No&#xA;

    &#xA;