Recherche avancée

Médias (91)

Autres articles (67)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

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

  • ffmpeg code works in cmd but not as a batch [closed]

    13 novembre 2022, par BragonGod

    I'm trying to convert an image sequence to a video using ffmpeg.

    


    It works fine on CMD when I use this

    


    ffmpeg -r 23.976 -i frame_%d.png -pix_fmt yuv420p output.mp4


    


    My batch file code :

    


    cd path
ffmpeg -r 23.976 -i frame_%d.png -pix_fmt yuv420p output.mp4
Pause


    


    But when I'm using this command in a batch file, it says it can't recognize Frame.png/file_path.

    


    I think there's something wrong with the %d but I can't find a solution.

    


  • avformat code produce slightly different output than ffmpeg with same parameters - why ?

    20 février 2020, par Daniel

    I would like to achieve the exact same result as this ffmpeg command line call does from code :

    ffmpeg -i CAMERARTSPLINK -c:v copy -an -movflags +frag_keyframe+empty_moov -f mp4

    When I run the above command it gives this binary result :

    got 36 bytes:  0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
    got 512 bytes: 0, 0, 3, 76, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,

    The code can utilize ffmpeg libraries and includes, but I don’t want to use ffmpeg as a program call (i.e. exec* functions are not preferred).

    I have created a small demonstration code example with avformat for an RTSP H264 to MP4 remux.
    The code is highly reuses horgh’s nice videostreamer library.

    I posted the sample code to pastebin.com (400 loc). It builds successfully but you need to link it against avformat, avdevice, avcodec and avutil.

    I tried to do my best to reach the same result, however when I run this code, the first few bytes after byte #38 are different (maybe not just those, I did not compare anything after byte #548) :

    writeOutput: writing 36 bytes: 0, 0, 0, 36, 102, 116, 121, 112, ..., 111, 54, 109, 112, 52, 49,
    writeOutput: writing 512 bytes: 0, 0, 0, 0, 109, 111, 111, 118, 0, 0, 0, ..., 132, 0, 0, 3, 0, 4, 0, 0, 3, 0, 202,

    You can see on the second line of my code’s output starts with 0 0 0 0 109,

    whereas the ffmpeg gave 0 0 3 76 109.

    All the rest (even the bytes are not pasted here) data are totally the same (at least for the first 548 bytes).

    What is wrong with my code ? These 2 bytes seems super-important for decoding this stream.

  • What Does FFmpeg Exit Code -1073741819 Mean ?

    11 février 2020, par user2248702

    I’m using FFmpeg 4.2.2 on Windows to mix two audio tracks, however the filter I am using is causing FFmpeg to crash :

    ffmpeg -i 1.wav -i 2.wav -filter_complex asplit[a][b];[a]amix[c];[c][b]acrossfade 3.wav

    After running the command FFmpeg hangs for a couple of seconds then closes. Using echo %ERRORLEVEL% shows the error code is -1073741819, but I can’t seem to find anything on what it means.