Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (36)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (8368)

  • How to transcode .mp4 files using ffmpeg celery rabbitMq in Amazon Linux ?

    11 mars 2017, par Srinivas 25

    I want to transcode .mp4, .flv files by using ffmpeg, celery and rabbitMQ. With the help of these tools i can able to transcode in localhost, where in
    my OS is ubuntu, but i am unable to do the same on AWS Linux for production
    Here is the code i am using to integrate ffmpeg, rabbitMQ and celery to transcode on Amazon Linux

    FFMPEG_PATH = '/usr/bin/ffmpeg'


    CELERY_BROKER_URL = 'amqp://guest:guest@awsuser:5672//'
    CELERY_ACCEPT_CONTENT = 'file'
    CELERY_RESULT_BACKEND = 'rpc://'
    CELERY_TASK_SERIALIZER = 'file'

    celery.py

    from __future__ import absolute_import
    import os
    from celery import Celery
    from afnity.settings import CELERY_BROKER_URL

    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'afnity.settings')


    app = Celery('taskapp',
            broker=CELERY_BROKER_URL,
            include=['taskapp.tasks'])

    app.config_from_object('django.conf:settings', namespace='CELERY')


    if __name__ == '__main__':
    app.start()

    tasks.py

    from .celery import app

    @app.task
    def add()
    return(3+4d)
  • Opening Video with opencv3 and python on Amazon EC2

    11 octobre 2016, par stml

    I successfully set up python and opencv3 on an t2.micro instance by following these instructions : http://stackoverflow.com/a/38867965/1213715

    The script which worked on my local machine no longer works. The problem seems to be with importing video. The start of my code now looks like this :

    import numpy as np
    import cv2

    cap = cv2.VideoCapture('/home/ec2-user/test.mov')

    if(cap.isOpened() == False):
       print "Can't open video"
       exit()

    This exits every time. I have tried different paths and different video formats (including .avi).

    In other threads, I read that ffmpeg is essential to cv2 video functions, and successfully installed this using the instructions at https://forums.aws.amazon.com/thread.jspa?messageID=524523. I can now run ffmpeg from the command line - but it has not changed the cv2 output.

    Do I need to link ffmpeg to cv2 somehow, or do I need to recompile entirely - and if so, what change should I make to the original installation instructions ?

    Python version 2.7.12

    Opencv version 3.1.0

  • Install gstreamer on EC2 Amazon Linux AMI ?

    6 décembre 2015, par vy32

    I’m trying to install QT5.5 on Amazon EC2 Linux, which apparently requires that I install some kind of multimedia support. It looks like that comes from gstreamer.

    yum search gstreamer turns up :

    [ec2-user@ip-172-30-1-58 ~]$ yum search gstreamer
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    ============================================== N/S matched: gstreamer ==============================================
    gstreamer-ffmpeg.x86_64 : GStreamer FFmpeg-based plug-ins
    gstreamer-ffmpeg-debuginfo.x86_64 : Debug information for package gstreamer-ffmpeg
    gstreamer-plugins-bad.x86_64 : GStreamer streaming media framework "bad" plug-ins
    gstreamer-plugins-bad-debuginfo.x86_64 : Debug information for package gstreamer-plugins-bad
    gstreamer-plugins-bad-nonfree.x86_64 : Non Free GStreamer streaming media framework "bad" plug-ins
    gstreamer-plugins-bad-nonfree-debuginfo.x86_64 : Debug information for package gstreamer-plugins-bad-nonfree
    gstreamer-plugins-ugly.x86_64 : GStreamer streaming media framework "ugly" plug-ins
    gstreamer-plugins-ugly-debuginfo.x86_64 : Debug information for package gstreamer-plugins-ugly
    gstreamer-plugins-ugly-devel-docs.noarch : Development documentation for the GStreamer "ugly" plug-ins
    gstreamer1-libav.x86_64 : GStreamer 1.0 libav-based plug-ins
    gstreamer1-libav-debuginfo.x86_64 : Debug information for package gstreamer1-libav
    gstreamer1-plugins-bad-freeworld.x86_64 : GStreamer 1.0 streaming media framework "bad" plug-ins
    gstreamer1-plugins-bad-freeworld-debuginfo.x86_64 : Debug information for package gstreamer1-plugins-bad-freeworld
    gstreamer1-plugins-ugly.x86_64 : GStreamer 1.0 streaming media framework "ugly" plug-ins
    gstreamer1-plugins-ugly-debuginfo.x86_64 : Debug information for package gstreamer1-plugins-ugly
    gstreamer1-plugins-ugly-devel-docs.noarch : Development documentation for the GStreamer "ugly" plug-ins
    gstreamer1-vaapi.x86_64 : GStreamer plugins to use VA API video acceleration
    gstreamer1-vaapi-debuginfo.x86_64 : Debug information for package gstreamer1-vaapi
    gstreamer1-vaapi-devel.x86_64 : Development files for gstreamer1-vaapi
    qt-gstreamer.x86_64 : C++ bindings for GStreamer with a Qt-style API
    qt-gstreamer-debuginfo.x86_64 : Debug information for package qt-gstreamer
    qt-gstreamer-devel.x86_64 : Header files and development documentation for qt-gstreamer

     Name and summary matches only, use "search all" for everything.
    [ec2-user@ip-172-30-1-58 ~]$ %

    However, when I try to install one of these, I get this error :

    $ sudo yum install -y gstreamer-ffmpeg
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package gstreamer-ffmpeg.x86_64 0:0.10.13-15.el7.nux will be installed
    --> Processing Dependency: liborc-0.4.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstvideo-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstreamer-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstpbutils-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstbase-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstaudio-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Finished Dependency Resolution
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: liborc-0.4.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstreamer-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstbase-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstaudio-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstpbutils-0.10.so.0()(64bit)
    Error: Package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 (nux-dextop)
              Requires: libgstvideo-0.10.so.0()(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    [ec2-user@ip-172-30-1-58 ~]$

    Supplying the suggested --skip-broken doesn’t help :

    [ec2-user@ip-172-30-1-58 ~]$ sudo yum install -y gstreamer-ffmpeg --skip-broken
    Loaded plugins: priorities, update-motd, upgrade-helper
    23 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package gstreamer-ffmpeg.x86_64 0:0.10.13-15.el7.nux will be installed
    --> Processing Dependency: liborc-0.4.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstvideo-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstreamer-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstpbutils-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstbase-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64
    --> Processing Dependency: libgstaudio-0.10.so.0()(64bit) for package: gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64

    Packages skipped because of dependency problems:
       gstreamer-ffmpeg-0.10.13-15.el7.nux.x86_64 from nux-dextop
    [ec2-user@ip-172-30-1-58 ~]$

    So how do I install gstreamer-ffmpeg ? Why aren’t the dependencies automatically being followed ?