Recherche avancée

Médias (91)

Autres articles (64)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (4791)

  • calculate the real duration time of a broken movie with ffmpeg/ffprobe

    26 octobre 2012, par jAckOdE

    I have a broken video file that its ffprobe (ffprobe -i movie.mkv) say its duration is about 2 hours, but the file contains only video data for first 8minutes (check by VLC Player).

    How can i get the real duration (8minutes) using ffmpeg or ffprobe ?

    here is the output :

    ffprobe version 0.7.13, Copyright (c) 2007-2011 the FFmpeg developers
     built on Aug  1 2012 21:08:35 with clang 3.1 (tags/Apple/clang-318.0.58)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libvpx --enable-libspeex --disable-libopencore-amrnb --disable-libopencore-amrwb --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil    50. 43. 0 / 50. 43. 0
     libavcodec   52.123. 0 / 52.123. 0
     libavformat  52.111. 0 / 52.111. 0
     libavdevice  52.  5. 0 / 52.  5. 0
     libavfilter   1. 80. 0 /  1. 80. 0
     libswscale    0. 14. 1 /  0. 14. 1
     libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 0x7f93dc01e600] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from &#39;Mission.mkv&#39;:
     Duration: 02:12:56.21, start: 0.000000, bitrate: 448 kb/s
       Stream #0.0: Video: mpeg4, yuv420p, 1280x528 [PAR 1:1 DAR 80:33], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
       Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
  • ffserver configuration vs ffmpeg parameters

    7 janvier 2015, par bogdanioan.gabor

    I’m not understanding which is the priority when you’re setting movflags (and other parameters) in the ffmpeg, but also into the ffserver.
    Example :

    I have the ffserver configuration like that :

    Port 8080
    BindAddress 0.0.0.0
    MaxHTTPConnections 10
    MaxClients 10
    MaxBandwidth 40000

    <feed>
       File /tmp/feed.ffm
       Feed feed.ffm

       VideoCodec libx264
       AVOptionVideo flags +global_header
       AVOptionVideo movflags faststart+frag_key_frame+empty_moov

       NoAudio
    </feed>

    And the ffmpeg command :

    ffmpeg -rtsp_transport tcp -i "rtsp://x.x.x.x" -an -vcodec copy -movflags faststart+frag_keyframe+empty_moov "http://127.0.0.1:8080/feed.ffm"

    Questions :
    1. Which one has precedence : the parameters from the ffmpeg, or the one from ffserver.
    2. I’m using ffprobe for testing the stream which comes from ffserver. I’ve used faststart, but I’m still getting the "moov atom not found" error ; shouldn’t faststart flag move the moov atom to beginning ?

    More info :

    ffserver version :

    ffserver version 2.3.4 Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec  4 2014 09:23:21 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
    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 -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-gnutls --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --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      52. 92.100 / 52. 92.100
    libavcodec     55. 69.100 / 55. 69.100
    libavformat    55. 48.100 / 55. 48.100
    libavdevice    55. 13.102 / 55. 13.102
    libavfilter     4. 11.100 /  4. 11.100
    libavresample   1.  3.  0 /  1.  3.  0
    libswscale      2.  6.100 /  2.  6.100
    libswresample   0. 19.100 /  0. 19.100
    libpostproc    52.  3.100 / 52.  3.100

    ffmpeg version :

    ffmpeg version 2.3.4 Copyright (c) 2000-2014 the FFmpeg developers
    built on Dec  4 2014 09:23:21 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
    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 -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-gnutls --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --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      52. 92.100 / 52. 92.100
    libavcodec     55. 69.100 / 55. 69.100
    libavformat    55. 48.100 / 55. 48.100
    libavdevice    55. 13.102 / 55. 13.102
    libavfilter     4. 11.100 /  4. 11.100
    libavresample   1.  3.  0 /  1.  3.  0
    libswscale      2.  6.100 /  2.  6.100
    libswresample   0. 19.100 /  0. 19.100
    libpostproc    52.  3.100 / 52.  3.100

    Thank you.

  • FFmpeg libxh264 error on Slackware current

    22 novembre 2021, par unixbhaskar

    Well, here are specs which gives you heads up before suggesting ...

    &#xA;

    bhaskar@Slackware_06:46:54_Sat Nov 20: :~>ffmpeg -codecs | grep h264&#xA;ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 11.2.0 (GCC)&#xA;  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-4.4.1/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-gpl --enable-version3 --enable-avresample --arch=x86_64 --disable-encoder=aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-libbluray --enable-libcaca --enable-libcdio --enable-frei0r --enable-openal --enable-libopus --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libmp3lame --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libxml2 --enable-librsvg --enable-libdrm&#xA;  libavutil      56. 70.100 / 56. 70.100&#xA;  libavcodec     58.134.100 / 58.134.100&#xA;  libavformat    58. 76.100 / 58. 76.100&#xA;  libavdevice    58. 13.100 / 58. 13.100&#xA;  libavfilter     7.110.100 /  7.110.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  9.100 /  5.  9.100&#xA;  libswresample   3.  9.100 /  3.  9.100&#xA;  libpostproc    55.  9.100 / 55.  9.100&#xA; DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m ) (encoders: h264_v4l2m2m h264_vaapi )&#xA;

    &#xA;

    Also

    &#xA;

    ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 11.2.0 (GCC)&#xA;  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-4.4.1/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-gpl --enable-version3 --enable-avresample --arch=x86_64 --disable-encoder=aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-libbluray --enable-libcaca --enable-libcdio --enable-frei0r --enable-openal --enable-libopus --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libmp3lame --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libxml2 --enable-librsvg --enable-libdrm&#xA;  libavutil      56. 70.100 / 56. 70.100&#xA;  libavcodec     58.134.100 / 58.134.100&#xA;  libavformat    58. 76.100 / 58. 76.100&#xA;  libavdevice    58. 13.100 / 58. 13.100&#xA;  libavfilter     7.110.100 /  7.110.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  9.100 /  5.  9.100&#xA;  libswresample   3.  9.100 /  3.  9.100&#xA;  libpostproc    55.  9.100 / 55.  9.100&#xA;Guessed Channel Layout for Input Stream #0.0 : stereo&#xA;Input #0, alsa, from &#x27;pulse&#x27;:&#xA;  Duration: N/A, start: 1637371168.782400, bitrate: 1536 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s&#xA;[x11grab @ 0x87db00] Stream #0: not enough frames to estimate rate; consider increasing probesize&#xA;Input #1, x11grab, from &#x27;:0&#x27;:&#xA;  Duration: N/A, start: 1637371168.825367, bitrate: 839270 kb/s&#xA;  Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 839270 kb/s, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc&#xA;Unknown encoder &#x27;libx264&#x27;&#xA;

    &#xA;

    And ..

    &#xA;

    bhaskar@Slackware_06:50:02_Sat Nov 20: :~>uname -a&#xA;Linux Slackware 5.15.1-Slackware #1 SMP Sun Nov 7 10:48:30 IST 2021 x86_64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz GenuineIntel GNU/Linux&#xA;bhaskar@Slackware_06:50:04_Sat Nov 20: :~>cat /etc/os-release&#xA;───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────&#xA;       │ File: /etc/os-release&#xA;───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────&#xA;   1   │ NAME=Slackware&#xA;   2   │ VERSION="15.0"&#xA;   3   │ ID=slackware&#xA;   4   │ VERSION_ID=15.0&#xA;   5   │ PRETTY_NAME="Slackware 15.0 x86_64"&#xA;   6   │ ANSI_COLOR="0;34"&#xA;   7   │ CPE_NAME="cpe:/o:slackware:slackware_linux:15.0"&#xA;   8   │ HOME_URL="http://slackware.com/"&#xA;   9   │ SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"&#xA;  10   │ BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"&#xA;  11   │ VERSION_CODENAME=stable&#xA;

    &#xA;

    Wondering .....when try to build it like mentioned in this place :

    &#xA;

    https://www.linuxquestions.org/questions/slackware-14/ffmpeg-unknown-encoder-%27libx264%27-4175677695/#post6140669

    &#xA;

    Am I the only one , who failed to understand ,why the heck is not detecting ??

    &#xA;

    Also,

    &#xA;

    root@Slackware_06:52:59_Sat Nov 20:~#ldconfig -p | grep libxh264&#xA;root@Slackware_06:53:12_Sat Nov 20:~#ldconfig -p | grep h264&#xA;root@Slackware_06:54:18_Sat Nov 20:~#ls /usr/lib64/libxh2*&#xA;ls: cannot access &#x27;/usr/lib64/libxh2*&#x27;: No such file or directory&#xA;root@Slackware_06:54:46_Sat Nov 20:~#ls /usr/lib/libx2*&#xA;ls: cannot access &#x27;/usr/lib/libx2*&#x27;: No such file or directory&#xA;

    &#xA;

    Finally....also

    &#xA;

    bhaskar@Slackware_06:56:58_Sat Nov 20: :~>ffmpeg -encoders | grep h264&#xA;ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 11.2.0 (GCC)&#xA;  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-4.4.1/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-gpl --enable-version3 --enable-avresample --arch=x86_64 --disable-encoder=aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-libbluray --enable-libcaca --enable-libcdio --enable-frei0r --enable-openal --enable-libopus --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libmp3lame --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libpulse --enable-libsmbclient --enable-libxml2 --enable-librsvg --enable-libdrm&#xA;  libavutil      56. 70.100 / 56. 70.100&#xA;  libavcodec     58.134.100 / 58.134.100&#xA;  libavformat    58. 76.100 / 58. 76.100&#xA;  libavdevice    58. 13.100 / 58. 13.100&#xA;  libavfilter     7.110.100 /  7.110.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  9.100 /  5.  9.100&#xA;  libswresample   3.  9.100 /  3.  9.100&#xA;  libpostproc    55.  9.100 / 55.  9.100&#xA; V..... h264_v4l2m2m         V4L2 mem2mem H.264 encoder wrapper (codec h264)&#xA; V....D h264_vaapi           H.264/AVC (VAAPI) (codec h264)&#xA;

    &#xA;

    Greatly appreciated if you come close or pinpoint the reason.

    &#xA;

    Thanks.

    &#xA;