Recherche avancée

Médias (91)

Autres articles (64)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (4999)

  • Gstreamer + Logitech C920 h264 video lacks timing information, plus mp4mux not working

    30 mars 2015, par user1048388

    I’m currently getting the h264 encoded video and the audio from the C920 via gstreamer 1.2.4 :

    gst-launch-1.0 v4l2src device=/dev/video0 do_timestamp=true ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. pulsesrc device="alsa_input.usb-046d_HD_Pro_Webcam_C920_5530335F-02-C920.analog-stereo" ! queue ! audioconvert ! voaacenc bitrate=65536 ! muxout. matroskamux name=muxout streamable=true ! queue ! filesink location=/home/[omitted]/test.mp4

    The main problem is that the resulting video lacks timing information. By that I mean seek is not possible and the duration is unknown. Adding do_timestamp=true changes nothing.
    Simply copying the file in ffmpeg/libav shows several instances of :

    Non-monotonous DTS in output stream 0:0 ; previous : 926, current : 807 ; changing to 927. This may result in incorrect timestamps in the output file.

    After this short process (seconds on an hour long file), the timing information suddenly works for the entire video.

    What do I need to do to make this happen during the gst-launch pipeline ?

    There are some other problems which may or may not be related :
    I am using matroskamux despite wanting a mp4 container because mp4mux simply does not work in the given launch command. I receive

    ERROR : Pipeline doesn’t want to pause.
    ERROR : from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 : Cannot identify device ’/dev/video0’.
    Additional debug info :
    v4l2_calls.c(568) : gst_v4l2_open () : /GstPipeline:pipeline0/GstV4l2Src:v4l2src0 :
    system error : No such file or directory

    when replacing matroskamux with mp4mux.

    I am clueless as to why this happens. Any help would be appreciated.

  • ffmpeg conversion dimension error

    7 mars 2015, par georgechalhoub

    I am writing a video conversion script using ffmpeg, it has been completed to full. Ideally, my video conversion script should output the video to many formats (similar to YouTube) :

    • 140p : 256 x 144
    • 240p : 426 x 240
    • 360p : 640  x 360
    • 480p : 854  x 480
    • 720p : 1280 x 720
    • 1080p : 1920x 1080

    The problem I am facing is that if a user uploads a 480p (854 x 480) video or close to 480p (854 x 480) the script will convert to all formats (1080p and 720p) which would seem like a waste of bandwidth and disk space in this case.

    The problem isn’t as easy as it seems. If a user uploads a 500 x 300 video I don’t want it to get converted to a 240p, there has to be some estimations.

    Is there some command in ffmpeg which does any help dealing with such type of problems ?

  • Convert a ffmpeg video to an appropriate dimension

    6 mars 2015, par georgechalhoub

    I am writing a video conversion script using ffmpeg, it has been completed to full. Ideally, my video conversion script should output the video to many formats (like YouTube) :

    • 140p : 256 x 144
    • 240p : 426 x 240
    • 360p : 640  x 360
    • 480p : 854  x 480
    • 720p : 1280 x 720
    • 1080p : 1920x 1080

    The problem I am facing is that if a user uploads a 480p (854 x 480) video or close to 480p (854 x 480) the script will convert to all formats (1080p and 720p) which would seem like a waste of bandwidth and disk space in this case.

    The problem isn’t as easy as it seems. If a user uploads a 500 x 300 video I don’t want it to get converted to a 240p, there has to be some estimations.

    Who can help me or has some experience with such kind of problems ?