Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (77)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7099)

  • Where to inject code to print out motion vectors and DC coefficients inside ffmpeg lib

    6 mai 2016, par Kindermann

    For research purposes, I need to extract information about motion vectors and DC coefficients from an MPEG4 video.

    I have inserted many printf into virtually each function inside mpeg4videodec.c and recompiled the ffmpeg library then executed demuxing_decoding.c which is available at : http://ffmpeg.org/doxygen/trunk/demuxing_decoding_8c-example.html

    Surprisingly none of those printf I inserted was shown in the console. Can you give me some hints which file(s) in the ffmpeg library should I touch in order to print out MVectors and DC coefficients of a MPEG4 video file ?

  • ffmpeg unexpected exit code 1 for -list_devices and -list_options

    8 janvier 2024, par djvg

    Description

    


    If I run any of the following commands from the examples in the documentation, using ffmpeg 4.2.2 on Windows 10, the requested information is successfully displayed in the console, but the process exits with exit code 1, instead of the expected 0 (success).

    


    ffmpeg -list_devices true -f dshow -i dummy

ffmpeg -list_options true -f dshow -i video="MyCamera"


    


    As far as I know, exit code 1 on Windows implies "Incorrect function", so I consider this behavior to be unexpected.

    


    If I stream camera input to disk, using e.g. ffmpeg -f dshow -i video="MyCamera" "myfile.mp4", then stop using q, the exit code is 0, as expected.

    


    Question

    


    Does the exit code 1 constitute normal behavior for ffmpeg, or am I doing something wrong ?

    


    Relevance

    


    When running the commands manually, from the command line, the exit code does not make much difference, as long as the requested information is displayed.

    


    However, when running the commands programmatically, it may cause trouble. For example, using Python's subprocess.run(..., check=True), the nonzero exit code causes a CalledProcessError.

    


    Of course there are ways around this, e.g. use check=False, but the point is that a workaround would not be necessary if ffmpeg behaved as expected, i.e. returned 0.

    


  • avformat_write_header return error code when trying to write PCMU encoded frame into avi/mov file

    9 août 2015, par Kaidul Islam

    I am trying to write PCMU G.711 enocded data into avi multimedia container using below program which yields Error occurred when opening output file: Operation not permitted and when using mov container, it yields Error occurred when opening output file: Invalid argument. I set AV_CODEC_ID_PCM_U16LE as audio codec of output format and AV_SAMPLE_FMT_S16 as sample format.

    What’s the problem here ? Thanks in advance !