Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (56)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (8140)

  • FFmpeg not encoding with libx264 library

    29 octobre 2011, par bOkeifus

    Hey people of StackOverflow. I have been having a strange issue that I'm not exactly sure what's going on. I am using FFmpeg to convert any incoming video files to h264 mp4 files using the libx264. This is the log that I get from running this line of code :

    ffmpeg -y -i vdoname.flv -acodec libfaac -vcodec libx264 -sameq vid.mp4

    This is the log output after running the line :

    FFmpeg version SVN-r13428, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-liba52 --enable-liba52bin --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-network --disable-ipv6 --disable-ffserver --disable-ffplay
     libavutil version: 49.6.0
     libavcodec version: 51.57.0
     libavformat version: 52.14.0
     libavdevice version: 52.0.0
     built on Feb 17 2009 09:01:13, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
    Input #0, flv, from '/html/video/937.flv':
     Duration: 00:00:10.08, start: 0.000000, bitrate: 48 kb/s
       Stream #0.0: Video: flv, yuv420p, 720x480, 49.92 tb(r)
       Stream #0.1: Audio: mp3, 22050 Hz, stereo, 48 kb/s
    Output #0, h264, to '/html/flvideo/new_937.mp4':
       Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, 200 kb/s, 49.92 tb(c)
       Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    [libx264 @ 0x11d58b0]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
    Press [q] to stop encoding

    Can someone please help me out and tell me what to do to get this to work ? I guessed that the libx264 external library is not installed but it doesn't exactly say that in the log file and it looks as if it does find it but then doesn't actually encode the video.

    Any and all help is greatly appreciated.

  • FFmpeg avcodec_find_encoder problem

    13 novembre 2012, par net

    I'm newbie in ffmpeg.

    my problem is "avcodec_find_encoder(CODEC_ID_H264) ;" func always returning null.

    ffmpeg configure is below on my ubuntu system.

    ./ffmpeg
    FFmpeg version SVN-r26306, Copyright (c) 2000-2011 the FFmpeg developers
     built on Jan 11 2011 10:34:49 with gcc 4.4.5
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
     libavutil     50.36. 0 / 50.36. 0
     libavcore      0.16. 0 /  0.16. 0
     libavcodec    52.108. 0 / 52.108. 0
     libavformat   52.92. 0 / 52.92. 0
     libavdevice   52. 2. 3 / 52. 2. 3
     libavfilter    1.72. 0 /  1.72. 0
     libswscale     0.12. 0 /  0.12. 0
     libpostproc   51. 2. 0 / 51. 2. 0

    as you can see, configuration contains —enable-libx264

    so I think avcodec_find_encoder(CODEC_ID_H264) ; have to return something not null...
    please let me know how to solve this problem ?

    ps) I call avcodec_init() and av_register_all() in my program.

    when I compile my test program, using below

    gcc -o test test.c -lavutil -lavformat -lavcodec -lx264 -lz -lm

    thanks

  • Elimination compression from videos generated from images using ffmpeg ?

    5 novembre 2011, par Magz

    So I'm using ffmpeg to generate videos from a series of images. Unfortunately every video I've generated so far becomes compressed about halfway through (these are about 10-30 second videos). I've tried a lot of different options, but here's an example and the resulting output.

    Any suggestions ?

    ffmpeg -minrate 5000k -maxrate 5000k -bufsize 1835k -b 5000k -s 480x480 \
    -f image2 -r 10 -i 'dms-%05d.jpeg' output.flv


    ffmpeg version 0.8.1, Copyright (c) 2000-2011 the FFmpeg developers
     built on Jul 29 2011 14:13:56 with gcc 4.2.1 (Apple Inc. build 5664)
     configuration: --enable-libmp3lame --enable-shared --disable-mmx --arch=x86_64
     libavutil    51.  9. 1 / 51.  9. 1
     libavcodec   53.  7. 0 / 53.  7. 0
     libavformat  53.  4. 0 / 53.  4. 0
     libavdevice  53.  1. 1 / 53.  1. 1
     libavfilter   2. 23. 0 /  2. 23. 0
     libswscale    2.  0. 0 /  2.  0. 0
    [image2 @ 0x101007c00] max_analyze_duration 5000000 reached at 5000000
    Input #0, image2, from 'dms-%05d.jpeg':
     Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj444p, 559x480 [PAR 1:1 DAR 559:480], 10 fps, 10 tbr, 10 tbn, 10 tbc
    Incompatible pixel format 'yuvj444p' for codec 'flv', auto-selecting format 'yuv420p'
    [buffer @ 0x100d00230] w:559 h:480 pixfmt:yuvj444p tb:1/1000000 sar:1/1 sws_param:
    [buffersink @ 0x100d02160] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x100d023a0] w:559 h:480 fmt:yuvj444p -> w:559 h:480 fmt:yuv420p flags:0x4
    Output #0, flv, to 'output.flv':
     Metadata:
       encoder         : Lavf53.4.0
       Stream #0.0: Video: flv, yuv420p, 559x480 [PAR 1:1 DAR 559:480], q=2-31, 200 kb/s, 1k tbn, 10 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    [buffer @ 0x100d00230] Buffer video input changed from size:559x480 fmt:yuvj444p to size:480x480 fmt:yuvj420p
    [scale @ 0x100d023a0] w:480 h:480 fmt:yuvj420p -> w:559 h:480 fmt:yuv420p flags:0x2
    [buffer @ 0x100d00230] Buffer video input changed from size:480x480 fmt:yuvj420p to size:559x480 fmt:yuvj444p
    [scale @ 0x100d023a0] w:559 h:480 fmt:yuvj444p -> w:559 h:480 fmt:yuv420p flags:0x2
    [buffer @ 0x100d00230] Buffer video input changed from size:559x480 fmt:yuvj444p to size:480x480 fmt:yuvj420p
    [scale @ 0x100d023a0] w:480 h:480 fmt:yuvj420p -> w:559 h:480 fmt:yuv420p flags:0x2
    [buffer @ 0x100d00230] Buffer video input changed from size:480x480 fmt:yuvj420p to size:559x480 fmt:yuvj444p
    [scale @ 0x100d023a0] w:559 h:480 fmt:yuvj444p -> w:559 h:480 fmt:yuv420p flags:0x2
    [buffer @ 0x100d00230] Buffer video input changed from size:559x480 fmt:yuvj444p to size:480x480 fmt:yuvj420p
    [scale @ 0x100d023a0] w:480 h:480 fmt:yuvj420p -> w:559 h:480 fmt:yuv420p flags:0x2
    [buffer @ 0x100d00230] Buffer video input changed from size:480x480 fmt:yuvj420p to size:559x480 fmt:yuvj444p
    [scale @ 0x100d023a0] w:559 h:480 fmt:yuvj444p -> w:559 h:480 fmt:yuv420p flags:0x2
    frame=  100 fps= 35 q=24.8 Lsize=    1062kB time=00:00:10.00 bitrate= 870.2kbits/s    
    video:1060kB audio:0kB global headers:0kB muxing overhead 0.166586%