Recherche avancée

Médias (91)

Autres articles (26)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4424)

  • What codec do I need to convert .wav to .mp3 with ffmpeg ?

    19 septembre 2011, par LedZeppelin

    I am able to convert from .mp3 files to .wav files.

    me@me-desktop:~$ ffmpeg -i Desktop/input.mp3 Desktop/output.wav
    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 1 / 52.20. 1
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Mar 31 2011 18:53:20, gcc: 4.4.3
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 0
       Last message repeated 1 times
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 1
       Last message repeated 1 times
    Input #0, mp3, from 'Desktop/input.mp3':
     Duration: 00:04:45.31, start: 0.000000, bitrate: 256 kb/s
       Stream #0.0: Audio: mp3, 48000 Hz, stereo, s16, 256 kb/s
    Output #0, wav, to 'Desktop/output.wav':
       Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop encoding
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 0
       Last message repeated 1 times
    [mp3 @ 0x9449510]mdb:511, lastbuf:0 skipping granule 1
    size=   42944kB time=229.03 bitrate=1536.0kbits/s    
    video:0kB audio:42944kB global headers:0kB muxing overhead 0.000100%

    However when I try to convert the same .wav file back to an .mp3 I get the following error : Unsupported codec for output stream #0.0

    me@me-desktop:~$ ffmpeg -i Desktop/output.wav Desktop/output2.mp3
    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --extra-version=4:0.5.1-1ubuntu1.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 1 / 52.20. 1
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Mar 31 2011 18:53:20, gcc: 4.4.3
    Input #0, wav, from 'Desktop/output.wav':
     Duration: 00:03:49.03, bitrate: 1536 kb/s
       Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Output #0, mp3, to 'Desktop/output2.mp3':
       Stream #0.0: Audio: 0x0000, 48000 Hz, stereo, s16, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
    Unsupported codec for output stream #0.0

    I've already tried installing unstripped-51 per a suggestion from a previous question but I am still unable to convert from .wav to .mp3

  • Revision 4664b219a2 : vp9_ratectrl : change ARF overlays rate correction factor ARF overlays now use t

    6 avril 2014, par Guillaume Martres

    Changed Paths :
     Modify /vp9/encoder/vp9_ratectrl.c



    vp9_ratectrl : change ARF overlays rate correction factor

    ARF overlays now use the same rate correction factor as regular inter
    frames, further testing would be needed to see if it makes sense to use
    a completely separate rate correction factor for ARF overlays.

    $ vpxenc —cpu-used=5 —fps=50/1 —target-bitrate=2000
    parkjoy.y4m -o out.webm
    => Before : 3356 kb/s
    => After : 2271 kb/s

    Change-Id : I73e4defa615ba7a8a2bdb845864f4b1721cbbffe

  • ffmpeg trying to remove the first few seconds of video

    21 octobre 2011, par zeroasterisk

    I'm trying to remove a few seconds off the front of a video stream (audio already excluded), and I'm getting strange results : I would think that for every second I increase -ss by, the resulting file would be a second shorter... that doesn't seem to be the case.

    original     ==> 01:04:52.84
    -ss 19       ==> 01:04:42.84 (diff = 10) [command history shown below]
    -ss 20       ==> 01:04:32.84 (diff = 20) [command history shown below]
    -ss 21       ==> 01:04:32.84 (diff = 20)
    -ss 25       ==> 01:04:32.84 (diff = 20)
    -ss 0:0:25.0 ==> 01:04:32.84 (diff = 20)
    -ss 0:0:25.5 ==> 01:04:32.84 (diff = 20) [command history shown below]

    Command : ffmpeg -ss # -i temp.mp4 -y -vcodec copy  temp_croppedFromStart.mp4

    Here's the command history for 19 & 20

    # ffmpeg -ss 19 -i temp.mp4 -y -vcodec copy  temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
    ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 10 2011 21:25:11 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    51. 11. 1 / 51. 11. 1
     libavcodec   53. 10. 0 / 53. 10. 0
     libavformat  53.  6. 0 / 53.  6. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 28. 1 /  2. 28. 1
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
       Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Output #0, mp4, to 'temp_croppedFromStart.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
       Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    frame=97071 fps=42523 q=-1.0 Lsize=  262684kB time=01:04:33.84 bitrate= 555.5kbits/s
    video:261923kB audio:0kB global headers:0kB muxing overhead 0.290418%
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
     Duration: 01:04:42.84, start: 0.000000, bitrate: 554 kb/s


    # ffmpeg -ss 20 -i temp.mp4 -y -vcodec copy  temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
    ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 10 2011 21:25:11 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    51. 11. 1 / 51. 11. 1
     libavcodec   53. 10. 0 / 53. 10. 0
     libavformat  53.  6. 0 / 53.  6. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 28. 1 /  2. 28. 1
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
       Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Output #0, mp4, to 'temp_croppedFromStart.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
       Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    frame=96821 fps=47168 q=-1.0 Lsize=  262003kB time=01:04:32.84 bitrate= 554.2kbits/s
    video:261244kB audio:0kB global headers:0kB muxing overhead 0.290410%
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
     Duration: 01:04:32.84, start: 0.000000, bitrate: 554 kb/s

    # ffmpeg -ss 0:0:25.5 -i temp.mp4 -y -vcodec copy  temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
    ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 10 2011 21:25:11 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    51. 11. 1 / 51. 11. 1
     libavcodec   53. 10. 0 / 53. 10. 0
     libavformat  53.  6. 0 / 53.  6. 0
     libavdevice  53.  2. 0 / 53.  2. 0
     libavfilter   2. 28. 1 /  2. 28. 1
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
       Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Output #0, mp4, to 'temp_croppedFromStart.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 1970-01-01 00:00:00
       encoder         : Lavf53.6.0
       Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    frame=96821 fps=45920 q=-1.0 Lsize=  262003kB time=01:04:27.32 bitrate= 555.0kbits/s
    video:261244kB audio:0kB global headers:0kB muxing overhead 0.290424%
     Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
     Duration: 01:04:32.84, start: 0.000000, bitrate: 554 kb/s