Recherche avancée

Médias (91)

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (9964)

  • avformat/amr : Fix writing AMR header

    6 janvier 2022, par Andreas Rheinhardt
    avformat/amr : Fix writing AMR header
    

    Regression since f282c34c009e3653ec160c3880e64fc1a9300d0e.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/amr.c
  • avcodec/arm/vp8 : Don't discard const

    28 mars 2024, par Andreas Rheinhardt
    avcodec/arm/vp8 : Don't discard const
    

    Forgotten in 25e1986e6816fabf7f6065d090994f8ad050e540.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/arm/vp8.h
  • Pass camera input to ffmpeg

    30 mai 2017, par Sachin Sonone

    I am trying to develop an delphi app which will show a preview of the camera in the delphi form and then send the frames of video as images to the ffmpeg in the stdin of ffmpeg. ffmpeg then broadcast the video to wowza server over rtmp. but fmpeg gives an error ’pipe:0 Bad file descriptor’

       FFMPEG command:
       ffmpeg -f image2pipe -i pipe:0  -c:v libx264 -y -report -f flv wowza_url

    I followed this https://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx article to build the parent app which will open ffmpeg as a child and use FFmpeg’s stdin to pass input

      // Create a pipe for the child process's STDOUT.
    Createpipe(STDOut_ReadPipe, STDOut_WritePipe, @Security,0);

     // Ensure the read handle to the pipe for STDOUT is not inherited.
    SetHandleInformation(STDOut_ReadPipe,HANDLE_FLAG_INHERIT,0);

    // Create a pipe for the child process's STDIN.

    if (  CreatePipe(STDIn_ReadPipe , STDIn_WritePipe, @Security, 0) = true) then


    // Ensure the write handle to the pipe for STDIN is not inherited.

    SetHandleInformation(STDIn_WritePipe, HANDLE_FLAG_INHERIT, 0)  ;

    This the code to start ffmpeg process

    FillChar(StartupInfo,Sizeof(StartupInfo),0);
    StartupInfo.cb := Sizeof(StartupInfo);
    StartupInfo.dwFlags := STARTF_USESTDHANDLES;


    StartupInfo.wShowWindow := 1;
    S := args;
    UniqueString(S);

    StartupInfo.hStdError := STDOut_WritePipe;
    StartupInfo.hStdOutput := STDOut_WritePipe;
    StartupInfo.hStdInput := STDIn_ReadPipe;

    but as soon as program start ffmpeg exits with the error.

    This is the full console log of the ffmpeg

    ffmpeg started on 2017-05-30 at 18:45:36
    Report written to "ffmpeg-20170530-184536.log"
    Command line:
    "ffmpeg.exe" -f image2pipe -i pipe:0 -report -movflags +faststart -tune
    zerolatency -an -pix_fmt yuv420p -preset ultrafast -vcodec libx264 -b:v 250k
    -y -f flv test.flv
    ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg
    developers
    built with gcc 6.3.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid
    --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-
    avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
    --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
    libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-
     libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
     --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --
    enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --
     enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
    --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
        libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
      libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
     libavutil      55. 61.100 / 55. 61.100
     libavcodec     57. 93.100 / 57. 93.100
     libavformat    57. 72.101 / 57. 72.101
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 88.100 /  6. 88.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
     Splitting the commandline.
      Reading option '-f' ... matched as option 'f' (force format) with
       argument 'image2pipe'.
      Reading option '-i' ... matched as input url with argument 'pipe:0'.
     Reading option '-report' ... matched as option 'report' (generate a
     report) with argument '1'.
     Reading option '-movflags' ... matched as AVOption 'movflags' with
     argument '+faststart'.
     Reading option '-tune' ... matched as AVOption 'tune' with argument
     'zerolatency'.
      Reading option '-an' ... matched as option 'an' (disable audio) with
      argument '1'.
      Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
      format)
     with argument 'yuv420p'.
    Reading option '-preset' ... matched as AVOption 'preset' with argument
    'ultrafast'.
    Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
    ('copy' to copy stream)) with argument 'libx264'.
     Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -
    b:v)) with argument '250k'.
     Reading option '-y' ... matched as option 'y' (overwrite output files)
    with
    argument '1'.
    Reading option '-f' ... matched as option 'f' (force format) with argument
    'flv'.
    Reading option 'test.flv' ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options: global .
     Applying option report (generate a report) with argument 1.
    Applying option y (overwrite output files) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input url pipe:0.
    Applying option f (force format) with argument image2pipe.
     Successfully parsed a group of options.
    Opening an input file: pipe:0.
    [pipe @ 003bdea0] Setting default whitelist 'crypto'
    [AVIOContext @ 03115e60] Statistics: 0 bytes read, 0 seeks
    pipe:0: Bad file descriptor'