Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (90)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (9594)

  • Problems with paperclip and ffmpeg

    15 avril 2015, par proeo pre

    I have a problem with update a video for web cam.

    my model :

    has_attached_file :video_presentacion, :styles => {
       :original => { :geometry => "1280x720", :format => 'mp4',:convert_options => { :output => { :vcodec => 'libx264'}} },
       :thumb => { :geometry => "350x350#", :format => 'png', :time => 12}
    }, :processors => [:ffmpeg]



    validates_attachment_content_type :video_presentacion, :content_type => [ 'application/x-mp4','video/mp4',
                                                                         'video/mpeg',
                                                                         'video/quicktime',
                                                                         'video/x-la-asf',
                                                                         'video/x-ms-asf',
                                                                         'video/x-msvideo',
                                                                         'video/x-sgi-movie',
                                                                         'video/x-flv',
                                                                         'flv-application/octet-stream',
                                                                         'video/3gpp',
                                                                         'video/3gpp2',
                                                                         'video/3gpp-tt',
                                                                         'video/BMPEG',
                                                                         'video/BT656',
                                                                         'video/CelB',
                                                                         'video/DV',
                                                                         'video/H261',
                                                                         'video/H263',
                                                                         'video/H263-1998',
                                                                         'video/H263-2000',
                                                                         'video/H264',
                                                                         'video/JPEG',
                                                                         'video/MJ2',
                                                                         'video/MP1S',
                                                                         'video/MP2P',
                                                                         'video/MP2T',
                                                                         'video/mp4',
                                                                         'video/MP4V-ES',
                                                                         'video/MPV',
                                                                         'video/mpeg4',
                                                                         'video/mpeg4-generic',
                                                                         'video/nv',
                                                                         'video/parityfec',
                                                                         'video/pointer',
                                                                         'video/raw',
                                                                         'video/rtx']

    MY file name have WIN_20150415_103337.MP4

    file have codec h.264
    sonido have codec MPEG-4 AAC

    When I upload in development mode on my laptop, it work fines. When I update on test or production don’t work and log archive...

    [paperclip] An error was received while processing: #tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vcodec libx264 -s 1280x720 -acodec aac -strict experimental -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-1ww6qqc.mp4'' returned 1. Expected 0

    Here is the command output :

    [paperclip] [ffmpeg] ffprobe "/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4" 2>&1

    [paperclip] [ffmpeg] Command Success


    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: '3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr' + 'png'

    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Pad Only
    [paperclip] [ffmpeg] Convert Options:
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -ss 12 -i :source -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y :dest
    Command :: PATH=/usr/local/bin/:$PATH; ffmpeg -ss 12 -i '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr.MP4' -vf scale=350:-1,pad=350:350:0:77.0:black -vframes 1 -f image2 -y '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'
    Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1buc2jr20150415-11490-txzcol.png'

    Command :: PATH=/usr/local/bin/:$PATH; file -b --mime '/tmp/3f143e8fbebaf46e7103d8153e06f17920150415-11490-1kbatzu.MP4'
    [1m[35m (0.3ms)[0m  ROLLBACK
  • Why are v0, v1, and v2 of ffmpeg still under active development ? What happened to ppa:jon-severinsson/ffmpeg ?

    12 avril 2015, par cxrodgers

    I know about the long history of ffmpeg and libav. Personally, I preferred to use Jon Severinsson’s PPA, as suggested in many answers here on stackoverflow or askubuntu. However, recently this PPA seems to have gone down recently (this page, which is the link everyone always gives, is dead). I don’t see if he put up a newer version, although I admit I find launchpad hard to navigate. Did it get replaced with this one from Doug McMahon or this one from Sam Rog ?

    Ok, so maybe I need to download it myself. I visit the releases page for ffmpeg, and there seems to be simultaneous development of releases from v2 (2.6.2), v1 (1.2.12, from February), and v0 (0.10.16, from March of this year). 0.10 isn’t even the newest of the v0 series, and yet it seems to be the most recently updated of that series, and (coincidentally ?) also the version that I most recently got from the PPA. Admittedly this was on a slightly older distribution (Linux Mint 16).

    ffmpeg -version
    ffmpeg version 0.10.12-7:0.10.12-1~saucy1

    So, which version should I download, now that the PPA is gone ? Does it depend on the distribution I’m using ?

  • ffmpeg transcoding example not working on android

    10 mars 2015, par Yogesh Kulkarni

    I am trying to run transcoding example of ffmpeg from here and from here on android, but getting following error

    03-10 16:27:56.903: E/TRANSCODING(8616): Cannot open video encoder for stream #0

    I am getting this error when I try to initialize AVCodecContext* for output file ret = avcodec_open2(enc_ctx, codec, NULL); in method static int open_input_file(const char *filename)

    I have compiled ffmpeg for android and included in my android project and I am calling this transcoding.c from jni.

    I tried this code on many video files with different encoding, but no luck. I have also checked that the given encoder/decoder is available in android device or not.

    Anyone know why I am getting this error ?

    Thanks.