Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (37)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3451)

  • use grunt for jshint and uglify

    12 mars 2013, par brandonaaron
    use grunt for jshint and uglify
  • can't install ffmpeg in ubuntu

    5 février 2013, par john

    I tried to install ffmpeg in ubundu.using the command sudo apt-get install ffmpeg

    But i can't install it.It Shows an error.Following is the out put when i tried to install ffmpeg.

    wds@wds:~$ sudo apt-get install ffmpeg
    [sudo] password for wds:
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following extra packages will be installed:
     libavfilter1
    The following NEW packages will be installed:
     ffmpeg libavfilter1
    0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
    Need to get 357kB of archives.
    After this operation, 1,282kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    WARNING: The following packages cannot be authenticated!
     libavfilter1 ffmpeg
    Install these packages without verification [y/N]? y
    Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main libavfilter1 i386 4:0.6-2ubuntu6.3
     404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ maverick-security/main libavfilter1 i386 4:0.6-2ubuntu6.3
     404  Not Found [IP: 91.189.92.200 80]
    Err http://security.ubuntu.com/ubuntu/ maverick-security/main ffmpeg i386 4:0.6-2ubuntu6.3
     404  Not Found [IP: 91.189.92.200 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libavfilter1_0.6-2ubuntu6.3_i386.deb  404  Not Found [IP: 91.189.92.200 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/ffmpeg/ffmpeg_0.6-2ubuntu6.3_i386.deb  404  Not Found [IP: 91.189.92.200 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    wds@wds:~$

    It shows a 404 error.when installing.

  • how to allow a worker to run a ffmpeg command on heroku for my python/django app ?

    10 mars 2013, par GetItDone

    I've been stuck trying to figure this out for weeks. I previously asked a similar question found here but I never got any replies. I really cannot find any good documentation anywhere. All I need to do is use a worker (don't care what worker have django-celery and rq installed) to convert a file to flv when it is uploaded from a form. I was able to get this done easily locally, but after over a week I haven't been able to get it to work no matter what I have tried. I tried adding a tasks.py file for celery, or a worker.py file for rq, and I have no idea what else (if anything) needs to be done, such as in my settings.py or Procfile. My procfile looks like :

    web: gunicorn lftv.wsgi -b 0.0.0.0:$PORT
    celeryd: celery -A tasks worker --loglevel=info
    worker: python worker.py

    My requirements.txt showing what I have installed looks like this :

    Django==1.4.3
    Logbook==0.4.1
    amqp==1.0.6
    anyjson==0.3.3
    billiard==2.7.3.19
    boto==2.6.0
    celery==3.0.13
    celery-with-redis==3.0
    distribute==0.6.31
    dj-database-url==0.2.1
    django-celery==3.0.11
    django-s3-folder-storage==0.1
    django-storages==1.1.6
    gunicorn==0.16.1
    kombu==2.5.4
    pil==1.1.7
    psycopg2==2.4.5
    python-dateutil==1.5
    pytz==2012j
    redis==2.7.2
    requests==1.1.0
    rq==0.3.2
    six==1.2.0
    times==0.6

    The only thing relevant in my settings.py are as follows :

    BROKER_BACKEND = 'django'
    BROKER_URL = #For this I copy/pasted the code from my redistogo add-on from heroku. Not sure if correct
    BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 1800}

    Without trying to take up too much more space, my tasks.py looks like this :

    import subprocess

    @task
    def ffmpeg_conversion(input_file):
       converted_file = subprocess.call(input_file)
       return converted_file

    I use S3 to store my static and media files, and the upload works (adding uploads to my bucket), however no matter what I try the conversion never will. Is there a good tutorial for absolute beginners ? I followed the heroku redis tutorial, celery docs, rq docs, and whatever else I can find, and got the examples to work, but the worker will not execute the command from my view. For example one of the many things I tried :

    ...
    ffmpeg = "ffmpeg -i %s -acodec mp3 -ar 22050 -f flv -s 320x240 %s" % (sourcefile, targetfile)
    ffmpegresult = ffmpeg_conversion.delay(ffmpeg)
    ...

    or using rq

    ...
    q = Queue(connection=conn)
    result = q.enqueue(ffmpeg_conversion, ffmpeg)
    ...

    I seems like it should be simple, however I am completely self-taught and have never deployed a project whatsoever, and there just doesn't seem to be any good documentation or tutorial available for what I am trying to do. I can't judge whether I am completely off and completely missing something significant or relatively close to getting this to work. I really do appreciate any input whatsoever, this is driving me nuts. Thanks in advance.