Recherche avancée

Médias (91)

Autres articles (73)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (9919)

  • x86/vf_v360 : make remap{1,2}_8bit_line_avx2 work on x86_32

    6 septembre 2019, par James Almer
    x86/vf_v360 : make remap1,2_8bit_line_avx2 work on x86_32
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavfilter/vf_v360.c
    • [DH] libavfilter/x86/vf_v360.asm
    • [DH] libavfilter/x86/vf_v360_init.c
  • Streaming to localhost using FFmpeg doesn't work

    16 février 2023, par jostanise

    I'm trying to stream my screen using FFmpeg, but I can't access it using VLC player - it keeps loading the stream and doesn't show anything.

    &#xA;

    The command I use :

    &#xA;

    ffmpeg -f gdigrab -s 1920x1080 -i desktop -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://localhost:1234&#xA;

    &#xA;

    The network URL I put in VLC :

    &#xA;

    udp://localhost:1234&#xA;

    &#xA;

    What am I doing wrong ?

    &#xA;

  • FFmpeg doesn't work in Rails 3 app with Apache and Passenger in GoDaddy CentOS

    29 décembre 2011, par pablo89

    I try to upload a .mp4 video file, and it works ; I made a Bash script that calls ffmpeg in order to get the thumbs of the video. It works fine in localhost, but when I uploaded the project to a dedicated server in GoDaddy with CentOS it doesn't work, it doesn't create the thumbnails, and it shows no error. The Rails App is running under Apache with Passenger. I have tried everything, even I gave 0777 permissions to the action and to the Bash script, but nothing, it doesn't show any error, but it doesn't work.

    This is the action in Rails (as you can see, I use the commands system and exec) :

    def create
     if !params[:video][:video].nil?
       videoName = params[:video][:video].original_filename.gsub(/\s/,&#39;_&#39;)
       @video = Video.new({:title => params[:video][:title], :video => "/worshipvideos/#{videoName}"})
     else
       @video = Video.new({:title => params[:video][:title]})
     end

     if !params[:video][:video].nil?
       tmp = params[:video][:video].tempfile
       file = File.join("public/worshipvideos", videoName)
       FileUtils.cp tmp.path, file
       FileUtils.rm tmp
     end

     respond_to do |format|
       if @video.save
         if !params[:video][:video].nil?
           logger.debug "./createVideoPics.sh &#39;#{videoName}&#39;"
           fork do
             system("./createVideoPics.sh &#39;#{videoName}&#39;")
             #exec("./createVideoPics.sh &#39;#{videoName}&#39;")
           end

           @video.update_attribute("pic1", "worship_pics/#{videoName}_1.jpg")
           @video.update_attribute("pic2", "worship_pics/#{videoName}_2.jpg")
           @video.update_attribute("pic3", "worship_pics/#{videoName}_3.jpg")
         end

         format.html { redirect_to @video, notice: &#39;Video was successfully created.&#39; }
         format.json { render json: @video, status: :created, location: @video }
       else
         format.html { render action: "new" }
         format.json { render json: @video.errors, status: :unprocessable_entity }
       end
     end
    end

    This is the script in Bash :

    #!/bin/bash
    chmod 0777 "public/worshipvideos/$1"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:20 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_1.jpg"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:40 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_2.jpg"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:01:00 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_3.jpg"
    echo "End of making thumbs"

    If I try to make the command in terminal ./createVideoPics.sh "abc.mp4" it works, it makes the thumbs ; it only doesn't work inside the Rails App.

    What do you think would be the problem ? thanks in advance