Recherche avancée

Médias (91)

Autres articles (32)

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

  • ffmpeg set buf_len

    2 avril 2013, par Jeetendra_Nath_Jha

    I have been taken input from the device file /dev/video49.

    using ffmpeg, following command writing from the terminal :

    ffmpeg -f video4linux2 -i /dev/video49 -target ntsc-vcd -s 1920x1080 pixfmt:yuv420p -vstats -bufsize 225k -an -f mpegts -vcodec mpeg4 udp://127.0.0.1:10000?pkt_size=1316

    but it gives an error given below :

    ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Mar 20 2013 15:06:14 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
     configuration:
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    [video4linux2,v4l2 @ 0x95862a0] buf_len[0] = 1048576 < expected frame size 3110400
    /dev/video49: Cannot allocate memory

    I don't know how to set the buf_len here...

    because in an error it says that the buf_len is need to be set.

  • After converting FLV to MP4 format using ffmpeg the MP4 file has 0 bytes [closed]

    28 mars 2013, par user2138489

    Using ffmpeg I converted an FLV file to an MP4 file. But the MP4 file has 0 bytes. The command which i used to convert is

    ffmpeg -i sample.flv -b 1104k -ab 122k sample.mp4

    This is the output I got for the above ffmpeg command :

    ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Jan 24 2013 18:01:36 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    [flv @ 0x64f7a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, flv, from '/home/kirthiga/Desktop/videopine/test.flv':
     Metadata:
       creationdate    : Thu Mar 28 12:46:29
     Duration: 00:00:09.82, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: flv, yuv420p, 320x240, 1k tbr, 1k tbn, 1k tbc
       Stream #0.1: Audio: nellymoser, 22050 Hz, mono, s16
    [buffer @ 0x64f720] w:320 h:240 pixfmt:yuv420p
    encoder 'aac' is experimental and might produce bad results.
    Add '-strict experimental' if you want to use it.
  • PHP ffmpeg conversion error

    6 mars 2016, par Enn Fenn

    I tried to convert some videos with ffmpeg and PHP.

    When I execute the following command in PHP exec()

    /usr/local/bin/ffmpeg -i /home/test/public_html/test.m4v -vcodec libx264 -acodec libmp3lame -r 30 -s 640x480 -b 100k /home/test/public_html/output_640x480_test.m4v

    Output :

    /usr/local/bin/ffmpeg: line 4: /var/log/ffmpeg.log: Permission denied
    FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
     built on Apr 18 2012 05:19:10 with gcc 4.1.2 20080704 (Red Hat 4.1.2-52)
     configuration: --prefix=/usr/local/src/ffmpeg --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab --enable-libxvid --enable-libvorbis --enable-libtheora
     libavutil     50.36. 0 / 50.36. 0
     libavcore      0.16. 1 /  0.16. 1
     libavcodec    52.108. 0 / 52.108. 0
     libavformat   52.93. 0 / 52.93. 0
     libavdevice   52. 2. 3 / 52. 2. 3
     libavfilter    1.74. 0 /  1.74. 0
     libswscale     0.12. 0 /  0.12. 0
     libpostproc   51. 2. 0 / 51. 2. 0

    Seems stream 1 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 10.00 (10/1)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/test/public_html/test.m4v':
     Metadata:
       major_brand     : M4VP
       minor_version   : 1
       compatible_brands: M4VPM4V M4A mp42isom
       creation_time   : 2013-03-14 10:08:25
       encoder         : Mac OS X v10.7.4 (CMA 891, CM 705.78, x86_64)
       date            : 2013-03-10T14:05:41+1100
     Duration: 00:00:02.30, start: 0.000000, bitrate: 245 kb/s
       Stream #0.0(und): Audio: aac, 32000 Hz, 2 channels (FC), s16, 31 kb/s
       Metadata:
         creation_time   : 2013-03-14 10:08:25
       Stream #0.1(und): Video: h264, yuv420p, 400x226 [PAR 1:1 DAR 200:113], 216 kb/s, 10.35 fps, 10 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2013-03-14 10:08:25
    [buffer @ 0xf6093c0] w:400 h:226 pixfmt:yuv420p
    [scale @ 0xf609790] w:400 h:226 fmt:yuv420p -> w:640 h:480 fmt:yuv420p flags:0xa0000004
    [libx264 @ 0xf605cd0] broken ffmpeg default settings detected
    [libx264 @ 0xf605cd0] use an encoding preset (e.g. -vpre medium)
    [libx264 @ 0xf605cd0] preset usage: -vpre <speed> -vpre <profile>
    [libx264 @ 0xf605cd0] speed presets are listed in x264 --help
    [libx264 @ 0xf605cd0] profile is optional; x264 defaults to high
    Output #0, ipod, to '/home/test/public_html/output_640x480_test.m4v':
       Stream #0.0(und): Video: libx264, yuv420p, 640x480 [PAR 150:113 DAR 200:113], q=2-31, 800 kb/s, 90k tbn, 10 tbc
       Metadata:
         creation_time   : 2013-03-14 10:08:25
       Stream #0.1(und): Audio: libmp3lame, 32000 Hz, 2 channels, s16, 64 kb/s
       Metadata:
         creation_time   : 2013-03-14 10:08:25
    Stream mapping:
     Stream #0.1 -> #0.0
     Stream #0.0 -> #0.1
    Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    </profile></speed>

    The same conversion is working fine in another server. But not in our current server. What should I do to get rid of this error ?