Recherche avancée

Médias (91)

Autres articles (75)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (10209)

  • ffmpeg image to video sequence stops after 10

    18 mai 2012, par Jim

    Probably a fast anwser, but my first time trying to do this. I have 77 jpeg pictures, I have renamed them to be 000.jpg - 076.jpg. The next step is using ffmpeg and here is my command statement :

    ffmpeg -f image2 -r .1 -i %d.jpg -r 25 test.avi

    It creates an avi with 10 images for 10seconds each, why only 10 ? I've tried other iterations of %d.jpg in the ffmpeg command with no success.

    thanks for the help all !

    -Jim

    Here is the listing of the directory with the images :

    ls -l
    total 77472
    -rwxr-xr-x 1 jim jim 2329065 May 17 16:31 000.jpg
    -rwxr-xr-x 1 jim jim  716563 May 17 16:31 001.jpg
    -rwxr-xr-x 1 jim jim  716626 May 17 16:31 002.jpg
    -rwxr-xr-x 1 jim jim  726686 May 17 16:31 003.jpg
    -rwxr-xr-x 1 jim jim  739312 May 17 16:31 004.jpg
    -rwxr-xr-x 1 jim jim  720249 May 17 16:31 005.jpg
    -rwxr-xr-x 1 jim jim  666757 May 17 16:31 006.jpg
    -rwxr-xr-x 1 jim jim  656259 May 17 16:31 007.jpg
    -rwxr-xr-x 1 jim jim  664960 May 17 16:31 008.jpg
    -rwxr-xr-x 1 jim jim  740801 May 17 16:31 009.jpg
    -rwxr-xr-x 1 jim jim  882502 May 17 16:31 010.jpg
    -rwxr-xr-x 1 jim jim  631117 May 17 16:31 011.jpg
    -rwxr-xr-x 1 jim jim  730331 May 17 16:31 018.jpg
    -rwxr-xr-x 1 jim jim  725132 May 17 16:31 019.jpg
    -rwxr-xr-x 1 jim jim  729626 May 17 16:31 020.jpg
    -rwxr-xr-x 1 jim jim  731980 May 17 16:31 021.jpg
    -rwxr-xr-x 1 jim jim  671597 May 17 16:31 022.jpg
    -rwxr-xr-x 1 jim jim  681978 May 17 16:31 023.jpg
    -rwxr-xr-x 1 jim jim  686600 May 17 16:31 024.jpg
    -rwxr-xr-x 1 jim jim  675316 May 17 16:31 025.jpg
    -rwxr-xr-x 1 jim jim  681826 May 17 16:31 026.jpg
    -rwxr-xr-x 1 jim jim  740998 May 17 16:31 027.jpg
    -rwxr-xr-x 1 jim jim  568480 May 17 16:31 028.jpg
    -rwxr-xr-x 1 jim jim  747400 May 17 16:31 029.jpg
    -rwxr-xr-x 1 jim jim  630995 May 17 16:31 030.jpg
    -rwxr-xr-x 1 jim jim  689926 May 17 16:31 031.jpg
    -rwxr-xr-x 1 jim jim  685054 May 17 16:31 032.jpg
    -rwxr-xr-x 1 jim jim  710620 May 17 16:31 033.jpg
    -rwxr-xr-x 1 jim jim  658365 May 17 16:31 034.jpg
    -rwxr-xr-x 1 jim jim  657037 May 17 16:31 035.jpg
    -rwxr-xr-x 1 jim jim  772135 May 17 16:31 036.jpg
    -rwxr-xr-x 1 jim jim  741759 May 17 16:31 037.jpg
    -rwxr-xr-x 1 jim jim  807470 May 17 16:31 038.jpg
    -rwxr-xr-x 1 jim jim  748423 May 17 16:31 039.jpg
    -rwxr-xr-x 1 jim jim  712377 May 17 16:31 040.jpg
    -rwxr-xr-x 1 jim jim  715804 May 17 16:31 041.jpg
    -rwxr-xr-x 1 jim jim  701025 May 17 16:31 042.jpg
    -rwxr-xr-x 1 jim jim  759446 May 17 16:31 043.jpg
    -rwxr-xr-x 1 jim jim  621801 May 17 16:31 044.jpg
    -rwxr-xr-x 1 jim jim  720843 May 17 16:31 045.jpg
    -rwxr-xr-x 1 jim jim  704002 May 17 16:31 046.jpg
    -rwxr-xr-x 1 jim jim  696075 May 17 16:31 047.jpg
    -rwxr-xr-x 1 jim jim  723685 May 17 16:31 048.jpg
    -rwxr-xr-x 1 jim jim  732332 May 17 16:31 049.jpg
    -rwxr-xr-x 1 jim jim  747235 May 17 16:31 050.jpg
    -rwxr-xr-x 1 jim jim  883655 May 17 16:31 051.jpg
    -rwxr-xr-x 1 jim jim 1750723 May 17 16:31 052.jpg
    -rwxr-xr-x 1 jim jim 1002588 May 17 16:31 053.jpg
    -rwxr-xr-x 1 jim jim  540666 May 17 16:31 054.jpg
    -rwxr-xr-x 1 jim jim 1876002 May 17 16:31 055.jpg
    -rwxr-xr-x 1 jim jim 1893761 May 17 16:31 056.jpg
    -rwxr-xr-x 1 jim jim 1979442 May 17 16:31 057.jpg
    -rwxr-xr-x 1 jim jim 1766249 May 17 16:31 058.jpg
    -rwxr-xr-x 1 jim jim 2085989 May 17 16:31 059.jpg
    -rwxr-xr-x 1 jim jim  883871 May 17 16:31 060.jpg
    -rwxr-xr-x 1 jim jim  755714 May 17 16:31 061.jpg
    -rwxr-xr-x 1 jim jim  797146 May 17 16:31 062.jpg
    -rwxr-xr-x 1 jim jim 2431531 May 17 16:31 065.jpg
    -rwxr-xr-x 1 jim jim 2413333 May 17 16:31 066.jpg
    -rwxr-xr-x 1 jim jim 2449278 May 17 16:31 067.jpg
    -rwxr-xr-x 1 jim jim 2458183 May 17 16:31 068.jpg
    -rwxr-xr-x 1 jim jim 2514419 May 17 16:31 069.jpg
    -rwxr-xr-x 1 jim jim 2477737 May 17 16:31 070.jpg
    -rwxr-xr-x 1 jim jim 2471347 May 17 16:31 071.jpg
    -rwxr-xr-x 1 jim jim 2384936 May 17 16:31 072.jpg
    -rwxr-xr-x 1 jim jim 2459983 May 17 16:31 073.jpg
    -rwxr-xr-x 1 jim jim 2501286 May 17 16:31 074.jpg
    -rwxr-xr-x 1 jim jim 2367710 May 17 16:31 075.jpg
    -rwxr-xr-x 1 jim jim 2455564 May 17 16:31 076.jpg

    FFMPEG Command and OUTPUT :

    ffmpeg -v verbose -f image2 -r .1 -i %03d.jpg -r 25 test.avi
    ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
     built on Mar 22 2012 05:09:06 with gcc 4.6.3
     configuration: --extra-version='4:0.8.1-0ubuntu1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
     avutil      configuration: --extra-version='4:0.8.1ubuntu1+medibuntu1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfreetype --enable-vaapi --enable-libopenjpeg --enable-libfaac --enable-nonfree --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
     avcodec     configuration: --extra-version='4:0.8.1ubuntu1+medibuntu1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfreetype --enable-vaapi --enable-libopenjpeg --enable-libfaac --enable-nonfree --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
     libavutil    51. 22. 1 / 51. 22. 1
     libavcodec   53. 35. 0 / 53. 35. 0
     libavformat  53. 21. 0 / 53. 21. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 15. 0 /  2. 15. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  52.  0. 0 / 52.  0. 0
    This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
    [image2 @ 0x1bef9c0] max_analyze_duration reached

    Seems stream 0 codec frame rate differs from container frame rate: 0.10 (1/10) -> 0.50 (1/2)
    Input #0, image2, from '%03d.jpg':
     Duration: 00:02:00.00, start: 0.000000, bitrate: N/A
       Stream #0.0: Video: mjpeg, yuvj440p, 1920x2560, 0.10 fps, 0.50 tbr, 0.10 tbn, 0.10 tbc
    File 'test.avi' already exists. Overwrite ? [y/N] y
    Incompatible pixel format 'yuvj440p' for codec 'mpeg4', auto-selecting format 'yuv420p'
    [buffer @ 0x1bf0100] w:1920 h:2560 pixfmt:yuvj440p
    [avsink @ 0x1bf13c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x1bf1ae0] w:1920 h:2560 fmt:yuvj440p -> w:1920 h:2560 fmt:yuv420p flags:0x4
    Output #0, avi, to 'test.avi':
     Metadata:
       ISFT            : Lavf53.21.0
       Stream #0.0: Video: mpeg4, yuv420p, 1920x2560, q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    [buffer @ 0x1bf0100] Changing frame properties on the fly is not supported.
       Last message repeated 10 times
    frame=    1 fps=  0 q=5.7 Lsize=      97kB time=0.04 bitrate=19823.2kbits/s    
    video:91kB audio:0kB global headers:0kB muxing overhead 6.106282%

    Now test.avi is only 99Kbs and doesn't play anything.

  • Anomalie #2668 : MediaBox

    6 mai 2012, par marcimat -

    Ah oui, si j’en crois http://www.jacklmoore.com/colorbox il faut que la description ’current’ (transmis par ’boxstr_current’ en question) contienne les chaines current et total qui seront remplacé par colorbox par leurs valeurs. Du coup, les traduire n’a pas de sens et crée un (...)

  • Decoding RIMM streaming file format

    10 septembre 2011, par Thomas

    I want to decode the video (visual) frames within a Blackberry RIMM file. So far I have a parser, and some corresponding container documentation from RIM. 

    The video codec is H264 and is explicitly set on the device using one of the video.encodings properties. However, FFMPEG is not able to decode the frames and this is driving me nuts.

    Edit 1 : The issues seems to be lack of SPS and PPS in the frames, and artificially inserting them have proven unsuccessful so far (all grey image). Blackberry 9700 sends

    0x00 0x00 0x ?? 0x ?? 0xType

    where Type is according to table 7-1 in the H264 spec (I and P frames). We believe the 0x ?? 0x ?? represent the size of the frame, however the size does not always correspond to the size found by the parser (the parser seems to be working correctly).

    I have a windows decoder codec from blackberry, called mc_demux_mp2_ds.ax, and can play some MPEG-4 files captured the same way, but it is a binary for windows. And the H264 files will not play either way. I am aware of previous attempts. The capture url for javax.microedition.media.Manager is

    encoding=video-3gpp_width=176_height=144_video_codec=H264_audio_codec=AAC

    and I am writing to an output stream. Some example files here.

    Edit 2 :Turns out that about 3-4 of the 12-15 available video capture modes are flat out failing and refusing to output data, even in the simplest of test applications. So any working solution should implement MPEG-4, H264 and H263 in both AMR and AAC, in so getting fallback alternatives when one sound codec and/or resolution fails. Reboots, hangs and what not litters the Blackberry video implementation and vary from firmware to firmware ; total suckage.