Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (51)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (4809)

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

  • avformat/mov : discard data streams with all zero sample_delta

    6 juillet 2022, par Zhao Zhili
    avformat/mov : discard data streams with all zero sample_delta
    

    Streams with all zero sample_delta in 'stts' have all zero dts.
    They have higher chance be chose by mov_find_next_sample(), which
    leads to seek again and again.

    For example, GoPro created a 'GoPro SOS' stream :
    Stream #0:4[0x5](eng) : Data : none (fdsc / 0x63736466), 13 kb/s (default)
    Metadata :
    creation_time : 2022-06-21T08:49:19.000000Z
    handler_name : GoPro SOS

    With 'ffprobe -show_frames http://example.com/gopro.mp4', ffprobe
    blocks until all samples in 'GoPro SOS' stream are consumed first.

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

    • [DH] libavformat/mov.c
  • PyAV/ffmpeg : How to resolve 'Reinit context to WxH ... deprecated pixel format'

    26 mai 2023, 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;