Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (48)

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

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7096)

  • Applying fades between images ffmpeg command

    29 octobre 2015, par Jon Stevens

    I am trying to create a video slideshow that fade out/in between each image solely from an ffmpeg cli command. After researching this for hours, the only way I discovered that this was possible was to use the -filter_complex argument and pass in all images and specify a complex filter that defines multiple fades out and back in that I could time to happen between frames. The command I have so far :

    ffmpeg -y -framerate 1/5 \
    -loop 1 -i img-1.jpg \
    -loop 1 -i img-2.jpg \
    -loop 1 -i img-3.jpg \
    -filter_complex \
    "[1:v]fade=out:4:d=1,fade=in:5:d=1[fad1]; \
    [2:v]fade=out:9:d=1,fade=in:10:d=1[fad2]; \
    [3:v]fade=out:14:d=1,fade=in:15:d=1[fad3];" \
    -c:v libx264 -r 25 -pix_fmt yuv420p test.mp4

    Here’s the output from executing this command :

    ffmpeg version 2.6.4 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, image2, from img-1.jpg':
     Duration: 00:00:05.00, start: 0.000000, bitrate: 141 kb/s
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 72:72 DAR 16:9], 0.20 fps, 0.20 tbr, 0.20 tbn, 0.20 tbc
    Input #1, image2, from img-2.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 17789 kb/s
       Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 67:67 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Input #2, image2, from 'img-3.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 17764 kb/s
       Stream #2:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 62:62 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [AVFilterGraph @ 0xbc2a00] No such filter: ''
    Error configuring filters.

    All I am trying to do is create a video slideshow with fades/transitions between images. Any help is greatly appreciated !

  • Unable to playback .mp4 audio file in Firefox, works in Chrome

    22 octobre 2015, par SpartanVXL

    I have been trying to play a file through Firefox to see if it is compatible for a website and cannot figure out why it cannot play whereas it will play on Chrome okay. It simply shows a error box that the "video cannot be played because the file is corrupt". I’ve trawled through information on .mp4 files and Firefox’s supported codec types but have not found much aside from recent posts on how FF should be able to play this content in 2015. Here is a ffprobe of the file.

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'two.mp4':
    Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: M4A mp42isom
       creation_time   : 2015-08-06 08:17:05
       encoder         : Nero AAC codec / 1.5.4.0
       Duration        : 00:03:28.77, start: 0.000000, bitrate: 131 kb/s
       Chapter #0:0    : start 0.027333, end 208.768000
       Metadata:
         title           :
       Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 96000 Hz, stereo, flt p, 128 kb/s (default)

    Any reason why this local file wouldn’t play through FF on Windows 41.0.2 ?

  • ffmpeg creating mp4 vs mp4

    23 octobre 2015, par user1207446

    I have two mp4 files. One of them was given to me and plays well under mediawiki (using the MediawikiPlayer extension). The other I created from a WMV file and it does not play. When I look at the two files through the eyes of ffprobe, they appear to be very different. The working file returns this :

    Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42isomavc1
     creation_time   : 2013-12-28 20:25:51
     encoder         : HandBrake 0.9.9 2013052900
    Duration: 00:00:17.05, start: 0.000000, bitrate: 957 kb/s
     Chapter #0:0: start -0.066733, end 17.017000
     Metadata:
       title           : Chapter 1
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 704x480 [SAR 10:11 DAR 4:3], 824 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
     Metadata:
       creation_time   : 2013-12-28 20:25:51
       encoder         : JVT/AVC Coding
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
     Metadata:
       creation_time   : 2013-12-28 20:25:51
     Stream #0:2(und): Subtitle: mov_text (text / 0x74786574), 0 kb/s
     Metadata:
       creation_time   : 2013-12-28 20:25:51

    The non-working produces this :

    Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf55.0.100
    Duration: 00:05:25.79, start: 0.033333, bitrate: 1331 kb/s
     Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 704x528 [SAR 1:1 DAR 4:3], 1198 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
     Metadata:
       handler_name    : SoundHandler

    What ffmpeg options do I need to supply to convert my wmv file to an mp4 file like the first of those listed here (the working one) ?

    Update : 2015-10-23, here is the full output from ffmpeg for the non-working file :

    E:\>ffmpeg -i non-working.mp4
    ffmpeg version N-71329-g235589e Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblu
    ray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena
    ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
    ble-decklink --enable-zlib
     libavutil      54. 22.101 / 54. 22.101
     libavcodec     56. 34.100 / 56. 34.100
     libavformat    56. 30.100 / 56. 30.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 13.101 /  5. 13.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'non-working.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       encoder         : Lavf55.0.100
     Duration: 00:10:12.94, start: 0.033333, bitrate: 1324 kb/s
       Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 704x528 [SAR 1:1 DAR 4:3], 1191 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    At least one output file must be specified