Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (46)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (5112)

  • C run linux shell command(fmpeg) slower than typing directly in terminal

    11 novembre 2014, par dadylonglegs

    I’m writing an application that execute a linux shell command (ffmpeg) from my C code. Such as :

    char command[2000];
    sprintf(command, "ffmpeg -i %s/%s -r 1 -vf scale=-1:120 -vframes 1 -ss  00:00:00 %s.gif", publicFolder, mediaFile, mediaFile);
    system(command);

    To extract video thumbnail from a specific video. But the strange that it is too much slower when executing shell command form C compare to typing directly to the terminal. I have no idea about this.
    Can anybody help me pls ?. Thanks in advance.

  • C run linux shell command(fmpeg) 10x slower than typing directly in terminal

    14 novembre 2014, par dadylonglegs

    CLOSED

    I’m writing an application that execute a linux shell command (ffmpeg) from my C code. Such as :

    char command[2000];
    sprintf(command, "ffmpeg -i %s/%s -r 1 -vf scale=-1:120 -vframes 1 -ss  00:00:00 %s.gif", publicFolder, mediaFile, mediaFile);
    system(command);

    To extract video thumbnail from a specific video. But the strange that it is too much slower when executing shell command form C compare to typing directly to the terminal. I have no idea about this.
    Can anybody help me pls ?. Thanks in advance.

  • ffmpeg return black and white image

    16 décembre 2011, par njai

    Video capture device is kworld dvd maker 2 (em2861)
    It returns the image in "black and white" with green line at the bottom of screen ; but when I tested it with webcam, it worked properly.

    Here is 30s video. http://www.youtube.com/watch?v=7q2wFGVwGGI

    How can I convert it to color ?

    [root@localhost ~]# ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 -y output.mp4
    ffmpeg version git-2011-11-05-5fd1a69, Copyright (c) 2000-2011 the FFmpeg developers
    built on Nov  5 2011 21:10:52 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
    configuration: --enable-libx264 --enable-gpl --enable-libvpx
    libavutil    51. 23. 0 / 51. 23. 0
    libavcodec   53. 27. 0 / 53. 27. 0
    libavformat  53. 18. 0 / 53. 18. 0
    libavdevice  53.  4. 0 / 53.  4. 0
    libavfilter   2. 47. 0 /  2. 47. 0
    libswscale    2.  1. 0 /  2.  1. 0
    libpostproc  51.  2. 0 / 51.  2. 0
    [video4linux2,v4l2 @ 0x2a64780] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2,v4l2, from '/dev/video0':
    Duration: N/A, start: 1320637788.113946, bitrate: 165888 kb/s
    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 165888 kb/s, 25 tbr, 1000k tbn, 25 tbc
    Incompatible pixel format 'yuyv422' for codec 'mpeg4', auto-selecting format 'yuv420p'
    [buffer @ 0x2a63920] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 sar:0/1 sws_param:
    [buffersink @ 0x2a63cc0] auto-inserting filter 'auto-inserted scale 0' between the filter    'src' and the filter 'out'
    [scale @ 0x2a64560] w:720 h:576 fmt:yuyv422 -> w:720 h:576 fmt:yuv420p flags:0x4
    Output #0, mp4, to 'output.mp4':
    Metadata:
    encoder         : Lavf53.18.0
    Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 720x576, q=2-31, 200 kb/s, 25    tbn, 25 tbc
    Stream mapping:
    Stream #0.0 -> #0.0 (rawvideo -> mpeg4)
    Press [q] to stop, [?] for help
    frame=  969 fps= 25 q=31.0 Lsize=    1547kB time=00:00:38.76 bitrate= 327.0kbits/s    
    video:1538kB audio:0kB global headers:0kB muxing overhead 0.561411%