Recherche avancée

Médias (91)

Autres articles (69)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10768)

  • c# NReco.VideoConverter Ubuntu 16.04

    19 septembre 2018, par Neyt Chi

    I’m trying to use the functionality of the NReso library. VideoConverter. The program is launched from Ubuntu OS 16.04 in the MonoDevelopment environment. The operating system is 64 charging. I installed the application FFMpeg and it works fine.
    And I have a problem that does not make a lot of sense. I’m trying to use code NReso.VideoConveter from the site official site https://www.nrecosite.com/video_converter_net.aspx :

    try
    {
        string [] paths = {"1.mp4",
        "1.mp4",
        "1.mp4"};
        ConcatSettings concatSettings = new ConcatSettings ();
        concatSettings.ConcatAudioStream = false;
        concatSettings.ConcatVideoStream = true;
        FFMpegConverter ffMpegConvert = new FFMpegConverter ();
        Console.WriteLine ("Converting ... \ r \ n");
        ffMpegConvert.ConcatMedia (paths, "3.mp4", Format.mp4, concatSettings);
        Console.WriteLine ("Complete!");
    }
    catch (Exception e)
    {
    Console.WriteLine (e.Message);
    }

    The code produces an error of type

    "ApplicationName = ’/ home / neytchi / Projects / testVE / testVE /
    bin / Debug / ffmpeg.exe’, CommandLine = ’- y -loglevel info -i
    "1.mp4" -i "1.mp4" -i "1. mp4 "-f mp4 -filter_complex" concat = n = 3 :
    v = 1 [v] "-map" [v] "" 3.mp4 "’, CurrentDirectory =’ / home / neytchi
    / Projects / testVE / testVE / bin / Debug ’, Native error = Access
    denied" or so "Unhandled Exception : Systems
    .ComponentModel.Win32Exception"

    I can not understand the cause of problem, but I’m assuming that the library starts the process as 32-bit, when everything else is 64-bit.
    Any ideas ? Perhaps someone met with a similar on Ubuntu.

  • utvideoenc : Enable support for multiple slices and use them

    14 février 2014, par Jan Ekström
    utvideoenc : Enable support for multiple slices and use them
    

    The official Ut Video decoder only threads with slices, thus until
    now any files encoded by the libavcodec encoder have only been
    decodable with a single thread. The default slice count is now
    set to subsampled_height / 120.

    Also sets slices to 1 for the Ut Video encoder tests to keep them
    green.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/utvideoenc.c
    • [DH] tests/fate/utvideo.mak
  • Header missing in mpg, in spite of using avformat_write_header

    23 novembre 2012, par TheSHEEEP

    I am encoding a live rendered video to mpg and/or mp4 (depends on the later usage of the video) using the ffmpeg C API. When encoding to mp4, everything is well. But when encoding to mpg, the resulting video cannot be played by any player. A quick call to ffprobe on it reveals that the header is missing. But this seems pretty much impossible, as I am explicitly writing it.

    This is how I write the header, before any frame is encoded :

    // ptr->oc is the AVFormatContext
    int error = avformat_write_header(ptr->oc, NULL);
    if (error &lt; 0)
    {
       s_logFile &lt;&lt; "Could not write header. Error: " &lt;&lt; error &lt;&lt; endl;
       fprintf(stderr, "Could not write header. Error: &#39;%i&#39;\n", error);
       return 1;
    }

    There never is any error when writing the header.

    For encoding, I am following the official muxing.c example, so I do set the CODEC_FLAG_GLOBAL_HEADER flag. I use CODEC_ID_MPEG2VIDEO (for video) and CODEC_ID_MP2 (for audio).

    The result mpg does work when I "encode" it in an additional step with an external ffmpeg executable like this : "ffmpeg -i ownEncoded.mpg -sameq -y working.mpg".
    So it seems all the data is there, only the header is missing for some reason...

    Here is the only thing ffmpeg is reporting before/when writing the header :

    mpeg -------------------
    lvl: 24
    msg: VBV buffer size not set, muxing may fail

    Could that be the problem ?

    I wonder what could be wrong here as I encode mp4 with the exact same function, except setting some special values like qmin, qmax, me_method, etc. when encoding to mp4. Do I probably have to set any special values so that ffmpeg really does write the header correctly ?