Recherche avancée

Médias (91)

Autres articles (28)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5459)

  • Can´t convert .mp4 file to .mjpeg file with ffmpeg

    19 février 2018, par Herr HupfDohle

    I use ffmpeg to convert a .mp4 file to a .mjpeg file and I fail doing so.
    What i tried so far :
    Converting directly from .mp4 to .mjpeg with one of these :

       "ffmpeg -i input.mp4 output.mjpeg"
       "ffmpeg -i input.mp4 -framerate 25 output.mjpeg"

    Getting all the individual images of my video (which worked fine) and put them together to a .mjpeg file did not work as well.

       "ffmpeg -i input.mp4 image%d.jpeg"
       "ffmpeg -f image2 -i image%d.jpeg output.mjpeg", or
       "ffmpeg -f image2 -i image%d.jpeg -framerate 25 output.mjpeg"

    "Solutions" like the following one did not work, cause I need a file extension .mjpeg so -c:v mjpeg is not enough cause I end up with sth. like .mov !

    "ffmpeg -i input.mov -c:v mjpeg -q:v 3 -huffman optimal -an output.mov"

    To view my files I use vlc player.

    I always end up with a .mjpeg file which has the length of 10 seconds and only shows the very first image of my 4000 pictures.

  • How to add delay to only one audio file in an mp4 file containing many language sounds with ffmpeg ?

    10 décembre 2023, par Mesut

    I have an mp4 movie file. It contains audio files of two different languages. Audio #0 and Audio #1. The codec of both sounds is AAC. Now I only want to give 2000ms delay to Audio #1 audio file. I do this with ffmpeg and add the delay successfully, the command I give below adds delay to both sounds. I only want to delay Audio #1. After doing this, I want to get an output containing all sounds and subtitles without re-encoding. I just couldn't achieve this. Does anyone know how I can do this ?

    


    ffmpeg -i "input_movie.mp4" -itsoffset 2000ms -i "input_movie.mp4" -map 1:v -map 0:a -map 0:s -c copy "Output_movie.mp4"
This command adds delay to all streams, I don't want that.

    


    ffmpeg -i "input_movie.mp4" -itsoffset 2000ms -i "input_movie.mp4" -map 1:v -map 0:a:1 -map 0:s -c copy "Output_movie.mp4"
In the command line above, this time it adds delay only to audio file #1, but this time it does not include other audio files in the output mp4 file.

    


  • Covert a file from mp4 to a file that HTML video tag can display

    26 juin 2019, par Trying_To_Understand

    I have a mp4 file and I want to display it in HTML. The problem is that it won’t, not only in HTML but also in my player. In VLC I can watch the video but there is no sound. Maybe the file is corrupted ?
    This is the output when I run ffmpeg -i my_file.mp4 :

    [h264 @ 000001b4afc61880] decode_slice_header error
    [h264 @ 000001b4afc61880] no frame!
    [h264 @ 000001b4afc61880] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 000001b4afc61880] decode_slice_header error
    [h264 @ 000001b4afc61880] no frame!
    Input #0, mpeg, from '150_2.mp4':
     Duration: 00:50:51.75, start: 13182.386222, bitrate: 983 kb/s
       Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x1c0]: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
    At least one output file must be specified.

    Can I convert this with ffmpeg to a good quality of video and audio ?