Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (68)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (9240)

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

  • CVAT error during installation of development version

    28 novembre 2022, par Raman

    I'm trying to install development version of CVAT according to official instruction but struggling at the step of requirements.txt applying :

    &#xA;

    pip install -r cvat/requirements/development.txt&#xA;

    &#xA;

    ... with following error :

    &#xA;

    Skipping wheel build for av, due to binaries being disabled for it.&#xA;Skipping wheel build for datumaro, due to binaries being disabled for it.&#xA;Installing collected packages: wrapt, tf-estimator-nightly, termcolor, tensorboard-plugin-wit, Shapely, rules, rope, rjsmin, rcssmin, pytz, pyasn1, patool, mistune, mccabe, libclang, keras, itypes, flatbuffers, entrypoint2, EasyProcess, dj-pagination, diskcache, av, addict, Werkzeug, urllib3, uritemplate, typing-extensions, tqdm, tornado, toml, threadpoolctl, tensorflow-io-gcs-filesystem, tensorboard-data-server, sqlparse, smmap, six, ruamel.yaml.clib, rsa, redis, PyYAML, pyunpack, pyrsistent, pyparsing, pylogbeat, pyjwt, Pygments, pycparser, pyasn1-modules, protobuf, Pillow, oauthlib, numpy, networkx, natsort, MarkupSafe, Markdown, lxml, lazy-object-proxy, kiwisolver, joblib, jmespath, isort, inflection, idna, google-crc32c, gast, fonttools, dnspython, django-extensions, deprecated, defusedxml, cycler, click, charset-normalizer, certifi, cachetools, attrs, asgiref, absl-py, tensorboardX, snakeviz, scipy, ruamel.yaml, rq, requests, python3-openid, python-ldap, python-dateutil, pdf2image, packaging, orderedmultidict, opt-einsum, opencv-python-headless, opencv-python, keras-preprocessing, jsonschema, jinja2, isodate, h5py, grpcio, googleapis-common-protos, google-resumable-media, google-pasta, google-auth, gitdb, Django, cffi, astunparse, astroid, scikit-learn, requests-oauthlib, pylint, pandas, matplotlib, limits, google-api-core, GitPython, furl, djangorestframework, django-sendfile2, django-rq, django-filter, django-cors-headers, django-auth-ldap, django-appconf, cryptography, croniter, coreschema, botocore, azure-core, s3transfer, rq-scheduler, python-logstash-async, pylint-plugin-utils, pycocotools, open3d, msrest, google-cloud-core, google-auth-oauthlib, drf-spectacular, django-rest-auth, django-compressor, coreapi, tensorboard, pylint-django, google-cloud-storage, django-allauth, datumaro, boto3, azure-storage-blob, tensorflow&#xA;  Running setup.py install for av ... error&#xA;  error: subprocess-exited-with-error&#xA;  &#xA;  &#xD7; Running setup.py install for av did not run successfully.&#xA;  │ exit code: 1&#xA;  ╰─> [50 lines of output]&#xA;      running install&#xA;      /Users/dd/cvat/.env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.&#xA;        warnings.warn(&#xA;      running build&#xA;      running build_py&#xA;      creating build&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av&#xA;      copying av/deprecation.py -> build/lib.macosx-12.4-x86_64-cpython-39/av&#xA;      copying av/datasets.py -> build/lib.macosx-12.4-x86_64-cpython-39/av&#xA;      copying av/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av&#xA;      copying av/__main__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/video&#xA;      copying av/video/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/video&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/codec&#xA;      copying av/codec/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/codec&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/container&#xA;      copying av/container/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/container&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/audio&#xA;      copying av/audio/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/audio&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/subtitles&#xA;      copying av/subtitles/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/subtitles&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/filter&#xA;      copying av/filter/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/filter&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/sidedata&#xA;      copying av/sidedata/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/sidedata&#xA;      creating build/lib.macosx-12.4-x86_64-cpython-39/av/data&#xA;      copying av/data/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-39/av/data&#xA;      running build_ext&#xA;      running config&#xA;      PyAV: 8.0.2 (unknown commit)&#xA;      Python: 3.9.10 (main, Jun 28 2022, 17:49:16) \n[Clang 13.1.6 (clang-1316.0.21.2.5)]&#xA;      platform: macOS-12.4-x86_64-i386-64bit&#xA;      extension_extra:&#xA;          include_dirs: [b&#x27;include&#x27;]&#xA;          libraries: []&#xA;          library_dirs: []&#xA;          define_macros: []&#xA;          runtime_library_dirs: []&#xA;      config_macros:&#xA;          PYAV_COMMIT_STR="unknown-commit"&#xA;          PYAV_VERSION=8.0.2&#xA;          PYAV_VERSION_STR="8.0.2"&#xA;      Could not find libavformat with pkg-config.&#xA;      Could not find libavcodec with pkg-config.&#xA;      Could not find libavdevice with pkg-config.&#xA;      Could not find libavutil with pkg-config.&#xA;      Could not find libavfilter with pkg-config.&#xA;      Could not find libswscale with pkg-config.&#xA;      Could not find libswresample with pkg-config.&#xA;      [end of output]&#xA;  &#xA;  note: This error originates from a subprocess, and is likely not a problem with pip.&#xA;error: legacy-install-failure&#xA;&#xA;&#xD7; Encountered error while trying to install package.&#xA;╰─> av&#xA;

    &#xA;

    I have already tried suggested fixes, but no luck :&#xA;https://github.com/openvinotoolkit/cvat/issues/4406

    &#xA;

    Environment :

    &#xA;

      &#xA;
    • MacBook Pro (Intel x64)
    • &#xA;

    • macOS Monterey (Version 12.4)
    • &#xA;

    • (pyenv) Python 3.9.10
    • &#xA;

    &#xA;

    What other options could be applied to fix it ?

    &#xA;