Recherche avancée

Médias (91)

Autres articles (82)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10273)

  • ffmpeg quality issues

    4 mai 2012, par Chris Vincze

    I'm trying to encode MPEG2 files for broadcast. The spec is MPEG-2 @ 50Mbps with all frames as intra frames.

    So I've done a few experiments and have come across a conundrum.

    Setting the q flags like this :

    ffmpeg -i input.%04d.dpx -vcodec mpeg2video -pix_fmt yuv422p -intra -qmin 1 -qscale 1 -output.mpg

    gives a constant q=1.0 while transcoding and produces a file of approximately 25Mbps (although weirdly the file bitrate is given as : bitrate : 25551 kb/s while the actual stream is specified as 104857 kb/s)

    Duration : 00:01:29.95, start : 1.000000, bitrate : 25551 kb/s
    Stream #0.0[0x1e0] : Video : mpeg2video, yuv422p, 720x608 [PAR 608:405 DAR 16:9], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1c0] : Audio : mp2, 48000 Hz, 2 channels, s16, 384 kb/s

    However, specifying a constant bit rate like this :

    ffmpeg -i input.%04d.dpx -vcodec mpeg2video -pix_fmt yuv422p -intra -b 50000k -minrate 50000k -maxrate 50000k -bufsize 2000000 -output.mpg

    gives a varying q whilst transcoding somewhere between 1 and 6. The resulting file is 50Mbps (in both the file and the video stream)

    However the quality of this file is not as good as the 25Mbps (as suggested by the q factor).

    So my question is how can I produce a file of 50Mbps AND q=1. It is my understanding that the q flags and the bitrate flags are mutually exclusive (I've tried running both).

    Thanks very much for your help.

  • Anomalie #2929 : URLs Propre identiques sur un article et un événement (de cet article)

    18 janvier 2013, par marcimat -

    Je n’arrive pas à reproduire cette chose en local. Le titre de l’article en question était « Les Incroyables Comestibles à Angoulême ». J’ai beau créer autant d’événements que je veux, ils ont des urls différentes de l’article... Y a un truc (...)

  • How to save ffmpeg stream with datetime

    18 janvier 2013, par user1800256

    I would like to write an output format from a ffmpeg encode line to save the stream in a SD card with date and hour.

    To simplify the question I write the following (just ignore the extras) :

    import subprocess, sus, os, datetime, time
    from subprocess import Popen, PIPE

    def call_command(command):
       subprocess.Popen(command.split('  '))

    call_command('ffmpeg -f video4linux2 -y -s qvga -r 24 -i /dev/video0 \
                 -vcodec mpeg2video /home/pi/webcam_+%Y/%m/%d_at_%H:%M:%S.mpg')

    I also tried another solutions like define firstly the filename and call it from the ffmpeg line but it doesen't work.