Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (103)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • avformat/segafilmenc : Remove redundant checks

    14 janvier 2020, par Andreas Rheinhardt
    avformat/segafilmenc : Remove redundant checks
    

    If an audio stream is present, the Sega FILM muxer checks for its
    compability with the container during init, so that the very same check
    needn't be repeated during writing the trailer.

    Essentially the same is true for the presence of a video stream : It has
    already been checked during init. Furthermore, after the check for the
    presence of a video stream succeeded, a pointer is set to point to the
    video stream. Yet said pointer (which was NULL before) will be
    derefenced anyway regardless of the result of the check. Coverity thus
    complained about this in CID 1434155 and removing this pointless check
    will also fix this issue.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/segafilmenc.c
  • create thumbnail from video URL in C#

    23 mai 2016, par Hashem Aboonajmi

    I want to generate thumbnail from a video URL in C#. I have searched a lot to find a neat way but no success. I have used Nreco and MediaToolKit but none of them extract thumbnail image. using ffmpeg also has mumbo jumbos which didn’t worked !

    using NReco :

    var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
    string thumbnailJPEGpath = "http://localhost:81882/content/hashem.jpeg";
    ffMpeg.GetVideoThumbnail(videoUrl,thumbnailJPEGpath);

    using ffmpeg :

    try
           {
               System.Diagnostics.Process ffmpeg;

               string video;
               string thumb;

               video = Server.MapPath("~/Content/Movies/bye.mp4");
               thumb = Server.MapPath("~/Content/frame.jpg");

               ffmpeg = new System.Diagnostics.Process();

               ffmpeg.StartInfo.Arguments = " -i " + video + " -ss 00:00:07 -vframes 1 -f image2 -vcodec mjpeg " + thumb;
               ffmpeg.StartInfo.FileName = Server.MapPath("~/Content/ffmpeg.exe");
               ffmpeg.Start();
               ffmpeg.WaitForExit();
               ffmpeg.Close();
           }
           catch (Exception ex)
           {
               Response.Write("Error: " + ex.Message);
           }

    to consider video files are not local and I have only a direct link to the file :
    e.g. :http://phytonord.com/Film-Series/hana/26.mp4

    does anyone has any solution ? any sample code that works ?

  • Why does x264 keep giving me "command not found" error on my Mac ? [closed]

    2 juillet 2021, par hd-dvd

    I just installed x264 via Homebrew on my Mac running MacOS 11.4 Big Sur. I'm trying to encode a video but I can't get x264 to run properly.

    &#xA;

    This is the command I am running in the Terminal :

    &#xA;

    x264&#xA0;--bitrate&#xA0;25000&#xA0;--preset&#xA0;veryslow --bluray-compat --tune film&#xA0;--vbv-maxrate&#xA0;40000&#xA0;--vbv-bufsize&#xA0;30000&#xA0;--level&#xA0;4.1&#xA0;--keyint 30&#xA0;--open-gop --slices&#xA0;4 --fake-interlaced --colorprim&#xA0;"bt709"&#xA0;--transfer&#xA0;"bt709"&#xA0;--colormatrix&#xA0;"bt709"&#xA0;--sar&#xA0;1:1 --pass 1 -o out.264 in.mp4

    &#xA;

    and this is what it outputs :

    &#xA;

    bash: x264&#xA0;--bitrate&#xA0;25000&#xA0;--preset&#xA0;veryslow: command not found

    &#xA;

    If I delete the --preset part then it just gets hung up on some other part, like --tune.

    &#xA;

    I have tried brew doctor and there are no errors.

    &#xA;

    If I just run x264 then it gives me x264 [error]: No input file. Run x264 --help for a list of options. so it seems as if x264 is installed. I don't know where to begin troubleshooting this but I'd like to get it to work.

    &#xA;

    If I simplify the command way down to x264 -o out.264 in.mp4 then I get :

    &#xA;

    avs [error]: failed to load avisynth&#xA;raw [error]: raw input requires a resolution.&#xA;x264 [error]: could not open input file `in.mp4&#x27; via any method!&#xA;

    &#xA;

    I would greatly appreciate some pointers on how to get this working.

    &#xA;