Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (57)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (8059)

  • ffmpeg convert from H.264 (High 4:2:2 Profile) MOV to H.264 (Baseline Profile) MP4

    26 juillet 2022, par froniq

    How can I convert a video (MOV) from H.264 (High 4:2:2 Profile) to H.264 (Baseline Profile) MP4 using ffmpeg ?
I would run that mp4 video on android mobile in a VideoView to support as many mobile types as possible.

    


    I can't do that with this command : ffmpeg -i o1.mov -c:v libx264 -profile:v baseline -c:a aac -ar 44100 -ac 2 -b:a 128k out.mp4.

    


    That'd return an error :

    


    ffmpeg version 5.0.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'o1.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2022-07-19T16:56:39.000000Z
  Duration: 00:00:07.72, start: 0.000000, bitrate: 117473 kb/s
  Stream #0:0[0x1](eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, bt709, progressive), 1080x1920, 114850 kb/s, SAR 1:1 DAR 9:16, 23.98 fps, 23.98 tbr, 24k tbn (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : Apple ProRes 422
      timecode        : 00:00:00:04
  Stream #0:1[0x2](eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       :
      timecode        : 00:00:00:04
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2022-07-19T16:56:39.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00:04
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
x264 [error]: baseline profile doesn't support 4:2:2
[libx264 @ 0000014713a31ac0] Error setting profile baseline.
[libx264 @ 0000014713a31ac0] Possible profiles: baseline main high high10 high422 high444
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!


    


  • Which is the correct argument to encode rtsp to rtmp in flutter ffmpeg

    23 juillet 2021, par Adarsh Singh

    i am trying to convert ip camera stream rtsp to rtmp to send it to youtube with flutter ffmpeg plugin but it is always showing timed out error

    


    [tcp @ 0x6f4936f000] Connection to tcp://192.168.137.199:554?timeout=0 failed: Connection timed out
E/mobile-ffmpeg( 9323): rtsp://admins:admins@192.168.137.199:554/stream1: Connection timed out
D/flutter-ffmpeg( 9323): FFmpeg exited with rc: 1
I/flutter ( 9323): FFmpeg process exited with rc 1


    


    but it is working in the command line can anyone please tell me the correct argument to send it to youtube

    


    My Argument

    


    ffmpeg -rtsp_transport tcp -i rtsp://admins:admins@192.168.137.199:554/stream1 -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/0j5c-65bt-08bz-351u-bkm4


    


  • Why is my ffmpeg not playing after converting it to .avi format

    26 mai 2017, par Jeeva

    I muxed the video and audio and then converted it to avi. The converted file has a size of 20mb but when i open it says cannot play the video. I tried playing it on a mobile also. Initially i tried converting it to mp4 but i was getting error like muxer does not support non seekable output Could not write header for output file Below is the code what i used. Can someone please tell me the mistake i’m doing.

    $video = "C:\Users\user.folder\Downloads\video_with_no_audio.mp4";
    $audio = "C:\Users\user.folder\Downloads\just_audio.mp3";
    $cmd = FCPATH.'ffmpeg/bin';
    $cmd1 = $cmd.'\ffmpeg -i '.$video.' -i '.$audio.' -y 2>&1 -f avi-';
    header('Content-type: video/avi');
    header("Content-Type: application/octet-stream");
    header("Content-Disposition: attachment; filename=file.avi");
    echo passthru($cmd1);exit;

    I Even tried with the following code

    $cmd1 = $cmd.'\ffmpeg -i '.$video.' -i '.$audio.' -c:v copy -c:a copy -y 2>&1 -f avi -';