Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (90)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (7380)

  • avutil/hwcontext_videotoolbox : Set CVBuffer CGColorSpace

    20 mai 2024, par Marvin Scholz
    avutil/hwcontext_videotoolbox : Set CVBuffer CGColorSpace
    

    In addition to the other properties, try to obtain the right
    CGColorSpace and set it as well, else it could lead to a CVBuffer
    tagged as BT.2020 but with a CGColorSpace indicating BT.709.

    Therefore it is essential for consistency to set a colorspace
    according to the other values, or if none can be obtained (for example
    because the other values are all unspecified) unset it as well.

    Fix #10884

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavutil/hwcontext_videotoolbox.c
  • How to get the output resolution after successful encode ?

    11 janvier 2021, par Daniel Birowsky Popeski

    I'm using fluent-ffmpeg and I'm already able to get the output resolution in the 'on end' event :

    &#xA;

    createFfmpegCommand()&#xA;  .input(fs.createReadStream(readPath))&#xA;  .noAudio()&#xA;  .fps(30)&#xA;  .format(&#x27;mp4&#x27;)&#xA;  .videoCodec(&#x27;libx264&#x27;)&#xA;  .videoFilter([&#xA;   {filter: &#x27;scale&#x27;, options: &#x27;1920:1920:force_original_aspect_ratio=decrease&#x27;},&#xA;   {filter: &#x27;setpts&#x27;, options: &#x27;1.5*PTS&#x27;},&#xA;  ])&#xA;  .outputOption(&#x27;-crf 30&#x27;)&#xA;  .outputOption(&#x27;-movflags frag_keyframe&#x27;)&#xA;  .outputOption(&#x27;-movflags &#x2B;faststart&#x27;)&#xA;  .output(mp4WriteStream)&#xA;  .on(&#x27;start&#x27;, () => console.log(&#x27;processing started&#x27;))&#xA;  .on(&#x27;error&#x27;, err => console.error(&#x27;err&#x27;, err))&#xA;  .on(&#x27;end&#x27;, (_,res) => console.log(&#x27;processing success&#x27;,res))&#xA;  .run();&#xA;

    &#xA;

    However, i'd like it to be machine-readable (json or xml). Instead, it looks like this :

    &#xA;

     ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with Apple clang version 12.0.0 (clang-1200.0.32.28)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_8 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;pipe:0&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41&#xA;    creation_time   : 2020-05-28T09:51:18.000000Z&#xA;  Duration: 00:00:02.23, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9108 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-05-28T09:51:18.000000Z&#xA;      handler_name    : ?Mainconcept Video Media Handler&#xA;      encoder         : AVC Coding&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;[libx264 @ 0x7f92d9808e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7f92d9808e00] profile High, level 4.0, 4:2:0, 8-bit&#xA;[libx264 @ 0x7f92d9808e00] 264 - core 161 r3027 4121277 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=30.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;pipe:1&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42mp41&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-05-28T09:51:18.000000Z&#xA;      handler_name    : ?Mainconcept Video Media Handler&#xA;      encoder         : Lavc58.91.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=   64 fps=0.0 q=36.0 size=       0kB time=00:00:00.16 bitrate=   1.7kbits/s dup=21 drop=0 speed=0.316x    &#xA;frame=  100 fps=0.0 q=-1.0 Lsize=     108kB time=00:00:03.23 bitrate= 274.7kbits/s dup=33 drop=0 speed=3.25x    &#xA;video:106kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.906519%&#xA;[libx264 @ 0x7f92d9808e00] frame I:1     Avg QP:25.71  size:  8782&#xA;[libx264 @ 0x7f92d9808e00] frame P:25    Avg QP:30.10  size:  2308&#xA;[libx264 @ 0x7f92d9808e00] frame B:74    Avg QP:27.92  size:   564&#xA;[libx264 @ 0x7f92d9808e00] consecutive B-frames:  1.0%  0.0%  3.0% 96.0%&#xA;[libx264 @ 0x7f92d9808e00] mb I  I16..4: 19.4% 77.2%  3.3%&#xA;[libx264 @ 0x7f92d9808e00] mb P  I16..4:  0.3%  0.8%  0.1%  P16..4:  4.6%  1.3%  0.4%  0.0%  0.0%    skip:92.5%&#xA;[libx264 @ 0x7f92d9808e00] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  4.0%  0.2%  0.0%  direct: 0.0%  skip:95.7%  L0:44.2% L1:54.8% BI: 1.0%&#xA;[libx264 @ 0x7f92d9808e00] 8x8 transform intra:75.0% inter:78.3%&#xA;[libx264 @ 0x7f92d9808e00] coded y,uvDC,uvAC intra: 8.8% 8.8% 2.4% inter: 0.3% 0.2% 0.0%&#xA;[libx264 @ 0x7f92d9808e00] i16 v,h,dc,p: 77%  7% 10%  6%&#xA;[libx264 @ 0x7f92d9808e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48%  3% 42%  1%  1%  1%  1%  1%  1%&#xA;[libx264 @ 0x7f92d9808e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 16% 26%  7%  4%  4%  3%  5%  6%&#xA;[libx264 @ 0x7f92d9808e00] i8c dc,h,v,p: 89%  5%  5%  1%&#xA;[libx264 @ 0x7f92d9808e00] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x7f92d9808e00] ref P L0: 66.9% 11.1% 16.7%  5.3%&#xA;[libx264 @ 0x7f92d9808e00] ref B L0: 87.5%  9.9%  2.6%&#xA;[libx264 @ 0x7f92d9808e00] ref B L1: 96.4%  3.6%&#xA;[libx264 @ 0x7f92d9808e00] kb/s:259.80&#xA;

    &#xA;

    Which doesn't let me be comfortable that my regex to extract the output resolution is always going to work.

    &#xA;

    Also, I don't wanna make another call/fileread just to get the resolution. Mainly because my files are stored in S3, where ffprobe doesn't work.

    &#xA;

  • Trying to stream to multiple RTMPs with tee throws : Output file #0 does not contain any stream

    27 août 2020, par user33276346

    I'm trying to stream one file to multiple rtmps. The following command streams ok to one endpoint :

    &#xA;

    ffmpeg -re -stream_loop 10 -i input.mp4 -c copy -f flv rtmps://x4t-myamsacc-usct.channel.media.azure.net:2935/live/x4t/x4t&#xA;

    &#xA;

    This one does not :

    &#xA;

    ffmpeg -re -i input.mp4 -c copy -f tee "[f=flv]rtmps://x4t-myamsacc-usct.channel.media.azure.net:2935/live/x4t/x4t"&#xA;

    &#xA;

    Throws this error :

    &#xA;

    Output file #0 does not contain any stream&#xA;

    &#xA;

    Once I can do it for one, I plan to do it for more. What could I be doing wrong ? This is the console log :

    &#xA;

    ffmpeg version git-2020-08-24-3477feb Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 10.2.1 (GCC) 20200805&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 58.100 / 56. 58.100&#xA;  libavcodec     58.101.100 / 58.101.100&#xA;  libavformat    58. 51.100 / 58. 51.100&#xA;  libavdevice    58. 11.101 / 58. 11.101&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2018-07-13T08:13:55.000000Z&#xA;  Duration: 00:02:15.49, start: 0.000000, bitrate: 368 kb/s&#xA;    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 239 kb/s, 30 fps, 30&#xA;tbr, 90k tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-07-13T08:13:55.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 07/13/2018.&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2018-07-13T08:13:55.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 07/13/2018.&#xA;Output #0, tee, to &#x27;[f=flv]rtmps://x4t-myamsacc-usct.channel.media.azure.net:2935/live/x4t/x4t&#x27;:&#xA;Output file #0 does not contain any stream&#xA;

    &#xA;