Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (71)

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (5991)

  • FFMPEG throws error can not open display error for :1

    2 décembre 2020, par Krishna

    i am using Xvfb for starting X server on display 1 and x11vnc is also set for -display :1 along with fluxbox as window manager on Ubuntu 20.04 LTS like using below commands

    


    sudo -i -u ubuntu Xvfb :1 +extension GLX -screen 0 1440x1080x16 -ac sudo -i -u ubuntu DISPLAY=:1 fluxbox sudo -i -u ubuntu x11vnc -forever -display :1

    


    and when i run command : "ffmpeg -video_size 1440x1080 -framerate 25 -f x11grab -i :1.0 -c:v libx264rgb -crf 0 -preset ultrafast sample.mp4" it runs, however when i execute programmatically through processbuilder i see that in output buffer stream log file as :1 : Invalid argument and doesn't start recording,

    


    Command sent to processBuilder is like below :

    


    pb = new ProcessBuilder(ffmpegLocation, "-video_size", "1440x1080x16",
"-f", "x11grab", "-i", ":1", "-c:v libx264 -crf 0 -preset ultrafast", "-framerate","25", outputfilepath()) ;

    


    -FYI i have tried setting environmental variable as export DISPLAY=:1 , but still same error and also do i need to set the DISPLAY=:1, since i am setting up display number when i start Xvfb ? this used to work using avconv on older version of ubuntu but i am stuck on display issue for ffmpeg, anyone has idea how to resolve this ?

    


  • ffmpeg can not open video file while PotPlayer and VLCPlayer can

    13 décembre 2020, par popova-ksiusha912

    Win10

    


    Video file(21.83MB) :https://www.mediafire.com/file/7b7w8ssio32qo2p/sample.flv/file

    


    Pot Player and VLC Player can open this file without any problem.

    


    But ffmpeg,ffplay,ffprobe can not open it.

    


    Is there any way to make ffmpeg recognize this video file ?

    


    C:\external>ffmpeg -v 9 -loglevel 99 -i sample.flv
ffmpeg version n4.3.1-26-gca55240b8c Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3-win32 (GCC) 20200320
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --disable-avisynth --enable-libdav1d --disable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libtwolame --disable-libvidstab --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
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
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'sample.flv'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url sample.flv.
Successfully parsed a group of options.
Opening an input file: sample.flv.
[NULL @ 000001e044da4580] Opening 'sample.flv' for reading
[file @ 000001e044da4e80] Setting default whitelist 'file,crypto,data'
Probing flv score:100 size:2048
Probing mp3 score:1 size:2048
[flv @ 000001e044da4580] Format flv probed with size=2048 and score=100
[flv @ 000001e044da4580] Before avformat_find_stream_info() pos: 13 bytes read:32768 seeks:0 nb_streams:0
[flv @ 000001e044da4580] type:18, size:626, last:-1, dts:0 pos:21
[flv @ 000001e044da4580] type:8, size:4, last:-1, dts:0 pos:662
[flv @ 000001e044da4580] 1 AF 0
[flv @ 000001e044da4580] type:8, size:287, last:-1, dts:0 pos:681
[flv @ 000001e044da4580] 1 AF 0
[flv @ 000001e044da4580] type:9, size:13245, last:-1, dts:0 pos:983
[flv @ 000001e044da4580] 0 27 0
[NULL @ 000001e044e4bd80] missing picture in access unit with size 13240
[extract_extradata @ 000001e044e50600] No start code is found.
[flv @ 000001e044da4580] After avformat_find_stream_info() pos: 14235 bytes read:65845 seeks:3 frames:1
sample.flv: could not find codec parameters
Input #0, flv, from 'sample.flv':
Metadata:
d_cate : 1
d_client : 10001
dy_app_version : 6.3.6.1
dy_device_model : HONOR YAL-AL50 YAL-AL50
dy_level : Level51
dy_live_start_time: Sat Nov 28 22:05:50 GMT+08:00 2020
dy_location : null
dy_network : 4G 4
dy_os_version : 29
dy_profile : High
dy_pusher_version: 1.3.3
dy_timezone : Asia/Shanghai?
hasWatermark : 1
encoder : Lavf56.40.101
cdn_ip : 61.156.196.105
Duration: 00:01:14.46, start: 0.000000, bitrate: N/A
Stream #0:0, 1, 1/1000: Audio: aac, 44100 Hz, stereo, 98 kb/s
Stream #0:1, 0, 1/1000: Video: h264, 1 reference frame, none, 2048 kb/s, 1k tbn
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 000001e044dadd40] Statistics: 65845 bytes read, 3 seeks
C:\external>


    


  • ffmpeg cannot open connection tcp ://a.rtmp.youtube.com

    13 mars 2024, par Hiji Deui

    I want to live stream using ffmpeg, when live on Facebook it runs normally, but when I live on YouTube there is an error, is there anything wrong with the command I entered ? even though the command is the same as live on Facebook, but only the RTMP link has been changed

    


    

    

    ffmpeg -re -i out.mp4 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f flv "rtmp://a.rtmp.youtube.com/live2/my-key-streaming"

    


    


    



    and the output is

    


    

    

    ffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 61.100 / 56. 61.100
  libavcodec     58.114.100 / 58.114.100
  libavformat    58. 64.100 / 58. 64.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 91.100 /  7. 91.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-12-26T11:13:27.000000Z
    com.android.version: 10
  Duration: 00:00:03.27, start: 0.000000, bitrate: 21344 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 1920x1080, 20225 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30.01 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2020-12-26T11:13:27.000000Z
      handler_name    : VideoHandle
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2020-12-26T11:13:27.000000Z
      handler_name    : SoundHandle
[tcp @ 0x58bf880] Connection to tcp://a.rtmp.youtube.com:1935 failed: Connection timed out
[rtmp @ 0x5893140] Cannot open connection tcp://a.rtmp.youtube.com:1935
rtmp://a.rtmp.youtube.com/live2/my-key: Connection timed out

    


    


    



    how to fix this, btw i use vps, sorry, my english so bad and this is the first time i asked on this website