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 (5219)

  • ffmpeg getting Invalid UE golomb code when saving udp multicast to file

    30 août 2019, par Stuart

    I am using ffmpeg to capture a UDP multicast stream and save it to a file but I’m having an issue with an "Invalid UE golomb code"

    Command :

    ffmpeg -i "udp://238.0.0.1:1234" -c copy -f segment -segment_time 900 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 $datestamp.mp4 -report

    This works fine for around 3-5 minutes and then freezes without an errors or indication why, the only thing I think it could be is the following error is spammed in the log file ;

    Invalid UE golomb code-1.0 size=N/A time=00:00:09.97 bitrate=N/A

    The only other thing I can see is the following in the log file ;

    unknown SEI type 229

    If someone could point help me out here that would be great.

    Thanks.

  • segment time in ffmpeg c code

    10 mai 2018, par TraXxX

    I’m using remuxing.c

    I’m trying to add segment option to code like this :

    AVDictionary* headerOptions = NULL;
    av_dict_set(&headerOptions, "segment_time", "10", 0);
    avformat_write_header(&ofmt_ctx, &headerOptions);

    it’s not working

  • How I Can Run Some Part of the Code on another EC2 instance

    4 mai 2021, par Not A Bot —

    I have a NodeJS application running on an EC2 instance, which has some feature where users can record multiple videos.

    


    When the user logs out I am using (version 4.2.4) to combine all those videos into single a video.

    


    I am recording the video in WEBM format, and the final single video should be in MP4 format.

    


    Suppose the user has recorded 3 videos of 10 minutes each, then in last when the user logs out, all these 3 videos should be combined into the single video on length of 30 minutes.

    


    Now everything is working fine, but the CPU usage is high when all the conversation and concatenation are going around.

    


    CPU usage is sometimes as high as 60-70%

    


    The process I am following is

    


      

    1. Convert the webm file to the mp4 file.

      


      ffmpeg -i input_file.webm -c:v copy -c:a copy output_file.mp4


      


    2. 


    3. Convert MP4 to ts(Transport Stream) file.

      


       ffmpeg -i output_file.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts OUTPUT_MP4.ts


      


      I am following this process to concatenate all the mp4 files into one.

      


    4. 


    5. Concatenate files

      


      ffmpeg -i "concat:OUTPUT_MP4_1.ts|OUTPUT_MP4_2.ts|OUTPUT_MP4_3.ts" -c copy -bsf:a aac_adtstoasc FINAL_MP4_SINGLE_FILE.mp4


      


    6. 


    


    All this process is time-consuming(but not a priority), however, this process is taking CPU usage a lot.

    


    The server can crash or become slow if there are many users on my application and may video conversion is going on.

    


    Now, my question is how I can run this conversion process on the dedicated EC2 instance where only conversions can happen and not any other work, from the same code that is running on the first EC2 instance.