Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (74)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (12861)

  • Creating a thumbnail from MP4 video crashes on shared hosting but working fine locally

    15 juillet 2019, par Mariam Nagy

    i am working on a web page to upload MP4 video and getting a thumbnail from the video

    i am using NReco FFMpeg Converter to achieve this . it is working fine locally but upload it on a shared hosting it crashes at ffMpeg.GetVideoThumbnail

           string VideoUrl = dataMediaUrl.ImageUrl;
           string extension = VideoUrl.Split('.')[VideoUrl.Split('.').Length - 1];
           var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
           string thumbnailJPEGpath = Server.MapPath(VideoUrl.Replace("~/upload/MediaGallery/", "~/upload/MediaGallery/Thumb_").Replace("." + extension, ".jpg"));
           ffMpeg.GetVideoThumbnail(Server.MapPath(VideoUrl), thumbnailJPEGpath);
           dataThumbUrl.ImageUrl = VideoUrl.Replace("~/upload/MediaGallery/", "~/upload/MediaGallery/Thumb_").Replace("." + extension, ".jpg");

    This is the error I am getting :

    Server Error in '/' Application.
    This program is blocked by group policy. For more information, contact your system administrator
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ComponentModel.Win32Exception: This program is blocked by group policy. For more information, contact your system administrator

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator]
      System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) +1889
      System.Diagnostics.Process.Start() +119
      System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +49
      NReco.VideoConverter.FFMpegConverter.ConvertMedia(Media input, Media output, ConvertSettings settings) +1163
      NReco.VideoConverter.FFMpegConverter.GetVideoThumbnail(String inputFile, String outputFile, Nullable`1 frameTime) +155
      Admin_MediaGalleryVideoUpload.InsertButton_Click(Object sender, EventArgs e) +591
      System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9782698
      System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
      System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
      System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
      System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3394.0
  • avformat/riff : map Y210 and Y216 fourcc to RAWVIDEO decoder

    22 octobre 2024, par James Almer
    avformat/riff : map Y210 and Y216 fourcc to RAWVIDEO decoder
    

    As defined in https://learn.microsoft.com/en-us/windows/win32/medfound/10-bit-and-16-bit-yuv-video-formats#422-formats

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/raw.c
    • [DH] libavformat/riff.c
    • [DH] tests/ref/fate/filter-pixdesc-y210le
    • [DH] tests/ref/fate/filter-pixdesc-y216le
    • [DH] tests/ref/fate/filter-pixfmts-copy
    • [DH] tests/ref/fate/filter-pixfmts-field
    • [DH] tests/ref/fate/filter-pixfmts-fieldorder
    • [DH] tests/ref/fate/filter-pixfmts-il
    • [DH] tests/ref/fate/filter-pixfmts-null
    • [DH] tests/ref/fate/filter-pixfmts-scale
    • [DH] tests/ref/fate/filter-pixfmts-vflip
  • building ffmpeg 2.1.8 with MSVC2013 (configure produces errors)

    29 juin 2017, par scaram

    I am trying to build ffmpeg 2.1.8 for a legacy project. I use windows 10, MSVC 2013, MSYS, YASM and this tutorial.

    After

    ./configure --toolchain=msvc --enable-shared

    I see the many errors in config.log, here the first three ones

    1. error : ’test’ declared as an array with a negative size
    2. fatal error C1189 : #error : "unsatisfied condition : defined GLIBC"
    3. fatal error C1083 : File (Include) cannot be opened : "newlib.h" : No such file or directory

    here the more detailed information...

    C:/Users/scaram/AppData/Local/Temp/ffconf.LgAWDJFi.o_preprocessed.c:8859:27: error: 'test' declared as an array with a negative size
    ffconf.LgAWDJFi.o_converted.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(1) : error C2118: Negativer Index
    check_cpp_condition features.h defined __UCLIBC__
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined __UCLIBC__)
       3   #error "unsatisfied condition: defined __UCLIBC__"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(3) : fatal error C1189: #error :  "unsatisfied condition: defined __UCLIBC__"
    check_cpp_condition features.h defined __GLIBC__
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined __GLIBC__)
       3   #error "unsatisfied condition: defined __GLIBC__"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(3) : fatal error C1189: #error :  "unsatisfied condition: defined __GLIBC__"
    check_cpp_condition newlib.h defined _NEWLIB_VERSION
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined _NEWLIB_VERSION)
       3   #error "unsatisfied condition: defined _NEWLIB_VERSION"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(1) : fatal error C1083: File (Include) cannot be opened: "newlib.h": No such file or directory
    check_header _mingw.h
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include &lt;_mingw.h>
       2   int x;
    END /tmp/ffconf.RncapARb.c

    What can I do to make it work ?