Recherche avancée

Médias (91)

Autres articles (29)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4292)

  • How to grap voice and vedio in ffmpeg \ mplayer\mencoder ?

    4 février 2013, par Kill Kill

    My target is to grap voice and vedio via webcamera,there are three ways to do :

    1.ffmpeg -f oss -i /dev/dsp -f video4linux2 -r 25 -b 500000 -s 320x240 -i /dev/video0 out.mpg
    WARNING : gnome-keyring: : couldn't connect to : /home/debian/.cache/keyring-4Hzs4r/pkcs11 : No such file or directory
    ffmpeg version 0.8.5-6:0.8.5-1, Copyright (c) 2000-2012 the Libav developers
    built on Jan 13 2013 16:02:15 with gcc 4.7.2
    * THIS PROGRAM IS DEPRECATED *
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [oss @ 0x9d63c60] /dev/dsp : No such file or directory
    /dev/dsp : Input/output error

    in my computer how to revise it ?

    2.mplayer tv :// -tv driver=v4l2:input=0:width=640:height=480:fps=25 -vo x11
    i can see the veido when the command run ,how can l save the output into a file and grap the voice ?

    3.mencoder tv :// -tv driver=v4l2:width=800:height=600:device=/dev/video0:fps=30:outfmt=yuy2:forceaudio:alsa:adevice=hw.2,0 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1800 -ffourcc xvid -oac mp3lame -lameopts cbr=128 -o output.avi

    MEncoder svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team
    success : format : 9 data : 0x0 - 0x0
    TV file format detected.
    Selected driver : v4l2
    name : Video 4 Linux 2 input
    author : Martin Olschewski
    comment : first try, more to come
    v4l2 : your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
    Selected device : PC Camera
    Capabilities : video capture read/write streaming
    supported norms :
    inputs : 0 = zc3xx ;
    Current input : 0
    Current format : unknown (0x4745504a)
    tv.c : norm_from_string(pal) : Bogus norm parameter, setting default.
    v4l2 : ioctl enum norm failed : Inappropriate ioctl for device
    Error : Cannot set norm !
    Selected input hasn't got a tuner !
    ALSA lib pcm_hw.c:1401 :(_snd_pcm_hw_open) Invalid value for card
    Error opening audio : No such file or directory
    ALSA lib pcm_hw.c:1401 :(_snd_pcm_hw_open) Invalid value for card
    Error opening audio : No such file or directory
    ALSA lib pcm_hw.c:1401 :(_snd_pcm_hw_open) Invalid value for card
    Error opening audio : No such file or directory
    v4l2 : ioctl set mute failed : Invalid argument
    v4l2 : 0 frames successfully processed, 0 frames dropped.
    ============ Sorry, this file format is not recognized/supported =============
    === If this file is an AVI, ASF or MPEG stream, please contact the author ! ===
    Cannot open demuxer.

    Exiting...

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

  • How to convert audio stream from PureTool/CVS video ?

    1er janvier 2013, par Mark

    I apologize if there is a better place to post this. I recently came across a couple CVS single-use video cameras that I had been using back in 2005. I still have the USB cable I made and now that I've switched to Mac I can use Puretool to extract the old videos from the cameras. The problem I'm having is that I can only hear the audio when viewing the videos with VLC media player. I read on PureTools site, a common problem is that the audio codec used is incompatible with Quicktime and the audio stream needs to be converted. There is a link on their site to a program called FixSound which is purported to fix this, but the link is dead and I've been unable to find any further information about this. If anyone could point me in the right direction, I'd be very grateful. All the videos I'm dealing with are from the first year of my son's life and I'd really like to be able to archive them in a more uniform format. I would think this would be possible to do using Adobe Audition or some other program in Adobe's CS6 Master Collection but I've only dealt with Photoshop, Illustrator, Dreamweaver, Flash & Fireworks. I have no experience with audio or video yet.

    Thanks,

    Mark