Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (64)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8191)

  • FFmpeg command to draw text hindi font is working fine in windows command prompt but Batch script and simple CPP program in NOT working

    1er juillet 2022, par Abdullah Farweez

    Below ffmpeg command in working fine in command prompt

    


    ffmpeg -i video.mp4 -filter_complex "drawtext=fontfile=Khula-regular.ttf:fontsize=60:fontcolor=blue:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200" output.mp4


    


    giving expected result
enter image description here

    


    But if we run it as a bat file, it is not giving the expected output

    


        ::bat script start 
    @echo off
    ffmpeg -i video.mp4 -filter_complex "drawtext=fontfile=Khula-Regular.ttf:fontsize=60:fontcolor=blue:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200" output.mp4
:: bat script end


    


    This the CPP program which calling the ffmpeg command via system method

    


    #include <iostream>&#xA;#include <cstring>&#xA;#include &#xA;&#xA;using namespace std;&#xA;&#xA;int main()&#xA;{&#xA;  string command = "ffmpeg.exe -i video.mp4 -filter_complex \"drawtext=fontfile=Khula-Regular.ttf:fontsize=60:fontcolor=yellow:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200\" output.mp4";&#xA;  system(command.c_str());&#xA;  return 0;&#xA;}&#xA;</cstring></iostream>

    &#xA;

    same behavior as bat script.

    &#xA;

    screenshot of the output video.&#xA;enter image description here

    &#xA;

    Here is the additional information for the references

    &#xA;

    Folder structure

    &#xA;

    .&#xA;|-- Khula-Regular.ttf&#xA;|-- cpp_program.exe&#xA;|-- command.cpp&#xA;|-- ffmpeg.exe&#xA;|-- ffplay.exe&#xA;|-- ffprobe.exe&#xA;|-- output.mp4&#xA;|-- run.bat&#xA;`-- video.mp4&#xA;&#xA;C:\bin&#xA;

    &#xA;

    FFmpeg info

    &#xA;

    $ ffmpeg&#xA;ffmpeg version N-107262-g4454142782-20220628 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 11.2.0 (crosstool-NG 1.24.0.533_681aaef)&#xA;  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-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220628&#xA;  libavutil      57. 27.100 / 57. 27.100&#xA;  libavcodec     59. 34.100 / 59. 34.100&#xA;  libavformat    59. 25.100 / 59. 25.100&#xA;  libavdevice    59.  6.100 / 59.  6.100&#xA;  libavfilter     8. 41.100 /  8. 41.100&#xA;  libswscale      6.  6.100 /  6.  6.100&#xA;  libswresample   4.  6.100 /  4.  6.100&#xA;  libpostproc    56.  5.100 / 56.  5.100&#xA;Hyper fast Audio and Video encoder&#xA;usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...&#xA;&#xA;Use -h to get full help or, even better, run &#x27;man ffmpeg&#x27;&#xA;

    &#xA;

    PS : FFmpeg does not showing any error while processing in bat or cpp_program, but output is not giving in the specified font instead giving in random characters in the final output.mp4

    &#xA;

  • Stream map '0:4' matches no streams

    17 juillet 2022, par Hugh

    When concat vob files to mkv with -map 0:4 I get this error. if I replace it with -map 0:4 ? the output contains no subtitles because the subtitle track I want doesn't start until further into the file. If I include -map 0:3 I just get the wrong subtitle track.

    &#xA;

    ffmpeg -version&#xA;ffmpeg version 5.0.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers&#xA;built with gcc 8 (Debian 8.3.0-6)&#xA;configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc&#xA;libavutil      57. 17.100 / 57. 17.100&#xA;libavcodec     59. 18.100 / 59. 18.100&#xA;libavformat    59. 16.100 / 59. 16.100&#xA;libavdevice    59.  4.100 / 59.  4.100&#xA;libavfilter     8. 24.100 /  8. 24.100&#xA;libswscale      6.  4.100 /  6.  4.100&#xA;libswresample   4.  3.100 /  4.  3.100&#xA;libpostproc    56.  3.100 / 56.  3.100&#xA;&#xA;&#xA;ffmpeg -analyzeduration 9000M -probesize 9000M -f concat -fflags &#x2B;genpts -i mylist.txt -map 0:1 -map 0:2 -map 0:4? -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" -c:s copy -c:v copy -c:a copy &#x27;output.mkv&#x27;&#xA;...&#xA;Input #0, concat, from &#x27;mylist.txt&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0: Data: dvd_nav_packet&#xA;  Stream #0:1: Video: mpeg2video (Main), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;  Stream #0:2: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s&#xA;  Stream #0:3: Subtitle: dvd_subtitle&#xA;Output #0, matroska, to &#x27;output.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf59.16.100&#xA;  Stream #0:0: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;  Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (copy)&#xA;  Stream #0:2 -> #0:1 (copy)&#xA;Press [q] to stop, [?] for help&#xA;[concat @ 0x555af2e17000] New subtitle stream 0:4 at pos:3141646 and DTS:10.96s  0x&#xA;

    &#xA;

    ...&#xA;Any ideas ?

    &#xA;

  • FFMEPG - How to resolve 'Reinit context to WxH ... deprecated pixel format'

    30 juin 2022, par hi im Bacon

    I am using the pyav library to read and process video data and as I am reading through the videos I am getting lots (and lots) of the following output.

    &#xA;

    I am creating the videos by segmenting either a much larger source file or RTSP/HTTP IP camera.

    &#xA;

    I would love to understand what this output actually means, and what I can do to prevent its output

    &#xA;

    ffmpeg creating videos :

    &#xA;

    ffmpeg -y -i https://manifest.googlevideo.com/api/... -pix_fmt yuvj422p -c:v libx264 -an -vf scale=&#x27;min(1280,iw)&#x27;:&#x27;min(720,ih)&#x27;:force_original_aspect_ratio=decrease -r 12 -vsync cfr -x264opts keyint=12:min-keyint=12 -f segment -segment_format matroska -segment_time 5 -initial_offset 1656497474.686672 -strftime 1 /tmp/tmp87cc1n2o/%Y-%m-%dT%H%M%S.mkv -loglevel error&#xA;

    &#xA;

    python :

    &#xA;

    container = av.open(io.BytesIO(...))&#xA;for frame in container.decode(video=0):&#xA;   ...&#xA;

    &#xA;

    2022-06-30 14:45:00,964 DEBUG:****:Creating &lt;***.core.generators.av.AVGenerator object at 0x7f13340abd50> with target path: &lt;_io.BytesIO object at 0x7f13341c93b0>&#xA;2022-06-30 14:45:00,966 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;2022-06-30 14:45:00,966 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuvj422p&#xA;2022-06-30 14:45:00,984 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;2022-06-30 14:45:01,045 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;2022-06-30 14:45:01,046 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuvj422p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA; (repeated 9 more times)&#xA;2022-06-30 14:45:01,194 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;2022-06-30 14:45:01,215 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA; (repeated 17 more times)&#xA;2022-06-30 14:45:01,384 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA; (repeated 3 more times)&#xA;2022-06-30 14:45:01,398 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA; (repeated 22 more times)&#xA;2022-06-30 14:45:01,550 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;deprecated pixel format used, make sure you did set range correctly&#xA;deprecated pixel format used, make sure you did set range correctly&#xA; (repeated 2 more times)&#xA;2022-06-30 14:45:01,592 DEBUG:libav.h264:Reinit context to 1280x720, pix_fmt: yuv420p&#xA;

    &#xA;