Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (2384)

  • Different container duration between ffmpeg versions which causes audio gaps

    4 septembre 2024, par blits

    I'm trying to make a looped RTMP stream from a single video (in this&#xA;example - YouTube), but starting with version 6.0 it introduces a gap in-between loops in the audio which is quite audible. Version before 6.0 (I&#xA;tried 5.1.6 and 4.4.2) work as expected and don't introduce any gaps.

    &#xA;

    The difference I spotted is that the master version (7.0.2) and the 5.1.6, for&#xA;example, report a different duration time. Is there any reason why that might happen ?

    &#xA;

    v5.1.6 :

    &#xA;

     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;demo-video.mp4&#x27;:&#xA;   Metadata:&#xA;     major_brand     : isom&#xA;     minor_version   : 512&#xA;     compatible_brands: isomiso2avc1mp41&#xA;     creation_time   : 2024-09-03T15:30:51.000000Z&#xA;     encoder         : Blackmagic Design DaVinci Resolve Studio&#xA;   Duration: 00:00:05.00, start: 0.000000, bitrate: 35440 kb/s&#xA;

    &#xA;

    v7.0.2 :

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;demo-video.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    creation_time   : 2024-09-03T15:30:51.000000Z&#xA;    encoder         : Blackmagic Design DaVinci Resolve Studio&#xA;  Duration: 00:00:05.01, start: 0.000000, bitrate: 35346 kb/s&#xA;  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 35240 kb/s, 24 fps, 24 tbr, 12288 tbn (default)&#xA;      Metadata:&#xA;        creation_time   : 2024-09-03T15:30:51.000000Z&#xA;        handler_name    : VideoHandler&#xA;        vendor_id       : [0][0][0][0]&#xA;        encoder         : H.264 NVIDIA&#xA;        timecode        : 01:00:00:00&#xA;

    &#xA;

    As you can see, v5.1.6 report duration of 00:00:05.00 (which is correct) and v7.0.2 is 00:00:05.01 (1ms longer), which is what I think is causing the issue (but I'm not so sure about that). The original file is 5 seconds long which is what can be checked by ffprobe as well, but some streams report a 00:05.01 duration time.

    &#xA;

    I tried to remedy this issue in many different ways by trimming the video/audio, using different flags, like -shortest, but that didn't help in any way - there's still a gap in the audio which is noticeable when looping the video. And like I said versions such as v5.1.6 work fine and there's no such gap.

    &#xA;

    I guess what changed between versions is how ffmpeg interprets these streams but in the end I spent 2 days trying to avoid gaps in audio when streaming and nothing helped.

    &#xA;

    How to reproduce :

    &#xA;

    You can just stream the video in any RTMP destination of your liking, like YouTube and observe that there would be gaps (audio break-ups) in between every 5 seconds (once video ends). Video is accessible through the link from the curl command

    &#xA;

    curl -o stream-audio-gap-issue.mp4 https://r2v.streamloop.app/obj_01j6y0pk83fy8vp06a9mmkkqah.mp4&#xA;ffmpeg -re -stream_loop -1 -i stream-audio-gap-issue.mp4 -c copy -f flv rtmp://a.rtmp.youtube.com/live2/[your-key]&#xA;

    &#xA;

    Expected : there are no gaps every 5 seconds, like in old versions of ffmpeg

    &#xA;

    Instead : there are tiny audio gaps which are quite noticable

    &#xA;

    ffprobe outputs is available on gist : https://gist.github.com/blitss/1e221b4fa8885b1df8ac2096746239cf

    &#xA;

    I'm looking for literally any workarounds that will help avoid audio gaps whilst still preserving the latest version of ffmpeg.

    &#xA;

  • ffmpeg -i desktop Output file does not contain any stream [closed]

    29 novembre 2024, par Antonio

    I'm trying to screen record a remote Windows VM machine which I'm accessing through ssh. I'm executing this command ffmpeg -f gdigrab -framerate 30 -i desktop -t 00:00:10 output.mp4 which is returning the following error :

    &#xA;

    ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 14.2.0 (Rev1, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --en&#xA;able-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libss&#xA;h --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lib&#xA;aom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enabl&#xA;e-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2&#xA;--enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme&#xA;--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --en&#xA;able-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;  libavutil      59. 39.100 / 59. 39.100&#xA;  libavcodec     61. 19.100 / 61. 19.100&#xA;  libavformat    61.  7.100 / 61.  7.100&#xA;  libavdevice    61.  3.100 / 61.  3.100&#xA;  libavfilter    10.  4.100 / 10.  4.100&#xA;  libswscale      8.  3.100 /  8.  3.100&#xA;  libswresample   5.  3.100 /  5.  3.100&#xA;  libpostproc    58.  3.100 / 58.  3.100&#xA;[gdigrab @ 000001a87f3af600] Capturing whole desktop as 1024x768x32 at (0,0)&#xA;[gdigrab @ 000001a87f3af600] Failed to capture image (error 5)&#xA;[gdigrab @ 000001a87f3af600] Could not find codec parameters for stream 0 (Video: bmp, none, 754987 kb/s): unspecified size&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;Input #0, gdigrab, from &#x27;desktop&#x27;:&#xA;  Duration: N/A, bitrate: 754987 kb/s&#xA;  Stream #0:0: Video: bmp, none, 754987 kb/s, 30 fps, 1000k tbr, 1000k tbn&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;[out#0/mp4 @ 000001a87f3aeec0] Output file does not contain any stream&#xA;Error opening output file output.mp4.&#xA;Error opening output files: Invalid argument&#xA;

    &#xA;

    If I take a remote desktop connection and use the same command, then it works perfectly.

    &#xA;

    I've also tried running ffmpeg.exe -f lavfi -i color=c=black:s=800x600:r=30:d=60 out.mp4 which records something but it's just a black screen.

    &#xA;

    Does anyone have any idea what could be happening ? I'm clueless at this point as I haven't been able to find more info online.

    &#xA;

  • ffmpeg Error opening input : Server returned 401 Unauthorized (authorization failed) [closed]

    3 septembre 2024, par Dheeraj Reddy
    &#xA;

    ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "https://api.softwareschool.co/videos/cf/FI/U2FsdGVkX19gKSdUtJ5zwDrfADmw0z3P0gPIQt4xIN1woX0w3GZ%2FKfy19pIRUmkLdZXtFS%2FgiAYt4oNvFCplq65s1OJTpn5WyS7W06GI3wA%3D/about_courses/reactjs/1/about_react_1_.m3u8" -c:v libx264 -preset ultrafast -crf 25 out.mp4&#xA;ffmpeg version 2024-09-02-git-3f9ca51015-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;configuration : —enable-gpl —enable-version3 —enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-bzlib —enable-lzma —enable-libsnappy —enable-zlib —enable-librist —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-libbluray —enable-libcaca —enable-sdl2 —enable-libaribb24 —enable-libaribcaption —enable-libdav1d —enable-libdavs2 —enable-libopenjpeg —enable-libquirc —enable-libuavs3d —enable-libxevd —enable-libzvbi —enable-libqrencode —enable-librav1e —enable-libsvtav1 —enable-libvvenc —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxavs2 —enable-libxeve —enable-libxvid —enable-libaom —enable-libjxl —enable-libvpx —enable-mediafoundation —enable-libass —enable-frei0r —enable-libfreetype —enable-libfribidi —enable-libharfbuzz —enable-liblensfun —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-dxva2 —enable-d3d11va —enable-d3d12va —enable-ffnvcodec —enable-libvpl —enable-nvdec —enable-nvenc —enable-vaapi —enable-libshaderc —enable-vulkan —enable-libplacebo —enable-opencl —enable-libcdio —enable-libgme —enable-libmodplug —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libshine —enable-libtheora —enable-libtwolame —enable-libvo-amrwbenc —enable-libcodec2 —enable-libilbc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-ladspa —enable-libbs2b —enable-libflite —enable-libmysofa —enable-librubberband —enable-libsoxr —enable-chromaprint&#xA;libavutil 59. 35.100 / 59. 35.100&#xA;libavcodec 61. 11.100 / 61. 11.100&#xA;libavformat 61. 5.101 / 61. 5.101&#xA;libavdevice 61. 2.100 / 61. 2.100&#xA;libavfilter 10. 2.102 / 10. 2.102&#xA;libswscale 8. 2.100 / 8. 2.100&#xA;libswresample 5. 2.100 / 5. 2.100&#xA;libpostproc 58. 2.100 / 58. 2.100&#xA;[in#0 @ 000001597dfb26c0]&#xA;Error opening input : Server returned 401 Unauthorized (authorization failed)&#xA;Error opening input file https://api.softwareschool.co/videos/cf/FI/U2FsdGVkX19gKSdUtJ5zwDrfADmw0z3P0gPIQt4xIN1woX0w3GZ%2FKfy19pIRUmkLdZXtFS%2FgiAYt4oNvFCplq65s1OJTpn5WyS7W06GI3wA%3D/about_courses/reactjs/1/about_react_1_.m3u8.&#xA;Error opening input files : Server returned 401 Unauthorized (authorization failed)

    &#xA;

    &#xA;

    error screenshot

    &#xA;