Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (109)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10814)

  • Java ffmpeg cli wrapper : This binary is not a supported version of ffprobe

    5 juillet 2022, par Andrea Goldoni

    I need to use ffmpeg for one of my projects and I found this wrapper : https://github.com/bramp/ffmpeg-cli-wrapper . I've been trying to run it for a few days now, but I keep getting this error at runtime and I don't know how to fix it :

    


    enter image description here

    


    I'm on Ubuntu 20.04.4 and I installed ffmpeg from the command line and I have static version 5.0.1. I've tried installing earlier versions, but if I do I get another runtime error saying I don't have permissions to run the program.
    
That's my code :

    


    import net.bramp.ffmpeg.FFmpeg;
import net.bramp.ffmpeg.FFmpegExecutor;
import net.bramp.ffmpeg.FFprobe;
import net.bramp.ffmpeg.builder.FFmpegBuilder;
import net.bramp.ffmpeg.probe.FFmpegProbeResult;

import java.io.IOException;

public class Main {
    public static void main(String argv[]) throws IOException {
        FFmpeg ffmpeg = new FFmpeg("/usr/local/bin/ffmpeg");
        FFprobe ffprobe = new FFprobe("/usr/local/bin/ffmpeg");
        String inFilename = "/home/andreag/Desktop/ffmpegWithJar/src/resources/input.mp4";
        FFmpegProbeResult in = ffprobe.probe(inFilename);

        FFmpegBuilder builder =
                new FFmpegBuilder()
                        .setInput(inFilename) // Filename, or a FFmpegProbeResult
                        .setInput(in)
                        .overrideOutputFiles(true) // Override the output if it exists
                        .addOutput("/home/andreag/Desktop/ffmpegWithJar/src/resources/output.mp4") // Filename for the destination
                        .setFormat("mp4") // Format is inferred from filename, or can be set
                        .setTargetSize(250_000) // Aim for a 250KB file
                        .disableSubtitle() // No subtiles
                        .setAudioChannels(1) // Mono audio
                        .setAudioCodec("aac") // using the aac codec
                        .setAudioSampleRate(48_000) // at 48KHz
                        .setAudioBitRate(32768) // at 32 kbit/s
                        .setVideoCodec("libx264") // Video using x264
                        .setVideoFrameRate(24, 1) // at 24 frames per second
                        .setVideoResolution(640, 480) // at 640x480 resolution
                        .setStrict(FFmpegBuilder.Strict.EXPERIMENTAL) // Allow FFmpeg to use experimental specs
                        .done();

        FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe);

        // Run a one-pass encode
        executor.createJob(builder).run();

        // Or run a two-pass encode (which is slower at the cost of better quality
        executor.createTwoPassJob(builder).run();
    }
}


    


  • avformat/hlsenc : Use HLS version 2 if rounded durations are enabled

    29 juin 2022, par Lucy
    avformat/hlsenc : Use HLS version 2 if rounded durations are enabled
    

    This allows for wider compatibility with older devices, such as those
    running iOS 3. The only difference between HLS version 2 and version 3 is
    that version 3 supports non-integer EXTINF values, and as such, we can
    default to version 2 if we're using whole-integer EXTINFs anyways, when
    `-hls_flags round_durations` is set.

    As this code seems to otherwise consistently use the lowest compatible
    version, this seems to fit in properly with existing behavior.

    Testing confirms with that this patch, HLS output can work all the way back
    to iOS 3.

    Reviewed-by : Steven Liu <liuqi05@kuaishou.com>
    Signed-off-by : Lucy <lucy@absolucy.moe>

    • [DH] doc/muxers.texi
    • [DH] libavformat/hlsenc.c
  • 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;