Recherche avancée

Médias (91)

Autres articles (65)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

Sur d’autres sites (9390)

  • Difficulty getting the expected output for .avi conversions to .mp4 using FFMPEG [closed]

    25 avril 2024, par Ericel

    I am trying to write a video converting script that converts an input video file to .mp4 output. I am using ffmpeg libx264 encoder. Unfortunately, when I convert from .avi to .mp4, the output video is not smooth, a little skippy. Here is how I set up the encoder code :

    


    AVCodecContext *Video::setupVideoEncoder(const AVCodec *encoder, AVStream *inVideoStream, AVFormatContext *outFormatCtx)&#xA;{&#xA;    AVCodecContext *codecCtx = avcodec_alloc_context3(encoder);&#xA;    if (!codecCtx)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to allocate the video codec context." &lt;&lt; std::endl;&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    if (avcodec_parameters_to_context(codecCtx, inVideoStream->codecpar) &lt; 0)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to copy codec parameters to encoder context." &lt;&lt; std::endl;&#xA;        avcodec_free_context(&amp;codecCtx);&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    // Correctly assign pixel format based on encoder support&#xA;    if (!check_pix_fmt(encoder, inVideoStream->codecpar->format))&#xA;    {&#xA;        codecCtx->pix_fmt = encoder->pix_fmts[0];&#xA;    }&#xA;    else&#xA;    {&#xA;        codecCtx->pix_fmt = static_cast<avpixelformat>(inVideoStream->codecpar->format);&#xA;    }&#xA;    codecCtx->width = inVideoStream->codecpar->width;&#xA;    codecCtx->height = inVideoStream->codecpar->height;&#xA;    codecCtx->bit_rate = 2000000; // 2 Mbps&#xA;    codecCtx->gop_size = 12;&#xA;    codecCtx->max_b_frames = 3;&#xA;&#xA;    // Setting frame rate and time base using guessed values&#xA;    AVRational framerate = av_guess_frame_rate(outFormatCtx, inVideoStream, nullptr);&#xA;    codecCtx->framerate = framerate;&#xA;    codecCtx->time_base = av_inv_q(framerate);&#xA;&#xA;    AVDictionary *opts = nullptr;&#xA;    av_dict_set(&amp;opts, "x264-params", "keyint=25:min-keyint=25:no-scenecut=1", 0);&#xA;&#xA;    if (outFormatCtx->oformat->flags &amp; AVFMT_GLOBALHEADER)&#xA;    {&#xA;        codecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;&#xA;    }&#xA;&#xA;    if (avcodec_open2(codecCtx, encoder, &amp;opts) &lt; 0)&#xA;    {&#xA;        std::cerr &lt;&lt; "Failed to open the video encoder." &lt;&lt; std::endl;&#xA;        avcodec_free_context(&amp;codecCtx);&#xA;        av_dict_free(&amp;opts);&#xA;        return nullptr;&#xA;    }&#xA;&#xA;    av_dict_free(&amp;opts);&#xA;    return codecCtx;&#xA;} &#xA;</avpixelformat>

    &#xA;

    I can only thing the configurations here are the problem, because if I converted a .mov to .mp4, I get the expected output.

    &#xA;

  • some of google drive mp4 files are not playing in jwplayer

    14 juin 2017, par dev

    I am working on to play the mp4 videos from google drive but I am facing the problem that some mp4 files are playing well while some mp4 files are not playing at all insteal "file not found" error shows.

    This is what I am doing.
    link :

    https://drive.google.com/file/d/0BwnSGB-C8mEGUmY2U1dhcVNiWjQ/view?usp=sharing

    My code is :

    jwplayer("player_embed").setup ({
         file:   "https://docs.google.com/uc?id=0BwnSGB-C8mEGUmY2U1dhcVNiWjQ",
         type:   "mp4",
         primary: "flash",
         image: image_link,
         width:  950,
         height: 370,
         tracks:[{
           file: subtitle_link,
           label: "English",
           kind : "captions",
           default: "true",
         }]
         });

    is there any mime type issue or something else I need to do ?
    is there any other player that can play videos,subtitles,image poster from google drive ?

  • how do i get my 16bit pcm wav to load in google hangout app ?

    12 mai 2014, par user3576343

    I have tried audacity, ffmpeg and several others. The ONLY file i can get my soundboard app to load is the goodday.wav that comes with the source code to their google media app, sample apllication.

    has anyone been able to get their files to load and what program/settings have you used that worked ?