Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (78)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (13430)

  • How to convert captured video stream with two slice packet to transport stream with one slice packet using ffmpeg ?

    26 septembre 2019, par AnkurTank

    I have captured video frame from multi media device. Captured stream has two slice packets. For testing a use case I need to convert it to transport stream with one slice packet.

    Any suggestions/pointers ?

  • GoLive with facebook rtmps transport issue using ffmpeg

    12 septembre 2020, par General Omosco

    I am having an issue trying to figure out facebook rtmps Go Live suitable configuration for ffmpeg with below configuration without success !

    



    rtmpUrls = `[f=flv]rtmp://a.rtmp.youtube.com/live2/xxxxxxx|[f=flv]rtmps://live-api-s.facebook.com:443/rtmp/xxxxxxxx`;
    });

        this.ffmpeg = child_process.spawn('ffmpeg', [

          // FFmpeg reads the input from STDIN write
          '-i', '-',
           '-flags', '+global_header',
          '-vcodec', 'copy',

          // AAC audio is required for Facebook Live.
          '-acodec', 'libfdk_aac',
          //'-ab', '32k', 
          //'-ar', '44100',
          '-bsf:a', 'aac_adtstoasc',

          '-framerate', '60',
          '-g', '30',

          '-f', 'tee', 
          '-map', '0:v',
          '-map', '0:a',
          // The output RTMPs.
          rtmpUrls
        ]);


    



    I received this from facebook events log

    



    


    Facebook has not received video signal from the video source for some
 time. Check that the connectivity between the video source and
 Facebook is sufficient for the source resolution and bitrate. Check
 your video encoder logs for details. If problems persist, consider
 improving connection quality or reducing the bitrate of your video
 source.

    


    



    When i change the framerate from 60 to 30, it will flash a black blank screen trying to receive signal and then immediately go back to default page.
While youtube works flawlessly !

    



    This is the log coming ffmpeg, but the log also comes when with only youtube rtmp.
log

    


  • How to loop over gif file finite number of times while creating mp4 as output with ffmpeg

    16 mai 2020, par in-user

    I am able to convert gif file to mp4 using this command :

    



    ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4


    



    What I want to do is to loop over gif animation 3 times and convert to mp4.

    



    I am able to do this with 2 shell commands. First one from above and then concatenate the same video 3 times.

    



    ffmpeg -f concat -safe 0 -i <(printf "file '$PWD/video.mp4'\n%.0s" {1..3}) -c copy videoloop.mp4


    



    I have also tried with -ignore_loop 0 option and setting time. It does work but it is not exactly what I am trying to do since I can extend the video but can not make exactly 3 loops.

    



    ffmpeg -ignore_loop 0 -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -t 12 videoloop.mp4


    



    So as you can see I am already able to achieve what I want, but with 2 shell commands :

    



    ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4
ffmpeg -f concat -safe 0 -i <(printf "file '$PWD/video.mp4'\n%.0s" {1..3}) -c copy videoloop.mp4


    



    Is it possible to do this with only one call to ffmpeg ?

    



    I tried with -loop option for the input file. It doesn't work for gifs. I also tried with -stream_loop. It creates something corrupted.