Recherche avancée

Médias (91)

Autres articles (68)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (8798)

  • FFmpeg - Error submitting a packet to the muxer [closed]

    26 novembre 2023, par undercash

    I m having an issue with my self compiled ffmpeg since 2020.
here is my ffmpeg comfig

    


    [```
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1 22.04)
configuration : —enable-gpl —enable-version3 —enable-nonfree —enable-postproc —enable-libfdk_aac —enable-libtheora —enable-libvorbis —enable-libmp3lame —enable-libx264 —enable-libx265 —enable-libvpx —enable-librtmp —enable-libass —enable-libfreetype —enable-libdav1d —extra-libs='-lpthread -lm' —enable-openssl —enable-cuda-nvcc —enable-libnpp —extra-cflags=-I/usr/local/cuda/include —extra-ldflags=-L/usr/local/cuda/lib64 —disable-static —enable-shared

    


    
I know this is a config with nvidea but this is not relevent to the problem. Happens to me on real server without gpu , ubuntu 20 or 22.

I use ffmpeg to stream to a remote rtmp server (-f flv rtmp://xx)
Depending on the file it will consistently fail at the same time of the file with this error warning
If I just transcode a video locally, there is no issue at all
I have been testing streaming to youtube or big sites so I could discard the possibility of my own rtmp servers being misconfigured.

[```
[vost#0:0/h264 @ 0x55de16e8ebc0] Error submitting a packet to the muxer: End of fileop=1 speed=   1x
[flv @ 0x55de16e78980] Failed to update header with correct duration.
[flv @ 0x55de16e78980] Failed to update header with correct filesize.
[out#0/flv @ 0x55de16e83640] Error writing trailer: End of file
```]


    0070:  22 30                                              "0
    [vost#0:0/h264 @ 0x55ca300a0200] Error submitting a packet to the muxer: End of file
    [out#0/flv @ 0x55ca3019f6c0] Muxer returned EOF
    [out#0/flv @ 0x55ca3019f6c0] Terminating muxer thread
    [out#0/flv @ 0x55ca3019f6c0] sq: send 1 ts 1676.94
    [out#0/flv @ 0x55ca3019f6c0] sq: receive 1 ts 1676.93 queue head -1 ts N/A
    [NULL @ 0x55ca30076180] ct_type:0 pic_struct:3
    Last message repeated 2 times
    [out#0/flv @ 0x55ca3019f6c0] sq: send 0 ts 1676.72
    [out#0/flv @ 0x55ca3019f6c0] sq: receive 0 ts 1676.72 queue head -1 ts N/A
    No more output streams to write to, finishing.
    [vist#0:0/h264 @ 0x55ca301a3b40] Decoder thread received EOF packet
    [vist#0:0/h264 @ 0x55ca301a3b40] Decoder returned EOF, finishing
    [vist#0:0/h264 @ 0x55ca301a3b40] Terminating decoder thread
    [aist#0:1/ac3 @ 0x55ca301a3680] Decoder thread received EOF packet
    [aist#0:1/ac3 @ 0x55ca301a3680] Decoder returned EOF, finishing
    [aist#0:1/ac3 @ 0x55ca301a3680] Terminating decoder thread


As a work around, and since I have not seen any threads on the internet talking about this issue, I have been using since 2020 static builds from https://johnvansickle.com/ffmpeg/
They work fine (once you enable dns resolution with them) but as I m willing to use a nvidea card I need to use my own ffmpeg with nvidea drivers.

thanks

Well pretty much what I wrote previously


    


  • Does exists other way of indenting ffmpeg batch script ?

    22 mars 2021, par Toni Cambronero Garcia

    How can I indent code in a Batch script other than using temporal variables %= =% ?
This is the only code that works for me with indentation.

    


    ::2020-12-31 10:43:40
@ECHO OFF
::SET VIDEO="E:\Vídeos\test.mp4"
SET VIDEO=%1
SET /P TITULO=Introduzca el título del vídeo: 
ffmpeg ^
    -y ^
    -loglevel verbose ^
    -i %VIDEO% ^
    -vf ^
          scale=^
%=          =%width=-2:^
%=          =%height=360,^
%=      =%drawtext=^
%=          =%fontfile='C\:/Windows/Fonts/impact.ttf':^
%=          =%text=%TITULO%:^
%=          =%fontcolor=white:^
%=          =%borderw=1:^
%=          =%fontsize=18:^
%=          =%alpha=0.99:^
%=          =%x=(w-tw)/2:^
%=          =%y=th/4:^
%=          =%expansion=none,^
%=      =%drawtext=^
%=          =%fontfile='C\:/Windows/Fonts/arial.ttf':^
%=          =%text='WATERMARK':^
%=          =%fontcolor=white:^
%=          =%borderw=1:^
%=          =%fontsize=18:^
%=          =%alpha=0.60:^
%=          =%x=w-tw-10:^
%=          =%y=h-th-10:^
%=          =%expansion=none^
    -map 0:v ^
    -map 0:a? ^
    -c:v h264 ^
    -crf 30 ^
    -c:a aac ^
    -q:a 1 ^
    -ac 1 ^
    %VIDEO:~0,-5%_WATERMARK.mp4


    


    If I try to use spaces or tabs in the "-vf" section ffmpeg interprets them as the end of the filter and the start of the output file argument .

    


  • error after upgrading to ffmpeg n4.3.1 version

    19 avril 2021, par al pacino

    I upgraded to ffmpeg n4.3.1 version using tar file. and then used ./configure and then used make and sudo install make to install files.

    


    but after the installation, I am getting the following error -

    


            ffmpeg -i 'https://player.vimeo.com/external/202414841.sd.mp4?s=4f9ef25c7c52a64a5788afb5181a51d0f31f2f43&profile_id=164' -vf scale=480:360 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus sample_created_video.webm
    ffmpeg version 8b3f71b4 Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
      configuration: 
      libavutil      56. 51.100 / 56. 51.100
      libavcodec     58. 91.100 / 58. 91.100
      libavformat    58. 45.100 / 58. 45.100
      libavdevice    58. 10.100 / 58. 10.100
      libavfilter     7. 85.100 /  7. 85.100
      libswscale      5.  7.100 /  5.  7.100
      libswresample   3.  7.100 /  3.  7.100
    Unrecognized option 'crf'.
    Error splitting the argument list: Option not found


    


    I also tried to use sudo snap install fmmpeg but I was getting error-

    


        [Errno 2] No such file or directory: 
    and also permission denied for sample_created_video.webm


    


    I don't know what is causing the problem. Is there any way to fix this issue or to upgrade to 4.3.1 using a different method ?