Recherche avancée

Médias (91)

Autres articles (41)

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • Batch Convert .264 files to any Video Format

    9 août 2022, par Reydan Gatchalian

    I've been trying to find a software that will batch convert .264 files to any video format. The source of the video files is from an IP Camera. I found a software from HiP2P Client that has a converter.exe but only converts 1 file at a time.

    


    enter image description here

    


    I tried checking if it can be run in the Command Line and just pass parameteres but it doesn't. Then I tried referrencing the DLL files included on the application but I got the error below.

    


    enter image description here

    


    Then I found ffmpeg (version : 2022-08-08-git-56973eb687-full_build-www.gyan.dev) and tried different commands but to no avail.

    


    ffmpeg -f h264 -i A220806_000015_000029.264 -c:v copy libx264 -an dest.avi


    


    enter image description here
enter image description here

    


    I also tried looking for libraries so I can develop it using C# but I still can't find a library that works.

    


    I also tried VLC just to play it but I can't even play the files.

    


  • Terminal : How to extract vobsub subtitles to bitmap images (jpg, png) ?

    5 août 2022, par DevonDahon

    How to extract image-based subtitles to bitmap images (jpg, png) ?

    


    I tried with ffmpeg, but it seems to work only with text-based subtitles.

    


    $ ffmpeg -i myvideo.mp4 -map "0:2" output.bre.srt
ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myvideo.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: mp42iso2avc1mp41
    creation_time   : 2022-08-03T21:58:07.000000Z
    encoder         : HandBrake 1.5.1 2022011000
  Duration: 00:11:05.40, start: 0.000000, bitrate: 1635 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt470bg, progressive), 712x576 [SAR 16:15 DAR 178:135], 1454 kb/s, 25 fps, 25 tbr, 90k tbn (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](bre): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 162 kb/s (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Stereo
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](bre): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 6 kb/s (default)
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Brezhoneg
  Stream #0:3[0x4](fra): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 6 kb/s
    Metadata:
      creation_time   : 2022-08-03T21:58:07.000000Z
      handler_name    : Français
Error initializing output stream 0:0 -- Subtitle encoding currently only possible from text to text or bitmap to bitmap
Stream mapping:
  Stream #0:2 -> #0:0 (dvd_subtitle (dvdsub) -> subrip (srt))
    Last message repeated 1 times


    


  • How to convert video formats of av3 to wmv/mpeg using FFMPEG

    5 août 2022, par Nandha

    I'm trying to convert a av3 format video into wmv format to allow it be playable in web browser. To do the conversion I'm using FFMPEG to create thumbnail & low res wmv file. But I'm getting the below errors. I have the AVHash for the video file as well.

    


    Video codec using MediaInfo

    


    


    FFMPEG version & libraries

    


    


    Followings are the different options I tried,

    


    1st command


    

    

    [root@dems-otmm Installer]# ffmpeg -i oja00039_20191218070243e0_20191218070113_01_000v.av3 -f framehash out.sha256
ffmpeg version 4.2.6 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] invalid STSD entries 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] error reading header
oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input

    


    


    



    2nd command

    


    

    

    [root@dems-otmm Installer]# ffmpeg -loglevel warning -y -i oja00039_20191218070243e0_20191218070113_01_000v.av3 -r 1/10 -vf scale='min(500,iw)':-2 -f image2 oja00039_20191218070243e0_20191218070113_01_000v%4d.jpg -vf scale='min(640,iw)':-2 -r 29.97 -b:v 800000 -b:a 96000 -ar 48000 oja00039_20191218070243e0_20191218070113_01_000v.wmv
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] invalid STSD entries 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] error reading header
oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input
[root@dems-otmm Installer]#

    


    


    



    And few others, but with everything I'm getting the same errors attached below,

    


    

    

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] invalid STSD entries 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5631fc2bd140] error reading header
oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input