Recherche avancée

Médias (91)

Autres articles (11)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (3641)

  • opus_pvq : fix PVQ search for K 5 and low Ns

    19 février 2017, par Rostislav Pehlivanov
    opus_pvq : fix PVQ search for K < 5 and low Ns
    

    If the PVQ search picked a place to increment/decrement on the y[]
    vector which had no pulse then it would cause a desync since it would
    change the sum in the wrong direction. Fix this by not considering
    places without pulses as viable.

    This makes the PVQ search slightly worse at K < 5 which isn’t all that
    common. Still, this is a workaround to prevent making broken files until
    I can think of a better way of fixing it.

    Also add an assertion, which can be removed or moved to assert1/2 once
    the PVQ search is stable.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/opus_pvq.c
  • Video upload size

    16 mai 2014, par Jonas m

    I’m having a hard time figuring this one out, so hopefully, some of you who has tried this before, will take the time to reply and share your knowledge.

    I’m working on a site, which after release, will be feeded in the television and other commercial places. The site asks the user to upload a video with a story, and we expect alot of people to do so.

    My problem is the whole storage/space talk. A normal, unencoded iPhone recording easily fills around 100-120 MB for a minute or two.

    I’ve tried setting up and using FFMPEG to re-encode the movies, but the problem is, that one encoding sucks up 100% of the CPU, leaving the site inaccisible for anybody else.

    Is there anything you could suggest, which would be sufficient for such a site ? The client is on a budget, so price is a consideration aswell. Best of all would be a free alternative to etc. FFMPEG, but with less CPU usage.

    My specs are as follows
    CentOs 6 on a
    1GB ram DigitalOcean cloud service with nginx + php-fpm and mysql.

    Im hoping for some cleaver folks to answer this !
    Thanks in advance.
    Jonas

  • Why is packet.pts != frame->pkt_pts in AVFrame ?

    1er juin 2015, par BlenderBender

    Trying to understand some audio/video sync issues via ffmpeg, I noticed the following. Running this code

    while (av_read_frame(formatCtx, &amp;packet) >= 0)
    {
      if (packet.stream_index == videoStream)
      {
         avcodec_decode_video2(videoCodecCtx, frame, &amp;got_frame, &amp;packet);
      }

      printf("packet.pts = %d\n", packet.pts);
      printf("frame->pkt_pts", frame->pkt_pts);
    }

    shows that frame->pkt_pts in general differs from packet.pts, despite the documentation claiming that frame->pkt_pts is the

    PTS copied from the AVPacket that was decoded to produce this frame

    Moreover I noticed that the difference between the two is big exactly at the places where audio and video are out of sync.

    So, why is packet.pts != frame->pkt_pts ?