Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (55)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (4618)

  • Can I keep a persistent RTP connection in Python3 which forwards incoming mpegts segment files ?

    20 novembre 2024, par Eric Liang

    I've been experimenting with ways to implement an live-streaming HTTP server in Python 3.13 (GIL-disabled) which gradually receives .ts segment files every 1 second in order through PUT requests, saves them temporarily and locally, and delivers the segment files in the same order to a destination which accepts .ts segment files, necessarily through a single persistent connection to the destination.

    &#xA;

    I have started trying it out with RTP as the protocol, but I've been struggling to keep the connection alive with ffmpeg as I seem to only be able to send 1 segment at a time (which requires a connection restart every time), or send all at once through concat demuxer. I've also experimented with the input to ffmpeg as a pipe, but that also seems to close immediately upon flushing the pipe with new input once. Other specs include not needing to re-encode so using the option -c copy is fine, the connection should persist even if idle, and I cannot use HLS push to the destination.

    &#xA;

    Is there a way to do this ? (Lastly, because it's GIL-disabled, I also want to leverage that feature to minimize latency.)

    &#xA;

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

    &#xA;

    Video codec using MediaInfo

    &#xA;

    &#xA;

    FFMPEG version & libraries

    &#xA;

    &#xA;

    Followings are the different options I tried,

    &#xA;

    1st command&#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    [root@dems-otmm Installer]# ffmpeg -i oja00039_20191218070243e0_20191218070113_01_000v.av3 -f framehash out.sha256&#xA;ffmpeg version 4.2.6 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  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=&#x27;-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&#x27; --extra-ldflags=&#x27;-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld &#x27; --extra-cflags=&#x27; &#x27; --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&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] invalid STSD entries 0&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564ccd01ef00] error reading header&#xA;oja00039_20191218070243e0_20191218070113_01_000v.av3: Invalid data found when processing input

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    2nd command

    &#xA;

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

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

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

    &#xA;

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

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

  • How to change ffmpeg -threads settings [migrated]

    5 août 2014, par Jacob

    Working on a tube site. I’m running videos through ffmpeg on a linux dedicated server to convert to mp4.

    The server specs :

    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                8
    On-line CPU(s) list:   0-7
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 60
    Stepping:              3
    CPU MHz:               3491.749
    BogoMIPS:              6983.49
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              8192K
    NUMA node0 CPU(s):     0-7

    Issue during testing is that even only doing 4-5 at once, the server load skyrockets to an average of around 36. This is just a single person. I imagine when it opens, many people will be uploading at once.

    It seems ffmpeg tries to use all the resources available per conversion.

    I’ve heard there’s a -threads setting you can change, but I cannot find it. I have an 8 cpu server. It’s only used for conversions, so I’ve heard the best setting would be between 2 and 4. I can test it out.

    But how do I change this setting ? Everything I see online discusses this setting, but not the steps to change it.