Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (34)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4872)

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

  • FFMpeg : h.264 to h.264 with the same quality and bitrate

    6 octobre 2018, par Vasya

    I have a some mp4 video file with 1 video stream, encoded in h.264 and with bitrate XYZ kb/s, for example, let’s have a name xxx.mp4 (not a home video, just a film). Its frames looks like some video data and two horizontal black strips on top and bottom side. On one of those strips there is some text, like "Our XXX super videos". I want to draw a black box on those text with dratext filter. Obviously, that processed video must be with almost same bitrate and same file size. But which options I must put in ffmpeg.exe to do so ? CRF 0 ? CRF 18 ? b:v XYZ ? Two-pass ? VBV with crf 23 -maxrate XYZ -bufsize 2M ?
    I want get video data without any losses in comprasion with original mp4 file.