Recherche avancée

Médias (91)

Autres articles (83)

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

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (7242)

  • ffmpeg failing to convert

    27 mars 2014, par Daniel7912

    I am using the following command to convert a mp4 on my server to webm as part of a Node.js script.

    var command = execSync('ffmpeg -i '+video+' -vpre libvpx-720p -cpu-used -5 -deadline realtime -b 3900k -an -f webm -y '+saveTo);

    When running the command in a regular terminal, it works fine. However, when running it as above using the execSync() node package, I get the following console output.

    Error: ffmpeg version 1.0.8 Copyright (c) 2000-2013 the FFmpeg developers
     built on Mar 27 2014 17:09:06 with gcc 4.7.3 (Gentoo 4.7.3-r1 p1.3, pie-0.5.5)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-
    g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cxxflags
    ='-O2 -pipe -march=native -fomit-frame-pointer' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-avresample --disable-stripp
    ing --disable-debug --disable-doc --disable-vaapi --disable-vdpau --disable-ffplay --disable-runtime-cpudetect --enable-libmp3lame --enable-libvo-aacenc --enable-libthe
    ora --enable-libfdk-aac --enable-nonfree --disable-indev=v4l2 --disable-indev=alsa --disable-indev=oss --disable-indev=jack --disable-outdev=alsa --disable-outdev=oss -
    -disable-outdev=sdl --enable-libvorbis --enable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmxext --disable-ssse3 --disab
    le-vis --disabl  libavutil      51. 73.101 / 51. 73.101
     libavcodec     54. 59.100 / 54. 59.100
     libavformat    54. 29.104 / 54. 29.104
     libavdevice    54.  2.101 / 54.  2.101
     libavfilter     3. 17.100 /  3. 17.100
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/to/video/input.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       creation_time   : 2013-08-24 21:58:35
       encoder         : HandBrake 0.9.9 2013051800
     Duration: 00:06:31.46, start: 0.000000, bitrate: 5092 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4919 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
         creation_time   : 2013-08-24 21:58:35
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 168 kb/s
       Metadata:
         creation_time   : 2013-08-24 21:58:35
    Please use -b:a or -b:v, -b is ambiguous
    [libvpx @ 0x7f0c40] v1.3.0
    Output #0, webm, to '/path/to/video/output.webm':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42isomavc1
       encoder         : Lavf54.29.104
       Stream #0:0(und): Video: vp8, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=11-51, 3900 kb/s, 1k tbn, 25 tbc
       encoder         : Lavf54.29.104                                                                                                                          [4009/9202]
       Stream #0:0(und): Video: vp8, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=11-51, 3900 kb/s, 1k tbn, 25 tbc
       Metadata:
         creation_time   : 2013-08-24 21:58:35
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libvpx)
    Press [q] to stop, [?] for help
    [h264 @ 0x8f42a0] AVC: nal size 3235393
       Last message repeated 1 times
    [h264 @ 0x8f42a0] no frame!
    [h264 @ 0x7be7e0] concealing 7123 DC, 7123 AC, 7123 MV errors in P frame
    [h264 @ 0x8f46c0] AVC: nal size 2572289
       Last message repeated 1 times
    [h264 @ 0x8f46c0] no frame!
    [h264 @ 0x8f4ae0] AVC: nal size 11559745
       Last message repeated 1 times
    [h264 @ 0x8f4ae0] no frame!
    [h264 @ 0x8f4f00] AVC: nal size 781975966
       Last message repeated 1 times
    [h264 @ 0x8f4f00] no frame!
    [h264 @ 0x7be7e0] AVC: nal size -1537130086
       Last message repeated 1 times
    [h264 @ 0x7be7e0] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x8f42a0] AVC: nal size -1303101030
       Last message repeated 1 times
    [h264 @ 0x8f42a0] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x8f46c0] AVC: nal size 833290655
       Last message repeated 1 times
    [h264 @ 0x8f46c0] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x8f4ae0] AVC: nal size -816365157
       Last message repeated 1 times
    [h264 @ 0x8f4ae0] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x8f4f00] AVC: nal size 776798623
       Last message repeated 1 times
    [h264 @ 0x8f4f00] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x7be7e0] AVC: nal size -824622693
       Last message repeated 1 times
    [h264 @ 0x7be7e0] no frame!
    Error while decoding stream #0:0: Operation not permitted
    [h264 @ 0x8f42a0] AVC: nal size 1276789151
    Error while decoding stream #0:0: Operation not permitted
    frame=    4 fps=0.0 q=0.0 Lsize=     107kB time=00:00:00.16 bitrate=5476.5kbits/s    
    video:106kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.473334%
    Received signal 2: terminating.

    The 'no frame' bits repeat several thousand times before it reaches the final section.

    Could someone tell me what's wrong ?

    Thanks for any help

  • ffmpeg extracts about 30 sec of audio and stops [on hold]

    30 mars 2014, par user2957951

    I'm trying to extract audio from an mp4 video stream. I use ffmpeg but it seems to stop after about 30 sec or so ! Ideally, I'd like to extract the audio as mp3, but ffmpeg crashes if I specify .mp3 as the file extension.

    Stream : http://vimeo.com/82975217

    Here is the command I use and the output I get :

    c:\>ffmpeg -i "http://av.vimeo.com/23628/941/105695865.mp4?token2=1396166650_12b
    05b5c828c98a2feec82fa76230f64&aksessionid=c18fdc4c061823af&ns=4" -vn -acodec cop
    y audiofile1.aac
    ffmpeg version N-59742-gd9481dc Copyright (c) 2000-2014 the FFmpeg developers
     built on Jan  9 2014 22:04:35 with gcc 4.8.2 (GCC)
     configuration: --disable-static --enable-shared --enable-gpl --enable-version3
    --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
    ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
    nable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-lib
    modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
    b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
    able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
    --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-
    libxvid --enable-zlib
     libavutil      52. 62.100 / 52. 62.100
     libavcodec     55. 47.101 / 55. 47.101
     libavformat    55. 22.103 / 55. 22.103
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     4.  1.100 /  4.  1.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://av.vimeo.com/23628/941/105695865
    .mp4?token2=1396166650_12b05b5c828c98a2feec82fa76230f64&aksessionid=c18fdc4c0618
    23af&ns=4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       creation_time   : 2012-06-29 21:30:28
     Duration: 01:05:34.86, start: 0.000000, bitrate: 594 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [
    SAR 1:1 DAR 16:9], 490 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2012-06-29 21:30:28
         handler_name    : GPAC ISO Video Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 99
    kb/s (default)
       Metadata:
         creation_time   : 2012-06-29 21:30:32
         handler_name    : GPAC ISO Audio Handler
    Output #0, adts, to 'audiofile1.aac':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1
       encoder         : Lavf55.22.103
       Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 99 kb/s
    (default)
       Metadata:
         creation_time   : 2012-06-29 21:30:32
         handler_name    : GPAC ISO Audio Handler
    Stream mapping:
     Stream #0:1 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    size=     344kB time=00:00:27.02 bitrate= 104.2kbits/s

    As you can see it just hangs after extracting the 1st 20-30 sec, and after about min or so, the window shuts down !

    Note : That extracting video (i.e. mp4 works great, but audio does not)

    Your help/insight are much appreciated !

    Cheers !

  • In FFMpeg Ubuntu “rtmp ://url live=1” not working

    13 juillet 2015, par Yuvraj Kakkar

    Trying to excute following ffmpeg command in ubuntu.

    *ffmpeg -i "rtmp://IP/live/1234 live=1" -f flv rtmp://IP/live/1234_56 *

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
     built on Apr  8 2014 13:15:21 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=/home/encoder/ffmpeg_build --extra-cflags=-I/home/encoder/ffmpeg_build/include --extra-ldflags=-L/home/encoder/ffmpeg_build/lib --bindir=/home/encoder/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
     libavutil      52. 74.100 / 52. 74.100
     libavcodec     55. 58.102 / 55. 58.102
     libavformat    55. 36.102 / 55. 36.102
     libavdevice    55. 11.100 / 55. 11.100
     libavfilter     4.  3.100 /  4.  3.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    [rtmp @ 0x3c5a140] Detected librtmp style URL parameters, these aren't supported by the libavformat internal RTMP handler currently enabled. See the documentation for the correct way to pass parameters.
    ^C[flv @ 0x3c59b00] Could not find codec parameters for stream 0 (Video: none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [flv @ 0x3c59b00] Could not find codec parameters for stream 1 (Audio: none, 0 channels): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    rtmp://IP/live/1234 live=1: could not find codec parameters
    Received signal 2: terminating.

    I have installed avserver (Libav) earlier to ffmpeg.Kindly suggest any alternative to live=1 or provide suggstion.